<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Dennis,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 28, 2015, at 7:00 AM, Dennis Jacobfeuerborn <<a href="mailto:dennisml@conversis.de" class="">dennisml@conversis.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Hi,<br class="">it seems collectd is suffering from a memory leak as on some of my<br class="">systems the process has ballooned to 800+MB.<br class="">I found a reference to a write_graphite leak here:<br class=""><a href="https://github.com/collectd/collectd/issues/359" class="">https://github.com/collectd/collectd/issues/359</a><br class=""><br class="">Has this been resolved in a release? What is the recommended way to get<br class="">around this issue?<br class=""></div></blockquote><div><br class=""></div><div>We've got a change-to-be-tested for this issue that, well, still needs to be tested.</div><div>The basic idea is to change the write_graphite backlog to a circular buffer and</div><div>cap its size. If you'd like to volunteer to test, the changes are available in the</div><div>'circular-buffer' branch at:</div><div><a href="https://github.com/Coraid/coraid-collectd/tree/circular-buffer" class="">https://github.com/Coraid/coraid-collectd/tree/circular-buffer</a></div><div><br class=""></div><div>more specifically:</div><div><a href="https://github.com/Coraid/coraid-collectd/commits/circular-buffer/src/daemon" class="">https://github.com/Coraid/coraid-collectd/commits/circular-buffer/src/daemon</a></div><div><br class=""></div><div>Note: many of the agents we use collect derive-type information, so it is fine</div><div>to keep just the most recent. Other use cases might have different requirements,</div><div>but in any case it isn't worth running out of memory.</div><div> -- richard</div><div><br class=""></div></div></div></body></html>