1 |
On Fri, 2006-11-03 at 11:39 -0700, Richard Fish wrote: |
2 |
> On 11/3/06, Alan McKinnon <alan@××××××××××××××××.za> wrote: |
3 |
> > On Friday 03 November 2006 06:44, Walter Dnes wrote: |
4 |
> > > On Mon, Oct 30, 2006 at 07:48:58PM -0700, Richard Fish wrote |
5 |
> > > |
6 |
> > > > If -9 doesn't work, it means your kernel is hungup, and yeah, |
7 |
> > > > you'll have to reboot to fix. |
8 |
> > > |
9 |
> > > Where does kill -15 fit in? |
10 |
> > |
11 |
> > signal 15 is SIGTERM, and the default for kill. The thread is about |
12 |
> > unkillable processes, meaning those that don't go away with kill or |
13 |
> > kill -15 |
14 |
> |
15 |
> Just to expand on this a bit... |
16 |
> |
17 |
> SIGTERM can be caught, blocked, or ignored by a process. It is |
18 |
> basically asking the _process_ to "quit now!". |
19 |
> |
20 |
> SIGKILL cannot be caught, blocked, or ignored by a process. In fact, |
21 |
> no user-space code is even executed for SIGKILL. It is basically a |
22 |
> request to the kernel to "wipe this thing from memory!". |
23 |
> |
24 |
> So if SIGKILL doesn't work, that usually means that the process has |
25 |
> allocated some resource in the kernel that now cannot be freed. An |
26 |
> example would be files open on an NFS server (mounted with the 'hard' |
27 |
> option), with dirty buffers needing to be flushed, but the NFS server |
28 |
> cannot be reached. SIGKILL would attempt to close those files, which |
29 |
> would attempt to flush out those buffers, which would not work. |
30 |
> Another example would be a buggy driver and a hung device (seen this |
31 |
> with ipw3945d on my own system!) |
32 |
> |
33 |
> -Richard |
34 |
|
35 |
So how would I issue a SIGKILL? |
36 |
|
37 |
-- |
38 |
gentoo-user@g.o mailing list |