Linked Questions

9 votes
1 answer

Still alive, still alive after kill -9 / SIGKILL [duplicate]

An apache2 process got stuck on my server and caused problems with other services. (original problem: kerneloops after USB hardware disconnect) root@server:~# ps aux | grep apache2 | grep -v grep ...
user avatar
9 votes
2 answers

kill -9 hangs, unable to kill process (murder proof process) [duplicate]

Possible Duplicate: What if ‘kill -9’ does not work? I guess its a bit late to ask this, but for future reference; I was called to look at a server today after a customer was reporting that ...
Baldrick's user avatar
  • 7,742
4 votes
1 answer

How to force a PID to terminate? [duplicate]

Yes, I've tried all the basic kill, pkill, etc. methods that come up with a Google search. Sometimes it works, other times it seems something is preventing the process from terminating. There is no ...
voices's user avatar
  • 1,282
2 votes
1 answer

kill pid is not working? [duplicate]

This is pretty weird now. I am trying to kill a process by using its pid but it is not working at all. root@machineA:/home/david# ps aux | grep modelling david 5075 0.0 0.0 1285420 29404 ? ...
arsenal's user avatar
  • 3,093
1 vote
1 answer

D state process kill [duplicate]

There is a D state process (stuck) which is not killed even by kill -9. I see PPID is systemd. root 1863 1 0 **Ds** /usr/sbin/smartd -n root 1 0 0 **...
J H's user avatar
  • 857
2 votes
1 answer

kill -9 cannot kill process with parent PID = 1 [duplicate]

I have a process with parent PID = 1. The command kill -9 382 doesn't work. I am root. What can I do? root 382 1 0 07:29 ? 00:00:00 dsmrecall /ptstv/HVideo/2014/2014761/...
Hsing Yi's user avatar
1 vote
1 answer

Cannot kill process rgmanager [duplicate]

I have # ps aux | grep rgmana root 4209 0.0 0.0 0 0 ? D< gen26 4:25 [rgmanager] the # kill -9 4209 has no effect. Only reboot solves the issue. Could you please ...
Igor's user avatar
  • 111
0 votes
0 answers

How to terminate a process when kill -9 doesn't work? [duplicate]

I've seen a few cases of processes that don't respond to kill -9. Most recently, I've seen both lsusb and reaper get stuck and be unresponsive to kill -9. (After trying all the usual signals first) ...
cat pants's user avatar
  • 487
436 votes
9 answers

When should I not kill -9 a process?

I am always very hesitant to run kill -9, but I see other admins do it almost routinely. I figure there is probably a sensible middle ground, so: When and why should kill -9 be used? When and why ...
Mikel's user avatar
  • 57.6k
56 votes
1 answer

Difference between less violent kill signal -HUP (1) -INT (2) and -TERM (15)

Apart from the most violent kill -9 (SIGKILL), I don't quite understand the difference between the 3 other common signals (here) -HUP (1), -INT (2), and -TERM (15). In which scenarios would one work ...
Kenny's user avatar
  • 1,635
47 votes
3 answers

When a process will go to 'D' state?

I'm using "Linux hostname 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686 GNU/Linux" All the client machines will use Thin-client ,I will use my laptop for working and I will ...
ungalnanban's user avatar
28 votes
3 answers

How can I kill a <defunct> process whose parent is init?

Transmission is intermittently hanging on my NAS. If I send SIGTERM, it doesn't disappear from the process list and a <defunct> label appears next to it. If I send a SIGKILL, it still doesn't ...
Andy E's user avatar
  • 459
22 votes
3 answers

Kill a process that keeps restarting

What if 'kill -9' does not work? or How to kill a script which starts new processes? doesn't help me in anyway. I have a python script which starts automatically with another process id using ...
Lakshminarayanan Guptha's user avatar
15 votes
4 answers

How to kill a process which can't be killed without rebooting?

There are 5 processes which can't be killed by kill -9 $PID and executing cat /proc/$PID/cmdline will hang the current session. Maybe they're zombie processes. Executing ps -ef or htop will also hang ...
Sam Stoelinga's user avatar
14 votes
2 answers

Why is there output of ping after it has been terminated?

When a process breaks, as I know no output will be return anymore. But always after breaking ping command we have the statistics of the execution, and as I know it's part of the output. amirreza@time:~...
Amir reza Riahi's user avatar

15 30 50 per page