Cactid does not close

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
thisted
Cacti User
Posts: 69
Joined: Fri Apr 15, 2005 10:11 am
Location: Bay City, MI
Contact:

Cactid does not close

Post by thisted »

For the last couple days I have been getting gaps in my graphs due to cactid not closing. The window just stops processing. I have my timeout value set to 13 seconds to allow for some WMI collecting that I'm doing. Any idea why this is occuring? The other day when i got back to work I had approx. 30 cactid windows that were just hung and my running processes jumped to nearly 300.

Also, when Cactid is running my CPU is usually maxed. Is that normal behavior?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) what versions of everythig are you using?
2) Make sure you're using cactid 0.8.6g
3) Yes, the WMI scripts could cause cactid to hang...
4) Yes, it is normal for your cpu usage to spike with cactid.
User avatar
thisted
Cacti User
Posts: 69
Joined: Fri Apr 15, 2005 10:11 am
Location: Bay City, MI
Contact:

Post by thisted »

Cacti Version 0.8.6h
Cactid version 0.8.6g
Whatever Cygwin that comes with latest cactid
apache http server 2.0.53 for windows

If a script hangs for a longer time than the defined timeout shouldn't it just skip to the next script or snmp-get or whatever is next?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

There is no max exucution time for non-snmp scripts. Do the following and look in the log around where cactid hangs

Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the actual log file (./cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests