[collectd] Possible memory leak in python plugin?

Sven Trenkel collectd at semidefinite.de
Mon Jan 16 00:09:50 CET 2012


What version of collectd are you using?
And until we find the cause of this behavior you might try to pull the 
constant parts of the submitted value out of the for loop. So,

v = collectd.Values()
v.plugin = 'mongostats'
v.type = 'counter'

could be put before the loop as it's just creating and destroying the 
same objects over and over again. This might or might not make the 
memory leak slower.



More information about the collectd mailing list