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!

Subscribe
Share

Maybe best solution is change droplet and IP to a new version of Ubuntu, now i running droplet on Ubuntu 14

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

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…


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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