Skip to content
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

grpc 1.9.0 memory leak when enabling max idle filter #14447

Closed
abaldeva opened this issue Feb 16, 2018 · 1 comment
Closed

grpc 1.9.0 memory leak when enabling max idle filter #14447

abaldeva opened this issue Feb 16, 2018 · 1 comment

Comments

@abaldeva
Copy link

What version of gRPC and what language are you using?

1.9.0-C++

What operating system (Linux, Windows, …) and version?

Windows, Linux

What did you do?

Set GRPC_ARG_MAX_CONNECTION_IDLE_MS to 2 minutes

What did you expect to see?

Option to work as expected without causing a memory leak.

What did you see instead?

Huge memory leak observed. Log attached.

Anything else we should know about your project / environment?

On server, one thread to process completion queue and another thread to handle the events. From client, bombard the server with few different rpcs. When the option is not enabled, no memory leak is observed. When the option is enabled, I lose about 4 mb per second.
memory_leak.txt

@y-zeng
Copy link
Contributor

y-zeng commented Feb 23, 2018

@abaldeva I've created #14501 to fix the leak. Could you please also verify the fix with your server. Thanks!

@srini100 srini100 closed this as completed Mar 9, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Sep 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants