Question

Overload /usr/sbin/apache2 -k start

Posted May 12, 2016 2.2k views
Ubuntu Apache PHP WordPress

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?

1 comment
  • 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.

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.

1 answer

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

Submit an Answer