Current time: 11-23-2024, 07:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
High CPU LOADS - PHP5-CGI
Author Message
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #1
High CPU LOADS - PHP5-CGI
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?
(This post was last modified: 05-04-2011 07:38 AM by avispa987.)
05-04-2011 12:34 AM
Find all posts by this user Quote this message in a reply
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #2
RE: High CPU LOADS - PHP5-CGI
after touching lots of things i broke the system.. now the solution is reinstall everything again..
05-04-2011 11:01 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)