Hi to all, every day my server reach a too high cpu usage...i don't know why...maybe some crontab operation....
here's my ps dump when the load was 70
thank you,![]()
Hi to all, every day my server reach a too high cpu usage...i don't know why...maybe some crontab operation....
here's my ps dump when the load was 70
thank you,![]()
Last edited by rush; 04-06-2006 at 11:59 AM.
From looking at that you can see there are too many apache processes open meaning a possible attack.
Check the connections being made to your server and ban any suspicious IP's at your firewall.
In addition to what celliott said, it is very possible that there is a malicious script or a "runaway script" which can continously loop, dragging down the server's resources. Overall, secure your server and optimize its services/applications. The attached file doesn't show CPU % or IOWait %.Originally Posted by rush
Andy Reed
RHCE and CCNA
ServerTune.com
thank you guys,
this weekend i'm going to analyze better all the reasons of this high load following your suggestions....
thank you again
Hello ,
If you want to tweak apache , try adding the resource cpu limit to the apache conf and further it can be done also for each domain in there. Then when you feel that the load is high try checking your server memory . For mysql I suggest you install mytop which is a tool that helps monitor mysql databases or then can be viewed using the following command
mysqladmin processlist -i2
where i is the time , in this case it is 2 secs. Try limiting the database usage also in the php.ini .
Let me know if you need any further help with this.
Regards,
Marcus
The New Phase Of Support