Question

High CPU usage every day after update new droplet

Hi , i update the droplet to new Digital Ocean. I was 512 ram . Now 1Gb , After upgrade all the day in the same time i got High CPU usage. Can u tell me how to check who proces is consuming this? Thank you!


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.

Accepted Answer

Hi, I’m experiencing exactly the same problem. I have noticed that CPU activity increased considerably after resizing my Droplet (to take advantage of the benefits their new plans).

Recently I opened a ticket to follow up on this situation (so far, they have followed my report… but there has not been a solution).

In fact… researching a bit, I found this tweet (so I deduce that I’m not the only one who has this reduction in performance): https://twitter.com/Arajdon/status/955104912907689984


My tests: Just before resizing my Droplet, I took a Snapshot from this one.

As a test, I created a new Droplet from that image in same datacenter -SFO2- (I was assigned a new public IP). Once created, I subjected it to an equal load of intensive to the usual and runs perfectly (it was not perceived excessive CPU load).

Once that I proved that my Snapshot worked well and stably, I decided rebuilt my main Droplet (which presents the problem) expecting it to work fine, but I still have the same problem having an excessive CPU load.

As an additional detail, I have noticed that Droplet’s boot takes too long whitout apparent reason (60 secs aproxly, when it regularly was loading in 15 secs at most).

A very practical solution for me would be to create a new Droplet from my Snapshot. The drawback is that I need to keep my public IP assigned initially.

Thanks!

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I cant find proper solution of “High CPU usage” Anyone DO expert help me??

Looks like the problem is still there. :-/ I see 8 node processes and 4 pm2 process running. Stopped them all, restart pm2, strapi and nginx. But get just a 502 error in the browser.

I got this problem too, $5 droplet with 8 wordpress domain. every single day got notification high cpu consumption. Web cannot be access when cpu reach 100% or more. :(

Then, I was create back up all my domain. Destroy and create new one. Using openlitespeed, php 7, mariaDB and wordpress (install yourself) not using one-click install, now my CPU always below 33% with 9 wordpress domain :)

My guess, when you create droplet and install server automatically, DO provide everything possibility will be use on your server, just maybe :)

So if you familiar with linux server, maybe you can investigation your web server system. But i’m not familiar with linux :)