My droplet goes down sometimes. And I dont know why. How can I find it? How can I read logs?
I am using ubuntu 13.10, apache and mysql, swapped memmory. Running wordpress.
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!
I dont know why I cant access my website. I know it doesnt wordpress fault. Like you said, maybe Mysql crashing all the time. But how can I know it’s because of mysql?
And also “sudo tail -40 /var/log/mysql.err” command does not show me anything.
Hi!
What do you mean by going down? Does it completely crash or would you still be able to SSH into it? Do you get any errors?
MySQL running out of memory and crashing is usually the case, try checking its error log for errors:
sudo tail -40 /var/log/mysql.err
P.S.: Ubuntu 13.10 has reached its EOL stage – you are no longer receiving package updates or security updates. I recommend upgrading to Ubuntu 14.04 as soon as possible:
sudo do-release-upgrade
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.