From owner-freebsd-hackers Thu Nov 13 10:49:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA07077 for hackers-outgoing; Thu, 13 Nov 1997 10:49:12 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA07066 for ; Thu, 13 Nov 1997 10:49:09 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id KAA13431; Thu, 13 Nov 1997 10:48:34 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma013429; Thu Nov 13 10:48:17 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id KAA19595; Thu, 13 Nov 1997 10:48:17 -0800 (PST) From: Archie Cobbs Message-Id: <199711131848.KAA19595@bubba.whistle.com> Subject: Re: unkillable process In-Reply-To: from Simon Shapiro at "Nov 12, 97 08:33:50 pm" To: Shimon@i-connect.net (Simon Shapiro) Date: Thu, 13 Nov 1997 10:48:17 -0800 (PST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Simon Shapiro writes: > Hi Archie Cobbs; On 12-Nov-97 you wrote: > > 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) > > From what I remember, this is a typical (if ugly Unix behavior. Hmm... does anyone else besides me have the opinion that, while it may be typical, this behavior is also *broken*? Still Curious, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com