High Apache CPU usage, but low nginx - Configured correctly?

Posted by Buckers on Server Fault See other posts from Server Fault or by Buckers
Published on 2013-06-25T09:27:17Z Indexed on 2013/06/25 10:22 UTC
Read the original article Hit count: 538

Filed under:
|
|
|
|

We've just moved a website of ours over to a brand new high-spec Linux server (1x Intel Xeon E3-1230 v2 @ 3.30GHz, 8GB DDR3 ECC, 2x 128GB SATA SSD RAID1).

The server has been configured to use nginx but we're not sure if its working correctly. The site always loads very fast to us (http://www.onedirection.net), but Plesk often sends us reports that the Apache CPU usage percentage reaches high leves, yet when we look at the nginx percentage it's always very low.

We've come from a Windows background so are very new to Linux, but shouldn't nginx run INSTEAD of apache?

Here's a screenshot from Plesk showing the CPU usage: http://www.pixelkicks.co.uk/_download/plesk.JPG

The website gets around 20,000 visitors per day, and we use W3 Total Cache to get it running as fast as possible. MySQL has been optimised well.

Memory usage is only running at 2GB of the 8GB.

Does this look right? How can we tell that nginx is doing most of the work?

Thanks,

Chris.

© Server Fault or respective owner

Related posts about linux

Related posts about apache2