MySQL occasionally crashing

  • Posted March 10, 2014

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


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.

I would add swap space to your server, for me, this fixed the issue I as having.

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

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.