By mick254264
We are running the standard “LAMP on Ubuntu 12.04” image on several droplets. On most droplets this works really well, but on two instances MySQL keeps stopping unexpectedly. There is very little work load on the servers where this happens. Any good tips on where I can start to look for the root of this problem?
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!
<b>“… two instances MySQL keeps stopping unexpectedly.”</b> <br> <br>If they happen to be 512 MB droplets, this is actually expected behavior (b/c Apache + MySQL together eat up a lot of resources). The remedy is to add <a href=“https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04”>swap</a> and <a href=“https://www.digitalocean.com/community/articles/how-to-install-and-use-memcache-on-ubuntu-12-04”>memcache</a>; and possibly replacing Apache w/Nginx.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.