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
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!
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.
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.