ispCP - Board - Support
High CPU LOADS - PHP5-CGI - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: High CPU LOADS - PHP5-CGI (/thread-13341.html)



High CPU LOADS - PHP5-CGI - avispa987 - 05-04-2011 12:34 AM

Hi everyone .. im using ispcp Omega 1.0.7 (last release) with debian lenny, apache 2 compiled with worker...
The environment is a virtualized VPS with vmware server 2,
it has:
- 512MByte of dedicated ram
- one Ip adress
- 40 Gb of Disk (like 60% free)
- One dedicated Core2Quad 8300 Core (2.33 ghz)

The dedicated server is mine, and there are only 3 vps's in the following specs
- 1x Core2Quad Q8300
- 2X 2GB 800mhz ddr2
- 1x 500Gb Hdd sata2

I know, its not too much.. but it work for me..

Now i have a problem with the debian vps... Its using too much CPU and every several hours it just crash and doesnt respond... I made some htop's to see what process is using too many resources...

now i saw this..
Please see screenshot
[Image: thump_6347737ispcp2.jpg]

My server seems to have more than one php5-cgi process and all uses too much cpu..

I search a lot in this forum about the problem and found something, i had to edit ispcp cron table to change one line that clean the session... because in debian was doing trouble..

Now i dont know what i should do in order to fix it... Anyone knows any recomendation?...
If anyone recomend me to reinstall all the webserver... i would .. but what operating system do you recommend me to install ispcp again? Cuz debian seems not to be the best option..

Thanks to everyone in advance
edit1: How can i know what php file is being executed when the php5-cgi uses 100% of cpu?



RE: High CPU LOADS - PHP5-CGI - avispa987 - 05-04-2011 11:01 AM

after touching lots of things i broke the system.. now the solution is reinstall everything again..