Re: about killing a process
- From: Jean-David Beyer <jeandavid8@xxxxxxxxxxx>
- Date: Mon, 10 Jul 2006 13:02:35 GMT
Aragorn wrote:
On Monday 10 July 2006 07:57, ctx2002 stood up and spoke the following
words to the masses in /comp.os.linux.misc...:/
hi all:
i have a strange problem, one process in my machine can not be killed.
i have used kill -9 pid,
kill -KILL pid
kill -SIGKILL pid
just not work, any one know why?
Well, first of all, do you have permission to kill this process - i.e.
are you trying this as root or as the owner of the process?
Secondly, have you checked - e.g. via /top/ - whether this process might
be zombie'd? If it _is_ a zombie process, then you can't get rid of it
unless you reboot.
Actually, you sometimes can. If you kill the parent (assuming you can do
that, and are willing to do it), then init will inherit it and init will get
it off.
The big problem is if the program is stuck in D state...
Hope this helps... ;-)
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 09:00:01 up 90 days, 22:33, 4 users, load average: 4.70, 4.41, 4.28
.
- References:
- about killing a process
- From: ctx2002
- Re: about killing a process
- From: Aragorn
- about killing a process
- Prev by Date: Re: Esputil fails in Fedora Core 4
- Next by Date: Re: having trouble mounting disk image on loopback device
- Previous by thread: Re: about killing a process
- Next by thread: Re: about killing a process
- Index(es):
Relevant Pages
|