Apache overload, how fix it

February 23, 2017 1.5k views
Apache Ubuntu

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!

4 comments
1 Answer

This question was answered by @hansen:

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

View the original comment

by finid
Postfix is a *mail transfer agent* (MTA), an application used to send and receive email. In this tutorial, we will install and configure Postfix so that it can be used to send emails by local applications only — that is, those installed on the same server that Postfix is installed on.
Have another answer? Share your knowledge.