Question
Apache overload, how fix it
Hello i running a droplet with 2 GB Memory / 40 GB Disk / NYC3 - Ubuntu 14.04.4 x64 with few wordpress websites on it.
In this days, through new graph mod, i discovered an overload actvity in Top Processes tab:
CPU
apache2 1511.22%
Memory
apache2 104.40%
By the way all site, actually working fine, any help about my issues?
Thanks a lot for any reply!
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.
×
Have you installed the do-agent ?
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-the-digitalocean-agent-for-additional-droplet-graphs
If yes, then you should probably contact support or report the issue in Github:
https://github.com/digitalocean/do-agent/issues
Yes already done! But seems overload on apache is causated by sendmail spam queue, after removed it load go down. But i don’t know how defintely fix spam on send mail…
maybe i need remove all comment and contact form on my sites…
That would probably be a good thing to do. And I would recommend replacing sendmail with Postfix. It’s a drop-in-replacement, but is much better at handling queues. Just make sure you don’t accidentally setup an open relay, meaning your server can be used to spam the rest of the world (probably like it’s doing right now).
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-16-04
Maybe best solution is change droplet and IP to a new version of Ubuntu, now i running droplet on Ubuntu 14