So I started debugging and quickly spotted this in my cacti.log:
Code: Select all
POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
Code: Select all
Waiting on 1 of 1 pollers.
At line 368, I spotted where the poller checks if other pollers still run, so I added my debug here
Code: Select all
$rrds_processed = 0;
while (1) {
$finished_processes = db_fetch_cell("SELECT count(*) FROM poller_time WHERE poller_id=0 AND end_time>'0000-00-00 00:00:00'");
print "Finished: " . $finished_processes . " - Started: " . $started_processes . "\n";
if ($finished_processes >= $started_processes) {
$rrds_processed = $rrds_processed + process_poller_output($rrdtool_pipe, TRUE);
log_cacti_stats($loop_start, $method, $concurrent_processes, $max_threads,
Code: Select all
Finished: 0 - Started: 1
Waiting on 1 of 1 pollers.
Finished: 1 - Started: 1
But when it starts looping the message, the output changes:
Code: Select all
Finished: - Started: 1
Waiting on 1 of 1 pollers.
Code: Select all
NULL
Finished: - Started: 1
Waiting on 1 of 1 pollers.
So, what's going on? Is this a known issue with the outdated Debian package?