Report this

What is the reason for this report?

MySQL occasionally crashing

Posted on March 10, 2014
eli

By eli

Im running an ecommerce Wordpress site on a 512mb vps. I occasionally get messages that say “this page is unavailable, try again later” and MySQL occasionally crashes and I have to restart the service. Anybody know why this could be? the database is 20mb



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.

I would assume that you are probably running out of memory due to running so many services on such little ram. Try resizing your droplet to 1gb and see if the problem goes away.

@Josh Frye <br> <br>I’ll give it a shot thank you! Do you know of any ways to optimize memory usage?

I would add swap space to your server, for me, this fixed the issue I as having. https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.