Report this

What is the reason for this report?

How to fix if my CPU or my stroge is full

Posted on June 25, 2024

How to fix if my CPU or my stroge is full



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 @safarmobile,

Usually, your CPU is being used by the software you have on your Droplet. Software like your WebSerivce (Apache/Nginx), your Database (MySQL/PostgreSQL). So in terms of freeing up, it’s not a straight forward task.

You need to either optimize the processes that are taking this CPU or simply upgrade your Droplet to have more CPU.

Bear in mind that optimizaiton is not always possible just because you might be using software that requires a certain amoung of CPU and as such the only option would be an upgrade.

Hi there,

In addition to what has been mentioned already, I could also suggest:

  • For your CPU usage, you can follow the steps here on how to find what processes are exhausting your CPU resources and then take action from there:

https://www.digitalocean.com/community/questions/how-to-find-the-processes-that-are-consuming-the-most-server-resources

  • For the disk usage, you can follow the steps from this guide here on how to find which directories and files are taking most of the disk space:

https://www.digitalocean.com/community/questions/28-no-space-left-on-device-error

If there are no files that can be deleted, you could consider upgrading your Droplet to a larger one as per the instructions here:

https://docs.digitalocean.com/products/droplets/how-to/resize/

Let me know if you have any questions!

- Bobby

https://imgur.com/a/luBYmqF

the issue is us you can see in the iamge is the CPU 100%

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.