"chron-34e2fg command consume 100% CPU on Linux AMI"

1

Hello i'm not the principal answer of this question, however, i want to answer at this Original post asked at the wrong place, in fist part i said how i fix it and then i will edit this post to say where is the problem if i find:

on server when I run top command then I am showing a process that takes 100% of CPU.

And

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

6267 nginx 20 0 256m 5132 1288 S 171.6 0.1 7:15.89 chron-34e2fg

Emilien Gallet

Posted 2018-05-22T22:45:18.960

Reputation: 11

Answers

0

I've got the same problematic. So to solve it do this procedure.

  1. Stop apache2 process : service apache2 stop
  2. Delete malware : rm -f /var/tmp/chron-34e2fg /var/tmp/.jnks/*
  3. Reinstall apache 2 like this quote said

REINSTALL APACHE2:

sudo apt-get purge apache2

sudo apt-get install apache2

Then REINSTALL PHP5:

apt-get purge libapache2-mod-php5 php5 && apt-get install libapache2-mod-php5 php5

Emilien Gallet

Posted 2018-05-22T22:45:18.960

Reputation: 11