Question
MySQL keeps crashing on 512MB Droplet
Reading some other posts here it seems that using the smallest Droplet is prone to cause issues with MySQL. Lately the number of crashes has increased and I now have to restart MySQL several times per week, I really need to solve this.
What I’ve tried so far:
- Updated the server using apt-get
- Added a swap file
- Checked MySQL logs for errors, nothing is output
I’m running the WordPress preinstall Droplet and for the site I’m using only 2 plugins, neither which are running any cron jobs. The site in question is http://saturate.co.
Any ideas?
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.
×
Try to see what process is using more ram. It’s so easy to see it using:
htop
I had the same issue before using joomla, so I decided to change http apache by nginx, because apache was using too much memory and collapsing the droplet. After the replacement I don’t have that problem again.
Btw, I also have a droplet with 512mb RAM
Cheers