Question

The Droplet is crashing

The ubuntu droplet of my website is crashing again and again when i open the wordpress and try to edit the website the reason is unkown as the droplet have more then the recquird resources alllocted to it to run the website no ddos attack can be seen still the website crashes frequently when i restart the droplet the weebsite works fine again


Submit an answer


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!

Sign In or Sign Up to Answer

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.

KFSys
Site Moderator
Site Moderator badge
February 26, 2024

Heya @siddhantbhasin,

Are you sure you have enough resources, this crashing sounds like it doesn’t have enough resources. All, what crashes, is it your WebService, Database service or something else?

Try adding SWAP to see if that would help. While it’s a short-term solution this can confirm if you have enough rescourses or not. Basically, if you add SWAP and the crashing stops then it’s related to resources.

https://www.digitalocean.com/community/tutorial-collections/how-to-add-swap-space

Swap is a portion of hard drive storage that has been set aside for the operating system to temporarily store data that it can no longer hold in RAM. This lets you increase the amount of information that your server can keep in its working memory, with some caveats. The swap space on the hard drive will be used mainly when there is no longer sufficient space in RAM to hold in-use application data.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel