Hi,
Yesterday, my Droplet’s MySQL was crashing all the time. I searched in the community and I saw that I had to do a swap of 512MB.
Now, the MySQL don’t crash, but, when I enter to the domain, it don’t sends any data and I must do a Power Cycle (but it stops again in a few minutes).
I can’t access by no way until I do the Power Cycle (even Putty don’t works).
How can I know what it’s happening?
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.
You should check your error logs.
MySQL Error Log:
sudo cat /var/log/mysql/error.log
Apache Error Log:sudo cat /var/log/apache2/error.log
Nginx Error Log:sudo cat /var/log/nginx/error.log
You should check your error logs.
MySQL Error Log:
sudo cat /var/log/mysql/error.log
Apache Error Log:sudo cat /var/log/apache2/error.log
Nginx Error Log:sudo cat /var/log/nginx/error.log
Now that you have swap space, instead of processes being terminated, you are seeing everything slow down due to huge amounts of memory swapping. Try a 1GB droplet with 1 GB swap.