Very high CPU usage on Linux server

2

I have the following server:

  • Ubuntu 14 LTS 64 bit
  • Linode Hosting
  • fail2ban enabled
  • firewall enabled
  • SSH root login diabled and only key access to server.

Problem:

When I run htop, it shows high CPU usage due to various commands like whoami, grep "A", 'pwd' etc. Please help to stop this.

Here is the htop output:

enter image description here

Tree view of htop:

enter image description here

GBD

Posted 2014-11-16T12:57:37.517

Reputation: 121

Could you please switch to tree view (press t or F5 on your keyboard) so we can see where exactly these processes are launched? – Daniel B – 2014-11-16T13:03:23.067

2Why are you running gnome on a VPS? o0 And everything is being run as root? You don't run things as root unless needed. – Journeyman Geek – 2014-11-16T14:14:13.927

Have you tried rebooting the machine? Sometimes a process goes rogue and hogs the CPU. – slhck – 2014-11-16T14:25:23.500

Yes, did reboot but it continue to eat cpu – GBD – 2014-11-16T14:26:30.027

@JourneymanGeek Understood but what is solution now ? – GBD – 2014-11-16T14:27:11.920

Unless you need to, stop gnome-terminal or better the whole X server or better install a server version (not desktop version) of Ubuntu. – steady rain – 2014-12-01T20:38:38.030

No answers