Almost every day I receive an alert email telling me that CPU is higher than 70% and always it’s a weird and different process that I can not find any info, please help.
Proceses names:
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Unfortunately this most likely indicates that your droplet has been compromised and malware is running on it either to attack other servers or with the CPU use here, possibly mining cryptocurrency.
You should immediately back up any needed files and create a new clean server to migrate to. Cleaning an infected server can be an extremely time consuming and often futile process. Once you have a new server set up there are a few steps you can take to help secure it:
Use an SSH key for authentication rather than a password
Configure automatic security updates
Change the default SSH port
Enable the local firewall.
These guides will help you with these steps:
Unattended updates Initial Server Setup (includes ssh keys, firewall, changing ssh port)