By Nando Corzo
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?
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!
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.
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
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.