Hi Kimo, On Mon, Aug 16, 2010 at 10:00:38AM -0700, Kimo Rosenbaum wrote: > Over the course of a couple days active memory slowly increases and > eventually swap starts getting used. Restarting the collectd instance > relieves memory pressure and everything is fine for a few more days.
I've observed a similar memory growth on very busy boxes but so far was unable to track down an error in collectd. When I noticed that some network packets were dropped, I raised the receive buffer size (and limit) using sysctl. Strangely enough, this stopped not only packets being dropped, but also the memory growth. I still have to find an explanation as to why. The applicable keys are: net.core.rmem_default net.core.rmem_max At least under Debian you can set them persistently (so the setting will survive a reboot) by adding the keys to the /etc/sysctl.conf configuration file. It'd be awesome if you could give it a shot and give me some feedback if you observer any changes. Also, your exact kernel version would be interesting. Regards, --octo -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http://verplant.org/
signature.asc
Description: Digital signature
_______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
