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?
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.