Question

How do I fix random high CPU load

I got a notification that the CPU usage on the server is high, after I found out it appeared like this random command how should i fix it? it always appears once every 1 hour The OS of my server is ubuntu 16.04


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.

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.

Hello,

If the processes with random names are not part of your applications, then this seems like a crypto miner to me.

You could use the ps aux command to find the full process and the path to the executable file and remove it. However, in order to make sure that the server has been completely cleared up, I would recommend restoring to a backup of the server before this problem started occurring.

Once your server has been cleared up, I would recommend following the steps from this answer here on how to prevent this in the future:

https://www.digitalocean.com/community/questions/how-to-prevent-cryptojacking

Regards, Bobby