-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
TLS listener source causes memory leak #1767
Comments
Thanks for the report. |
I checked the behaviour and it is caused by fluentd/lib/fluent/plugin_helper/server.rb Line 668 in 363b1af
For example, I commented out this line and memory usage becomes low. We will work on this issue later. |
In |
nurse suggests using |
I investigated the problem and it seems the memory fragmentation causes it. |
I tested it with fluent/fluentd:v1.0.2-debian, but it was reproduced.
|
I'm continue to investigate this problem. |
I walked into something looking a lot like this in td-agent 3.2.0 on debian stretch:
|
This problem seems to have been fixed with #2087 thank you! |
Description
Forward source listener with TLS causes memory leak when TCP connection closed by FIN.
Some healthcheck system (for example: AWS NLB) use TCP check, so
memory leaks occur frequently.
This problem does not occur with normal(not TLS) listener.
Config
Fluentd 0.14.24 (Docker fluent/fluentd:edge)
Leak
reproduction command:
nping -rate 30 -c 1000 --tcp-connect localhost -p 24228
(With this command, Fin is sent at the last)
Not leak
nping -rate 30 -c 1000 --tcp localhost -p 24228
Similar issue
#1678
(comment in Japanese)
https://twitter.com/bungoume/status/935780821515956225
The text was updated successfully, but these errors were encountered: