From time to time you may encounter an issue on your DigitalOcean Droplet where it completely crashes for an unexpected reason – such as running out of memory or a corrupted file – your website will go down and your local database will be inaccessible. It’s in these circumstances where you may find yourself needing to reboot a Droplet. In this tutorial, we will review an instance where a Droplet crashed because it ran out of memory.
Just like any standard computer, there are 2 ways to reboot a Droplet on DigitalOcean, these are:
A graceful restart through the command line is the preferred method to reboot a Droplet. This will ensure that the Droplet is safely shut down and restarted so that data does not become corrupted. To complete a graceful restart follow the steps below.
Please note that a forceful reboot of a Droplet through Power Cycle will immediately drop and restart the server. You should only choose the option if you are unable to reboot a Droplet from the command line outlined above as it could corrupt data if you are not careful.
We hope that this tutorial was helpful, and if you find that your Droplet becomes unresponsive, don’t panic. These situations do arise, and, while not the most ideal situation, rebooting a Droplet only takes a few minutes of time and then you are back in business.
Last updated on by Joshua Holdeman
Including FREE Access to our 7-Day Essential Business Tools Checklist