[collectd] Memoy leak advice
octo at verplant.org
Thu Jan 24 14:55:11 CET 2008
On Thu, Jan 24, 2008 at 10:16:50PM +0900, Daniel Rowe wrote:
> # Config file for collectd(1).
I'm using all the plugins you have loaded now myself, except the ntpd
plugin. I'll run a test with it for an hour or two and see if I can
reproduce a memory leak.
> With valgrind:
Sorry, but what you've posted is only summary: It clearly shows that
theres quite a bunch of memory lost/leaked, but it doesn't say where.
Could you please re-run the daemon with valgrind and the
`--leak-check=full' option set? If the entire output is too big for the
mailing list (there's a 40kByte limit) please put it on a web server
somewhere and post a link to it or send it to me directory if you don't
have access to some public storage.
P. S.: First results don't seem like I'm able to reproduce the memory
leak using the ntpd plugin:
-- 8< --
octo at leeloo:~ $ while true
> echo -n "`date`: "
> cat /proc/31056/statm | cut -d ' ' -f 2
> sleep 60
Thu Jan 24 14:45:43 CET 2008: 240
Thu Jan 24 14:46:43 CET 2008: 240
Thu Jan 24 14:47:43 CET 2008: 240
Thu Jan 24 14:48:43 CET 2008: 240
Thu Jan 24 14:49:43 CET 2008: 240
Thu Jan 24 14:50:43 CET 2008: 240
-- >8 --
Florian octo Forster
Hacker in training
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080124/723da4b8/attachment.pgp
More information about the collectd