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

Subscribe
Share

Submit an 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.

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