Re: Unkillable processes with 2.2.12/2.2.13pre17

Ville Herva (vherva@niksula.hut.fi)
Fri, 3 Dec 1999 20:10:50 +0200


On Fri, 3 Dec 1999, Tim Waugh wrote:
>
> On Fri, 3 Dec 1999, Daniel Stone wrote:
>
> > Try kill -KILL - I discovered it by accident one day and it's absolutely
> > grouse. Kills everything bar zombies.
>
> Er.. and uninterruptible processes. kill -9 is kill -KILL. The 'l'
> option in ps will say what function the prcoesses are stuck in.

Forgive me if I'm asking elementary questions, but shouldn't
uninterruptible processes show up in ps listing in other state as
R(unning)?

As I've understood it, sigkill can only be ineffective if the process is
in zombie or uninterruptable state:

(man ps)
D uninterruptible sleep (usually IO)
R runnable (on run queue)
S sleeping
T traced or stopped
Z a defunct ("zombie") process

root@babbage:/dev>ps -l `pidof mpg123`
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
000 R 1414 10362 10361 0 62 2 - 361 - ? 0:03 [mpg123]
root@babbage:/home/vherva>ps -l 17625
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
000 R 1414 17625 16744 1 65 5 - 1844 - pts/2 70:05 [enlightenm

-- v --

v@iki.fi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/