Load Spikes on a Apache MySQL Server with Wordpress MU
Posted
by Vikram Goyal
on Stack Overflow
See other posts from Stack Overflow
or by Vikram Goyal
Published on 2010-06-05T05:10:02Z
Indexed on
2010/06/05
6:52 UTC
Read the original article
Hit count: 321
Hi there,
I am trying to investigate the reasons for some mysterious load spikes on a Linux Apache server (2.2.14) running PHP 5.2.9 on a dedicated server with enough processing power and memory. My primary web application is a Wordpress MU (2.9.2) installation.
I have investigated and ruled out DOS attack, MySQL or Apache configuration issues. The log files don't give me anything of interest, except to tell me that there is severe load.
The load (which can go up to 100) just seems to come and go. It helps that I have a script that checks every 3 minutes for the load, and restarts Apache. Restarting it helps, and the server comes back, till it happens again.
There seems to be no set time frame, or visitor numbers on the site that can trigger this. Even a low number of concurrent visitors (20) can trigger it.
I am almost convinced that there is a rewrite loop somewhere that is causing Apache to go mad. Apache is trying to serve something that is causing it to spawn more and more processes till it keels over.
My question is: Given that I am convinced that this is a rewrite issue or something similar, how can I try and figure out what the issue is? What should I monitor? Apache logs are voluminous, and not very helpful.
Of course, if this is not the issue, then at least knowing what to look for will help me eliminate this as an issue and look for something else.
Thanks! Vikram
© Stack Overflow or respective owner