![]() |
High load on ispcp server - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: High load on ispcp server (/thread-1103.html) |
RE: High load on ispcp server - macbishop - 01-27-2008 08:07 AM psygarden Wrote:According to this changelog that bug has been fixed in php 5.2.5 The bug was fixed in 5.2.2 version (03-May-2007) Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed). (Dmitry) RE: High load on ispcp server - psygarden - 01-27-2008 09:21 AM macbishop Wrote:psygarden Wrote:According to this changelog that bug has been fixed in php 5.2.5 upgrading from php 5.2.0 to 5.2.5 has this result on my cpu loads: [attachment=294] The last bit of the graph shows the cpu usage while the server is under a normal load with all sites active. So it turns out that all that one needs to do on a debian system is update the /etc/apt/sources.list to include the "testing" versions of php5 Quote:#Old sources that came with the default install of my hosting company: Then run #apt-get update and #apt-get upgrade After installation is complete you can kill all the stuck child processes using php4: Quote:/usr/bin/killall -HUP php-cgi php5: Quote:/usr/bin/killall -HUP php5-cgi RE: High load on ispcp server - rbtux - 01-28-2008 12:58 AM you have a little typo there: Quote:2.5.0 to 2.5.2 RE: High load on ispcp server - BioALIEN - 01-28-2008 12:07 PM psygarden: interesting find, your CPU has really dropped a lot since the php upgrade. Can you please keep us posted after you run this for a week and report back? Thanks RE: High load on ispcp server - psygarden - 01-28-2008 08:23 PM BioALIEN Wrote:psygarden: interesting find, your CPU has really dropped a lot since the php upgrade. Can you please keep us posted after you run this for a week and report back? I think it's already conclusive, my server hasn't had any problems since i upgraded to php 5.2.5 (compared to continuous high load on 5.2.0) here's an updated graphic of my cpu usage (the current value might seem very low, but that's because it's a brand new dual core amd 5800+ cpu... it should be that way ![]() [attachment=295] (Click to view larger image) RE: High load on ispcp server - Kika - 01-29-2008 01:43 AM I had this problem too. I upgraded my php to a dotdeb 5.2.5 (http://www.dotdeb.org/) and my system is working fine. RE: High load on ispcp server - raphael - 01-29-2008 01:58 AM Quote:psygarden: interesting find, your CPU has really dropped a lot since the php upgrade. Can you please keep us posted after you run this for a week and report back?the thing is that the bug was fixed in 5.2.5; I've tried to get a diff from sapis/cgi we could ship in +etch11 but it seems to be too intrusive. I'll anyway build some of those packages for you people to test and report. Hopefully this way it will be fixed by etch r3 RE: High load on ispcp server - BioALIEN - 02-03-2008 01:30 PM raphael, any news on your last post? I would like to resolve this, and I'm willing to give your packages a try. Right now I'm on PHP 5.2.0-8+etch10 and after a few days, the server load really shoots through the roof very similar to psygarden's screenshot. After a full server restart, everything falls back down to a reasonable level then the process repeats after 10 days or so. RE: High load on ispcp server - Kika - 02-04-2008 10:41 PM I upgraded the php, but i use a script witch restart the webserver when the load is higher than 1: Code: #!/bin/bash Insert this line to the crontab: * * * * * root /root/load.sh RE: High load on ispcp server - BeNe - 02-04-2008 11:02 PM And this does make sense ? Well, it is not a really fix and when a other app create the high load averge ? Your Apache will restart and restart and restart. Greez BeNe |