Im creating this new thread since the old one i was using(/hijacking) seems to have some other problem than mine, similar maybe.
Im getting Script Server timeouts :/ Im running TheWitness' edited debug-script_server.php (its in SVN), but not getting any output. Running mysql -e "show processlist" prints out some sleeping NULL processes, but i cant say im too worried about them (TheWitness' shell-script for listing slow queries didnt print out anything (just blinking commands occasionally)).
Using this:
Code: Select all
*Cacti+spine 0.8.7e(both patched), PA 2.5(the working one), weathermap 0.96a, realtime 0.4, aggregate 0.71, spikekill 1.0, boost 2.5-1(on a 3GB ramdisk).
*Apache/2.2.13 (FreeBSD) mod_ssl/2.2.13 OpenSSL/0.9.8k DAV/2 PHP/5.2.11 with Suhosin-Patch
*FreeBSD cacti.sr.se 8.0-RC2 FreeBSD 8.0-RC2 #0: Tue Oct 27 09:34:47 CET 2009 user@host:/usr/obj/usr/src/sys/GENERIC amd64
* rrdtool --version
RRDtool 1.3.8
* php --version
PHP 5.2.11 with Suhosin-Patch 0.9.7 (cli) (built: Nov 2 2009 09:58:40) (patched because of broken sockets)
* mysql --version
mysql Ver 14.12 Distrib 5.0.86, for portbld-freebsd8.0 (amd64) using 5.2
16GB RAM (1x3GB-ramdisk for MySQL database)
1x300GB RAID5 for all files
Oh yeah, not only getting the warning, sometimes these others too:
Code: Select all
10/08/2009 03:08:00 AM - SPINE: Poller[0] ERROR: SS[0] An invalid file descriptor was given in one of the sets.
10/08/2009 03:08:00 AM - SPINE: Poller[0] ERROR: Spine Timed Out While Processing Hosts Internal
10/08/2009 03:07:30 AM - SPINE: Poller[0] WARNING: SS[0] The PHP Script Server did not respond in time and will therefore be restarted
I ran cacti in DEBUG-logging (output is attached), but the only link i found was that the script we mostly use (Eric Halls Cisco CPU usage script) that was being run in the script-server returned a "U" or "0", all other results where numerical and non-false. I quickly checked his script, but with my limited PHP-skills i couldnt see anything unusual.