HTTPD very high cpu load
Hello guys ,
I've a serious problem :( HTTPD on my Centos 5.8 machine is eating cpu , here you are the output of top command : Quote:
after some simple troubleshooting steps I found that after removing this file " /etc/php.d/dom.ini " and restarting httpd it runs better but my site goes down :( I can't perform more advanced troubleshooting so please guide me . Thanks in advance . |
Hi,
Depends on how much your memory you have in server then you can try optimize apache with how many "worker threads" are allowed to run httpd service so you can spread the workload on many instances of httpd (I see you have only 7 listed in your top output) which on my server is around 20 (with 4GB RAM). If you have a "heavy" application working on your server (many connections, maybe PHP/MySQL CMS systems (joomla) then it's a hard nut to "crack" to get optimized. It also depends how many CPU cores you have available (servers often have Xeon CPU's with 4 cores or more and 8 GB RAM and more) |
Hello lithos
Thanks for your reply , actually there is no high traffic hitting my server , and there is only one website "cms" and it's eating cpu mooooooore than expected ,I think there is a serious problem whatever I optimized . |
All times are GMT -5. The time now is 12:22 AM. |