My droplet experiences over the top CPU usage intermittently over the week. How do I pin-point the problem? I don’t know what eats up all that CPU. Is it MySQL, is it NGINX, is it Apache, is it some Cron job, is it some rogue Wordpress script?
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.
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 face this problem all the time on shared cpu, it happens for no reason, in fact it is done by digital ocean engineers themselves, in order to motivate customers to switch to dedicated servers and pay more, you will never solve the problem of 100 cpu on a shared cpu plan
Hi there @rolen,
As a good starting point, I would recommend checking out the answer here on how to find the processes that are consuming the most server resources:
https://www.digitalocean.com/community/questions/how-to-find-the-processes-that-are-consuming-the-most-server-resources
Then once you know which service or process is causing the high CPU load, you can investigate this further to try and narrow it down even more.
If you are not sure, feel free to share the output here so that I could try to advise you further!
Regards, Bobby