Poller zombies
Moderators: Developers, Moderators
Poller zombies
Hello, I'm running Cacti 0.8.8b on Windows Server 2008. Recently Cacti started to create zombie proccesses. It's able to create over 100 zombie proccesses. Proccess name was php.exe and command was "php -q cmd.php 0 42". I have tried change poller to Spine, but different is only in proccess name "sh.exe". Cacti stopped with collecting data except a few devices. I have added 24 devices and only 6 are ok. Do you have any idea where could be the problem? Thank you
Re: Poller zombies
1) upgrade to the latest cacti. lots of bug/security fixes.
2) how many custom scripts are you running? Typically there is one misbehaving which is causing the poller to stay hanging open as it doesnt not gracefully close.
2) how many custom scripts are you running? Typically there is one misbehaving which is causing the poller to stay hanging open as it doesnt not gracefully close.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Poller zombies
I use two scripts. One is from this forum and second is mine. My script is very simple written in php, just get snmp value and edit it to better format. In snmpget function I use timeout.
I upgraded to the newest version so I'll check behavior now. But I'm getting access denied error when I try to use web based authentication (I used it with older version and it worked). I use IIS.
I upgraded to the newest version so I'll check behavior now. But I'm getting access denied error when I try to use web based authentication (I used it with older version and it worked). I use IIS.
Re: Poller zombies
php script doing snmp? I would highly recommend updating it to use the Cacti PHP Script server - http://docs.cacti.net/manual:088:3a_adv ... ipt_server in addition to using the native cacti snmp functions for efficiency.
what does the 2nd script do? If poorly written and doesnt include a timeout or self terminate, that could be the likely cause if the zombie procs. Possibly Sysinternals Process Explorer will show you what those are doing and/or running for further debug this problem.
Specifically what/where are you getting the access denied errors? Certain your user account has access?
what does the 2nd script do? If poorly written and doesnt include a timeout or self terminate, that could be the likely cause if the zombie procs. Possibly Sysinternals Process Explorer will show you what those are doing and/or running for further debug this problem.
Specifically what/where are you getting the access denied errors? Certain your user account has access?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Poller zombies
Yes, php script which gets the value by snmp. It gets time in seconds when the self test on UPS started. I need to have # days from last self test. So I do some counts to get my value. I'm not able to get this value by snmp itself. I'll try script server, but from last update to 0.8.8f I have no zombie proccess.
Second script is this one: http://forums.cacti.net/viewtopic.php?f=12&t=35907
I'm getting access denied error when I type <server>/cacti to my browser. It worked with the older version. I have added all users. All users have access, I didn't change anything from upgrade.
Edit: I tried to recreate user and now web basic works. So it seems it's solved.
Second script is this one: http://forums.cacti.net/viewtopic.php?f=12&t=35907
I'm getting access denied error when I type <server>/cacti to my browser. It worked with the older version. I have added all users. All users have access, I didn't change anything from upgrade.
Edit: I tried to recreate user and now web basic works. So it seems it's solved.
Who is online
Users browsing this forum: No registered users and 2 guests