Question

How to fix if my CPU or my stroge is full

How to fix if my CPU or my stroge is full


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
June 25, 2024

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.

Bobby Iliev
Site Moderator
Site Moderator badge
June 25, 2024

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%

Become a contributor for community

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

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

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

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.