Question

Cpu usage limits

Posted September 10, 2019 2.3k views
Applications

can i leave my application running at 60-85% cpu usage? would it be throttled?

1 comment

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.

×
2 answers

Hello,

If the CPU usage on your droplet is somewhere between 60-85% this should not be an issue and the processes causing the CPU usage should not be terminated. You can also tweak the lfd service to make sure that the process will not be killed.

As long as you don’t go to 100% CPU usage for a long period of time, everything will be okay.

DigitalOcean are doing pro active monitoring and will see if your droplet is having 100% CPU usage all the time and may limit the CPU capacity of the droplets displaying this behavior. Since each droplet shares physical hardware with other droplets, constant 100% CPU use degrades the service quality for other users on the same node.

Kind regards,
Alex

Is the throttling temporary if you’re using 100% for a couple of hours or permanent for the droplet? If not, how long does it take to reset the throttle? Is there any way to see the throttling status?

  • Hey,

    If the memory usage is high and only temporary during busy times of your web server for example this wont be an issue. If your droplet is using 100% for more than couple of hours (it’s constantly keeping this usage), then this will be an issue since each droplet shares physical hardware with other droplets, constant 100% CPU use degrades the service quality for other users on the same node.

    Hope this helps!

    Regards,
    Alex

Submit an Answer