Cactid Errors [NOT solved]
Moderators: Developers, Moderators
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Cactid Errors [NOT solved]
CACTID: Poller[0] Host[63] ERROR: The POPEN timed out
and
CACTID: Poller[0] ERROR: SS[999] Script Server did not start properly return message was: 'U'
and
10 [unknown (0xD88)] cactid 3168 sig_send: wait for sig_complete event failed, signal -34, rc 258, Win32 error 0
Server: Cacti 0.8.6j |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19| BOOST 1.3 | Cactid 0.8.6j|
and
CACTID: Poller[0] ERROR: SS[999] Script Server did not start properly return message was: 'U'
and
10 [unknown (0xD88)] cactid 3168 sig_send: wait for sig_complete event failed, signal -34, rc 258, Win32 error 0
Server: Cacti 0.8.6j |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19| BOOST 1.3 | Cactid 0.8.6j|
Last edited by Cacti Jack on Mon Jun 04, 2007 9:21 am, edited 5 times in total.
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Also
A bigger problem is sometimes my poller completes in 30 seconds, other times it does not; often leaving running many cactid.exe, php.exe, and an sh.exe process running that do not end. At the next poll cycle more procs are added and eventually the server is overloaded from out of control process load.
This is causing my poller to hang, and gaps to appear in my graphs ... It's quite a mess.
This is causing my poller to hang, and gaps to appear in my graphs ... It's quite a mess.
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
memory_limit = 256Mgandalf wrote:You already paid attention to the php memory settings?
Reinhard
Last edited by Cacti Jack on Fri Jun 01, 2007 10:22 am, edited 1 time in total.
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Re: Also
I had exactly the same problem. For me, the poller would hang more often than not, with runaway sh.exe and cactid.exe processes. In the end, I went for cactid version G, which does not use sh.exe.Cacti Jack wrote:A bigger problem is sometimes my poller completes in 30 seconds, other times it does not; often leaving running many cactid.exe, php.exe, and an sh.exe process running that do not end. At the next poll cycle more procs are added and eventually the server is overloaded from out of control process load.
This is causing my poller to hang, and gaps to appear in my graphs ... It's quite a mess.
This solved the problem of the poller hanging, although it takes about 5 or 6 seconds before data begins to be collected. All of the MIBS are present, and I'm not using MIBS=All. If I could reduce this delay, or prevent it fully, my poller would probably complete in about 20 seconds or less.
Just noticed that you are using PHP 5.2.2. Have you replaced the libmysql.dll with one from PHP 5.2.0, as this is a known bug - see http://bugs.php.net/bug.php?id=41350
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Re: Also
I tried version g of cactid; but there is no change.mcutting wrote: I had exactly the same problem. For me, the poller would hang more often than not, with runaway sh.exe and cactid.exe processes. In the end, I went for cactid version G, which does not use sh.exe.
yes i was using the 5.2.0 library. Just to test if it's related to my version of PHP; I've sent reverted my php back to 5.2.0; and still the same issue happens.mcutting wrote:Just noticed that you are using PHP 5.2.2. Have you replaced the libmysql.dll with one from PHP 5.2.0, as this is a known bug - see http://bugs.php.net/bug.php?id=41350
Last edited by Cacti Jack on Fri Jun 01, 2007 10:22 am, edited 1 time in total.
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
I am calling the poller.php file.mcutting wrote:When you say a debug poll from the command line, are you calling poller.php or CACTID.exe directly ?
Last edited by Cacti Jack on Fri Jun 01, 2007 10:23 am, edited 1 time in total.
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Currently I am trying a process of elimination to solve this issue;
I first disabled every host I had, and ran the poller; it ran and worked polling no hosts, reporting the expected stats, and ending correctly.
I then proceeded slowly to add groups of hosts of slowly; and run the poller to see if it completed.
While doing this I did notice one thing;
(using 1 thread) in the window I start the poller it finishes and reports the stats; however the spawned new window it crates (named cactiplus) takes good 90 seconds to close after the poll has reported it has ran, while this is going on a rrdtool.exe process remains running and the window outputs a series of OKs, along with many ERRORs about expecting 4 datasources, got 1, etc.
Should I be concerned?
I first disabled every host I had, and ran the poller; it ran and worked polling no hosts, reporting the expected stats, and ending correctly.
I then proceeded slowly to add groups of hosts of slowly; and run the poller to see if it completed.
While doing this I did notice one thing;
(using 1 thread) in the window I start the poller it finishes and reports the stats; however the spawned new window it crates (named cactiplus) takes good 90 seconds to close after the poll has reported it has ran, while this is going on a rrdtool.exe process remains running and the window outputs a series of OKs, along with many ERRORs about expecting 4 datasources, got 1, etc.
Should I be concerned?
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
The more I run the poller; the more I've noticed my poller freezes at different places each time.
So something happens that causes the poller to hang, but I'm not sure what it is.
seems to happen on both cmd.php and cactid...
so maybe it's PHP related; what is considered the most stable php release for windows? what are some suggested php.ini settings I should validate/try?
So something happens that causes the poller to hang, but I'm not sure what it is.
seems to happen on both cmd.php and cactid...
so maybe it's PHP related; what is considered the most stable php release for windows? what are some suggested php.ini settings I should validate/try?
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Eh..
No matter what I change, cactid continues to crash with the following error at random times.
1401784 [unknown (0x1160)] cactid 5688 sig_send: wait for sig_complete event failed, signal -34, rc 258, Win32 error 0
No matter what I change, cactid continues to crash with the following error at random times.
1401784 [unknown (0x1160)] cactid 5688 sig_send: wait for sig_complete event failed, signal -34, rc 258, Win32 error 0
|Server: Cacti 0.8.7 |Win 2003 MySQL 5.0.37| PHP 5.2.2 | RRDtool 1.2.19 | Spine 0.8.7a|
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Cacti Jack,
Cygwin is somewhat, err, very problematic. I would suggest you do the following:
1) Install Cygwin from the distribution
2) Download the SVN Branch 0.8.6 of Cactid
3) Read the Windows make instructions
4) Perform the make. This requires you to make MySQL and Net-SNMP 5.1.x, no higher.
5) Install it use that version without any sh.exe or DLL's in your binary directory.
Post feedback once done.
TheWitness
Cygwin is somewhat, err, very problematic. I would suggest you do the following:
1) Install Cygwin from the distribution
2) Download the SVN Branch 0.8.6 of Cactid
3) Read the Windows make instructions
4) Perform the make. This requires you to make MySQL and Net-SNMP 5.1.x, no higher.
5) Install it use that version without any sh.exe or DLL's in your binary directory.
Post feedback once done.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 36
- Joined: Wed Mar 21, 2007 11:14 am
Who is online
Users browsing this forum: No registered users and 3 guests