-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
HTTP pipelining causes resource leak #30801
Labels
>bug
:Distributed Coordination/Network
Http and internode communication implementations
v7.0.0-beta1
Comments
danielmitterdorfer
added
>bug
:Distributed Coordination/Network
Http and internode communication implementations
v7.0.0
labels
May 23, 2018
Pinging @elastic/es-core-infra |
Tim-Brooks
added a commit
to Tim-Brooks/elasticsearch
that referenced
this issue
May 23, 2018
This is related to elastic#30801. When we calling the http pipelining aggregator on an inbound request, we retain the netty request. However, this is unnecessary as the pipelining aggregator does not store the request. This worked in the past as we manually release the request and netty internally automatically releases the request. At this point we do not implement the ref counter interface after the pipelining step which means that netty is no longer automatically handling this second retain. This commit removes that retain.
Is this issue still open ? Or with the patches submitted, this got closed? |
I believe it is fixed. But I think we should wait until the nightly benchmarks run to be sure. |
Closed by #30820 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
:Distributed Coordination/Network
Http and internode communication implementations
v7.0.0-beta1
Elasticsearch version: 7.0.0-alpha1-SNAPSHOT (distribution flavor OSS), commit 31251c9
Description of the problem including expected versus actual behavior:
Elasticsearch dies with OOME in our benchmarks. This is caused by a resource leak on the network layer.
Steps to reproduce:
Run the following benchmark with Rally (it will build the right revision of Elasticsearch already):
After a few minutes (about 17%) into the benchmark, Elasticsearch will die with an OOME.
Provide logs (if relevant):
In the logs we see:
If we start Elasticsearch with
-Dio.netty.leakDetection.level=advanced
we get:Click arrow for details
Can you please have a look at this @tbrooks8?
The text was updated successfully, but these errors were encountered: