Disk usage on IIS, PHP5, performance problems.

Posted by Jacob84 on Server Fault See other posts from Server Fault or by Jacob84
Published on 2011-02-04T12:53:53Z Indexed on 2011/02/04 15:27 UTC
Read the original article Hit count: 244

Hi everybody,

I'm quite worried with a performance problem that I'm facing in one of our production servers. I'm working for a hosting company, so you can imagine how heterogeneous the applications runnning here are.

All started with a call of a client complaining about the speed loading a Joomla. The setup is IIS6 (Windows 2003) with PHP5 and FAST CGI wich normally works pretty well. I've tested the loading time and indeed, he was right. 7 or 8 seconds to load, when usually this can be accomplished in 2.

Seeing this results, I started to check first CPU and RAM. Everithing normal, 2GB of RAM free, 3%-8% of CPU activity. That's what I call a relaxed server ;). Unfortunately, digging a little deeper I've found the 'PhysicalDisk' counters quite high (above 10), specially the read queues.

I've used Process Explorer to see wich of those processes has the higher deltas, but everything seemed normal. As the problem is specially related to PHP pages, I've checked specific IIS counters, as Actual connections, Number of CGI requeriments and Number of ISAPI requeriments.

CGI -> 3 to 7   
ISAPI -> 5 to 9  
Connections-> 90 to 120 (wich appears at the top of the graph)  

More than a solution (I know this is hard to find), I would like to know if you have an specifical methodology to face this kind of problems.

Thanks a lot, as always.

© Server Fault or respective owner

Related posts about windows-server-2003

Related posts about php