[collectd] Memoy leak advice

Daniel Rowe lists at fathom13.com
Wed Jan 23 14:17:07 CET 2008


I enabled the logging and corrected any errors, mainly plugins that
where not working. There are no errors being dumped to syslog now and it
is still leaking memory. If I watch it with top a few bytes leak away
every few seconds.

After running for just 11 hours it is using 11% of my memory which is

root     30625  1.3 11.0 644520 449920 ?       Ssl  07:54
8:26 /opt/collectd/sbin/collectd -C /opt/collectd/etc/collectd.conf

I'm pretty sure it has a memory leak. What can I do to help track it


On Tue, 2008-01-22 at 09:29 +0100, Sebastian Harl wrote: 
> Hi Daniel,
> On Tue, Jan 22, 2008 at 08:03:48AM +0900, Daniel Rowe wrote:
> > I do notice I did have an error in the config file. I had the apache
> > plugin enabled and I was not using it. I have disabled this below and
> > will see.
> The apache plugin should basically do nothing if you did not configure it. Did
> you uncomment the "Plugin apache" section as well? 
> Please enable the logfile or syslog plugin and check for any error messages.
> It might be useful to set the debug level to "info" (or even "debug" if you
> compiled collectd with debugging support).
> Cheers,
> Sebastian

More information about the collectd mailing list