0

I cannot kill httpd process on my VPS running centos 6.5.

I tried killing it with -9 flag which didn't work either.

Output of command: ps aux | grep httpd

root     29459  0.0  0.0 103252   828 pts/0    S+   11:24   0:00 grep httpd

What is strange is that every time when kill -9 29459 command is entered the pid of the above process increments by 2 and kill command returns No such process

What happened before this was that I tried to restart httpd but because of an error with SSL it couldn't restart

Any help would be appreciated.

Sahil
  • 159
  • 2
  • 9

1 Answers1

5

You are trying to kill the grep command, which you have just run. Since the grep command already completed, you cannot kill it.

kasperd
  • 29,894
  • 16
  • 72
  • 122