New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbounded memory allocation in intranode RPC server if using TLS #3757

Closed
avikivity opened this Issue Sep 7, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@avikivity
Contributor

avikivity commented Sep 7, 2018

The non-TLS RPC server has an rpc::resource_limits configuration that limits its memory consumption, but the TLS server does not. That means a many-node TLS configuration can OOM if all nodes gang up on a single replica.

avikivity added a commit that referenced this issue Sep 17, 2018

messaging: fix unbounded allocation in TLS RPC server
The non-TLS RPC server has an rpc::resource_limits configuration that limits
its memory consumption, but the TLS server does not. That means a many-node
TLS configuration can OOM if all nodes gang up on a single replica.

Fix by passing the limits to the TLS server too.

Fixes #3757.
Message-Id: <20180907192607.19802-1-avi@scylladb.com>

(cherry picked from commit 4553238)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment