Question

How do I fix random high CPU load

Posted October 6, 2021 52 views
Ubuntu 16.04DigitalOcean Droplets

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

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.

×
Submit an Answer
1 answer

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