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
Maybe there exsist a unknown memory leak #2033
Comments
@octo after I change the config as below:
And I restart the collectd, the collectd.ps_rss become stable all the time. On the other side, I add DEBUG() after malloc/calloc/realloc function, and I find no memory malloc/calloc/realloc be called when the collectd.ps_rss increase. So strange. |
Thanks for the update @dllhlx! Reproducing this issue has proven difficult and this way we can focus on the difference in the config. |
@octo there is a graph show the memory changed clear as below: |
update: |
Another leak reported by valgrind after ran cmd
As description abow, there are three leak, but I am not sure this leak report - |
@dllhlx any chance you can reproduce this on a recent version of collectd? We fixed a lot of leaks since 5.4. If you need binary packages for centos 6, we have them at https://github.com/collectd/collectd-ci |
@dllhlx ping? |
@rubenk sorry so late to feedback. I will test collectd-5.7 some time later, then any change will feedback. |
Closing stale issue. |
Expected behavior
collectd's ps_rss is stable at the running time
Actual behavior
several machine's processes-collectd.ps_rss is gradually increased in the last 12 hours, the graphite picture as below:
Form the graph, we can see the memory leak although is small but can not be ignored.
Steps to reproduce
collectd's configure is:
The text was updated successfully, but these errors were encountered: