Report this

What is the reason for this report?

High Apache CPU usage on 2 GB Droplet

Posted on December 28, 2013

About to move a site to a 2 GB Droplet, but I keep seeing high CPU usage hyst by clicking on the home or on any other page.

I have Varnish in front of Apache, with APC and PageSpeed configured. Even with that configuration, I still see an Apache process gunning at more than 100% (yes, that’s true).

I’ve messed with the plugins and tweaked mpm-prefork settings, but have not seen any change.

If it will help, here are my prefork settings:

StartServers                     5
MinSpareServers              5
MaxSpareServers           10
MaxClients                   150
MaxRequestsPerChild 3000


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Has anyone been able to figure out what’s happening? I got same issue… <br> <br>

@natwar86: First you need to find out what process is using up a lot of CPU. You can run “htop” (run <code>sudo apt-get install htop</code> to install it if you do not have it installed it) and then press “P” to sort the processes by CPU usage.

@finid, <br> <br>Did you even bother reading (carefully) the article? What part of it did you find misleading? What part of the article’s recommendations are contrary to WordPress best practices?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.