From owner-freebsd-hackers Wed Nov 12 20:33:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA12405 for hackers-outgoing; Wed, 12 Nov 1997 20:33:40 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from nomis.i-connect.net (nomis.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA12379 for ; Wed, 12 Nov 1997 20:33:35 -0800 (PST) (envelope-from shimon@i-connect.net) Received: (qmail 28137 invoked by uid 1000); 13 Nov 1997 04:33:50 -0000 Message-ID: X-Mailer: XFMail 1.2-beta-111097 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <199711122300.PAA10914@bubba.whistle.com> Date: Wed, 12 Nov 1997 20:33:50 -0800 (PST) Organization: Atlas Telecom From: Simon Shapiro To: Archie Cobbs Subject: RE: unkillable process Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. Simon