Re: When Kill dosen't work

From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 08/03/05


Date: Tue, 02 Aug 2005 20:40:09 -0500

On 2 Aug 2005 18:25:13 -0700, shamer staggered into the Black Sun and
said:
> any advice on what i should do when Kill and Killall PID dosen't
> work? My only resort is to reboot, and i hate that.

You didn't exactly provide a lot of information here. What,
specifically, is unkillable? Are there any common elements to when it
happens and which processes it happens to? Which version of which
distro are you using? Answer those questions, and people may have more
specific suggestions for you.

I think you have a process in state D ("waiting for I/O") and you can't
kill it even with kill -9 . This happens because the process is waiting
for a system call to return, and you can't kill a process that's in the
middle of a system call, no matter what you do. (If you figure out how
to solve this, please tell the kernel hackers; they'd like to know.)

Common causes of processes getting stuck in state D are flaky hardware,
network filesystems where the NFS/SMB server has died, user error, and
bugs in the kernel, from most frequent to least frequent. Answer the
questions in the first paragraph, and maybe someone will be able to
provide some specific advice to you.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /    mail: TRAP + SPAN don't belong
http://www.brainbench.com     /
-----------------------------/        This space sort of for rent.


Relevant Pages

  • Re: When Kill dosent work
    ... > for a system call to return, and you can't kill a process that's in the ... Sometimes this timeout can be changed, ... from most frequent to least frequent. ... > provide some specific advice to you. ...
    (comp.os.linux.misc)
  • Re: Voltage converter circuit - Bosch / Siemens washing machine
    ... How about getting a qualified engineer in to fix it before you kill ... Advice to an amateur? ... lots of people kill themselves every year troubleshooting unpowered ...
    (sci.electronics.repair)
  • Re: Hunting Goons
    ... kill their own kind, it's a form of justice. ... thousands of innocent people in the past few years. ... give advice to and am paid by a quango, ...
    (uk.environment.conservation)
  • Re: rename an excel workbook
    ... Thanks to all for your generous help. ... Even the mistaken "Kill" advice ... taught me something. ...
    (microsoft.public.access.formscoding)
  • Re: You will not touch him
    ... Just less frequent, but correct? ... [Scout promises revenge] ... were an adverbial phrase there: "First day he comes back, ... Harper Lee, To Kill a Mockingbird ...
    (alt.usage.english)