Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 1997 15:00:13 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        freebsd-hackers@freebsd.org
Subject:   unkillable process
Message-ID:  <199711122300.PAA10914@bubba.whistle.com>

next in thread | raw e-mail | index | archive | help

Try the following experiment (on 2.2 and mabye 3.0):

1. Create a named pipe
2. Start typing into it using cat
3. Hit control-C as many times as you want

You'll see that the process will not die even with kill -9,
as it is stuck in uninterrupible disk sleep ("fifo").

But as soon as you read from the other end of the pipe,
the process exits.

Is there a missing PCATCH flag to tsleep() somewhere?
Is this appropriate behavior? (hint: rhetorical question)

Just Curious,
-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711122300.PAA10914>