-
Notifications
You must be signed in to change notification settings - Fork 782
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
Netty reports LEAK while using reactor (Rsocket) with Sleuth #2256
Comments
Hey @OlegDokuka I thought we fixed this. Do you recall this problem? |
Any update regarding this issue. We encounter the same issue in out prod environment |
@marcingrzejszczak, looking into
I see that the allocated bytebuf is unused anywhere. Thus, it is the main reason of the leak. |
should be fixed with #2262 |
thanks @OlegDokuka and @marcingrzejszczak for quick fix 💯 |
Describe the bug
While using spring cloud sleuth with Rsocket I am getting Netty memory leak errors. If I make sleuth disabled - there are no leak errors reported. Seems the leak source is something along those lines
Similar bug which was closed before: #2102
Versions:
Details
Here is the more detailed logs from netty:
Sample
sleuth-memory-leak-main.zip or from github https://github.com/progys/sleuth-memory-leak
To run this app extract it and go to content dir of extracted and execute:
mvnw test
Observe that test ran and finished successfully, but log contains Netty leak reports:
Now go to
src/main/resources/application.yml
and disable sleuth completely by setting config value to false:Re-run same command
mvnw test
and observe that log does not contain any Netty leak reports:The text was updated successfully, but these errors were encountered: