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
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!
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.
Before tinkering w/your droplet further, make sure to take a <a href=“https://www.digitalocean.com/community/articles/digitalocean-backups-and-snapshots-explained”>snapshot</a> (believe me, I’ve learned the hard way on this one). <br> <br><b>“I haven’t change anything on the server for the last few weeks.”</b> <br> <br>Perhaps there are some updates to MySQL, Apache or to any number of their dependencies that you’ve missed out on. Try executing: <br><pre>sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove</pre> <br>to see if that solves the problem.
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.