Help!!!!!
for some odd reason, my cacti scripts are not properly exiting!
the scripts run, execute, but dont seem to exit, so my processes go from the average of 79 and slowly raise to as high as 1200!!!
i created a shell script to kill php, perl, awk and sh, and it will bring the number back down to the low 80s.
why are these processes not exiting properly??! any suggestions, because its killing my systems memory! because this happens, cacti stops graphing, and sometimes stops reporting, until i ssh and run the shell script to kill the procs..
Thanks!!
http://kickinitwitmilhouse.no-ip.com/ca ... h_view.php its in the Servers section..
Help!! Runaway processes from cacti scripts!!
Moderators: Developers, Moderators
-
- Posts: 32
- Joined: Thu Aug 15, 2002 10:29 am
- Location: ct
- Contact:
I noticed very similar behaviour on my system. In my case default ping.pl was source of the problem. If you still use it (it's turned on by default, you may have graph removed but still active data source) try to change to newer version that does not use awk:
http://www.raxnet.net/board/viewtopic.php?t=773
- bulek
http://www.raxnet.net/board/viewtopic.php?t=773
- bulek
-
- Posts: 32
- Joined: Thu Aug 15, 2002 10:29 am
- Location: ct
- Contact:
thank you bulek, i changed, so lets see how it works!
i hope that thats the case, however, php, perl and sh still stay on the system
awk may stop, but what about the others?! there will still be dozens of php and dozens of perl processes still there..
by the way, when i ran 'top", it shows that they arent currently running, and their "Time" field shows 0.02, so they stopped, but are still running processes? i dunno..
i hope that thats the case, however, php, perl and sh still stay on the system
awk may stop, but what about the others?! there will still be dozens of php and dozens of perl processes still there..
by the way, when i ran 'top", it shows that they arent currently running, and their "Time" field shows 0.02, so they stopped, but are still running processes? i dunno..
-
- Posts: 32
- Joined: Thu Aug 15, 2002 10:29 am
- Location: ct
- Contact:
ok.. right now, i have 93 processes running.. i looked at the log, and it shows 2:51pm, then a jump to 3:50pm when all the scripts executed. I ran cmd.php, and got:
PHP fatal error: Unable to start session mm module in Unknown on line 0
i read up on this before.. http://www.raxnet.net/board/viewtopic.p ... =processes i use that script to help the semaphores, but its not working.. somehow something is killng my system i have.. grrr...
PHP fatal error: Unable to start session mm module in Unknown on line 0
i read up on this before.. http://www.raxnet.net/board/viewtopic.p ... =processes i use that script to help the semaphores, but its not working.. somehow something is killng my system i have.. grrr...
Who is online
Users browsing this forum: No registered users and 1 guest