Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
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.
Accepted Answer
Thank you, everyone, for the advice and suggestions. I think I’ve figured out the issue. I’m using CloudFlare CDN and SSL. This is a popular service that many people use to make their websites faster and more secure. One of the features of CloudFlare is to take snapshots of the website. If your website is ever offline, CloudFlare will serve up this snapshot. Unfortunately, CloudFlare was taking these snapshots multiple times per hour, and loading what appears to be my entire website all at the same time. This was causing the overuse of ram. Since I’ve turned that feature off I haven’t had a single crash. Hopefully, this will help other people having similar issues.
Fingers crossed that it’s fixed.
Hi @semipro
Can you monitor your access-log to see if your server might be attacked with massive amounts of requests. You’re only giving about 200MB to MySQL - and CentOS is probably taking another 200MB, which should give you 600MB for Apache+PHP, so you’re right, that should be enough for a typical WordPress site with low traffic. It doesn’t look like your problem is MySQL, but probably Apache+PHP - I’m not a big fan of Apache and it’s mod_php module, so my recommendation would be Nginx with PHP-FPM.
Have you tried to add swap ? Add some swap and see if fixes your problem
You have here a tutorial on how to add swap: https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-6