Question

Overload /usr/sbin/apache2 -k start

Hi guys,

I currently have a droplet Ubuntu, 1 GB with one wordpress website on it. It does not have many requests.

For some reason (since yesterday), Apache is eating my RAM and CPU. Htop preview

I already set my apache2.conf to this:

<IfModule mpm_prefork_module>
    StartServers          1
    MinSpareServers       1
    MaxSpareServers       1
    MaxClients           10
    MaxRequestsPerChild   5
</IfModule>

And i still get a CPU op 100% and memory of ±80/90%.

Can you guys help me?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @ryanpq:

While it’s not unusual for MySQL to take up a lot of memory on a smaller droplet apache becoming a resource hog in this way is not really typical. On apache php scripts being run will fall under apache processes since they are run via mod_php. I would recommend checking on any installed plugins and trying out disabling them one at a time to see if this has any affect on the resource usage.

View the original comment