16GB server shutting down very often

Posted November 22, 2013 3.6k views
Hello All I have been hosting at digitalocean for about 4 months now without any problem, but suddenly since yesterday my sites are down very often when I restart the server, they are up again but after some few hours the sites are down again and again. I have checked the /var/log but could not see any relevant errors. Note: I haven’t change anything on the server for the last few weeks. So please can you help to better investigated the issue because it is really an emergency for me as I need to reboot the server almost every 2 hours. I am currently hosting on a 16GB RAM machine and running the apache2 + MySQL on the same machine. Regards DO Customer

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.

Submit an Answer
2 answers
Are you sure your droplet is shutting down and not simply apache or mysql crashing? Check both of their error logs and see if you can find any pointers there.
  • I am also getting same issue, I created a 16gb memory droplet and install windows on it, but after every few minutes, droplet getting turn off, then I turn it on manually, but again it get off after some time.

Before tinkering w/your droplet further, make sure to take a snapshot (believe me, I've learned the hard way on this one).

"I haven’t change anything on the server for the last few weeks."

Perhaps there are some updates to MySQL, Apache or to any number of their dependencies that you've missed out on. Try executing:
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove

to see if that solves the problem.