High CPU use in a Linode server

Dear DHIS2 community,

I am trying learn to setup DHIS2 on a Linode server according to tutorial.The server is mainly used for configuration and testing. Since last 2 weeks the CPU is being used >100%. Seems there are 2 zombie services who may be using the CPU. I have tried rebooting the Linode instance and restarting the docker images but the CPU utilisation is still >100%

Can you please help in identifying the cause for high CPU utilization?

attaching the screenshots of CPU use and top output.

Thanks

You could be having someone using your server as a mine. Happened to me once. I did back up all my apps and databases and deleted the OS I had put, this was Ubuntu, and rebuilt a fresh one, this time with a simple firewall.

But before I deleted it, I exhausted the following post and other posts. If you have time, please try all the steps listed.

Hope this is helpful.

-Moses

2 Likes

Dear Moses,
Thanks for sharing your experience and the resource.

I have tried the Linode page to get an idea what is happening. I had installed without creating a non-root user, so found that there were some unauthorized login attempts.
Now I have disabled root login with a simple firewall.
Tried Longview feature in Linode to get system metric, which shows few Java processes that are taking most of the CPU.

Thanks again