When the poller i run, it basically hangs until it's killed because of timeout.
The following is the output from debug:
I looked through the poller.php script and I can only see one thing that looks strange (maybe) there:05/03/2005 02:40:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/cacti/cmd.php 0 38]
05/03/2005 02:40:01 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
05/03/2005 02:40:01 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /
05/03/2005 02:40:01 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/localhost/htdocs/cacti
05/03/2005 02:40:01 PM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/localhost/htdocs/cacti/script_server.php
05/03/2005 02:40:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
05/03/2005 02:40:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
05/03/2005 02:40:01 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
05/03/2005 02:44:57 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
Near the top it truncates the poller_time table:
- // Initialize poller_time and poller_output tables
db_execute("truncate table poller_time");
- while (1) {
$polling_items = db_fetch_assoc("select poller_id,end_time from poller_time where poller_id = 0");
if (sizeof($polling_items) == $process_file_number) {
cacti version: 0.8.6d
Any suggestions would be very much appreciated.
Hans-Christian