[collectd] Segfault with python plugin

Giorgio Lansing giorgio.lansing at gmail.com
Sat May 15 23:40:54 CEST 2010


Hello,
I'm using collectd-4.10.0 on Ubuntu 9.10 64-bit with python 2.6.4rc2. My
python plugins seem to be working fine and collect data successfully, but
when I checked the logs I noticed that segfaults were occurring frequently
and collectd was restarting every 5 minutes.

Here is a snippet from my syslog:
May 15 20:06:35 localhost kernel: collectd[5779]: segfault at 9 ip
00007f030d0f1bc0 sp 00007f03057adf48 error 4 in
libpython2.6.so.1.0[7f030cfd4000+233000]
May 15 20:06:35 localhost collectdmon[19184]: Warning: collectd was
terminated by signal 11
May 15 20:06:35 localhost collectdmon[19184]: Warning: restarting collectd
May 15 20:06:35 localhost collectd[6096]: Initialization complete, entering
read-loop.
May 15 20:06:35 localhost collectd[6096]: rrdtool plugin: rrd_update_r
(localhost/cpu-0/cpu-user.rrd) failed: localhost/cpu-0/cpu-user.rrd: illegal
attempt to update using time 1273953995 when last update time is 1273953995
(minimum one second step)
May 15 20:06:35 localhost collectd[6096]: rrdtool plugin: rrd_update_r
(localhost/memory/memory-buffered.rrd) failed:
localhost/memory/memory-buffered.rrd: illegal attempt to update using time
1273953995 when last update time is 1273953995 (minimum one second step)
May 15 20:06:35 localhost collectd[6096]: rrdtool plugin: rrd_update_r
(localhost/memory/memory-cached.rrd) failed:
localhost/memory/memory-cached.rrd: illegal attempt to update using time
1273953995 when last update time is 1273953995 (minimum one second step)
...

Is there a way to fix this? This seems to happen with every python plugin
I've tried including the sample one in the docs.

Thanks,
Giorgio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20100515/7695d357/attachment.htm 


More information about the collectd mailing list