[collectd] [re-PATCH 2/2] Fixes memory leak when writing to unixsocket fails

Peter Warasin peter at endian.com
Mon Feb 8 22:00:32 CET 2010


Hi,

ok, the flush memory leak was my fault.

I attach a substitute for patch 2, which fixes garbage collector
registration for plugins and identifiers variables within utils_cmd_flush.c

Flush stress-test with toggled off rrdplugin seems stable now.
With rrdplugin toggled on, I still see the process growing a bit, but
way slower than before.
I will stress-test over night with rrdplugin on.

kind regards,
peter

-- 
:: e n d i a n
:: open source - open minds

:: peter warasin
:: http://www.endian.com   :: peter at endian.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-4.9.1-unixsocket-memory-leak.patch
Type: text/x-patch
Size: 21645 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20100208/2268a7a3/attachment.bin 


More information about the collectd mailing list