I've found an issue when cacti poller runs during more than 60 seconds.
I'm using debian 6.0 and cacti 8.8a.
fgrep -B 1 terminated /var/log/cacti/poller-error.log
Usually, the "poller is terminated by user" when more than 60 seconds elapsed.
Code: Select all
OK u:0.08 s:0.20 r:59.85
01/31/2013 10:01:04 PM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
--
[...]
--
01/31/2013 10:36:02 PM - SYSTEM STATS: Time:60.2986 Method:spine Processes:8 Threads:20 Hosts:118 HostsPerProcess:15 DataSources:18110 RRDsProcessed:4443
01/31/2013 10:36:03 PM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
--
OK u:0.04 s:0.03 r:56.10
01/31/2013 10:41:05 PM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
--
OK u:0.12 s:0.23 r:61.03
01/31/2013 10:46:03 PM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
--
OK u:0.09 s:0.19 r:60.25
01/31/2013 10:51:02 PM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
--
OK u:0.18 s:0.33 r:59.04
01/31/2013 10:56:02 PM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
--
[...]
--
OK u:0.10 s:0.78 r:60.26
02/01/2013 01:31:03 AM - CMDPHP: Poller[0] WARNING: Cacti Master Poller process terminated by user
--
When there are no manteinance deletes, I can reproduce the same problem by inserting a sleep(56) on poller.php at line 400 before rrd_close($rrdtool_pipe);
if I add the same sleep at spine.c, spine and poller.php finish OK, but not when sleep is added to poller.php
Any suggestions??
Thanks.