From owner-freebsd-hackers Thu Nov 13 12:01:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA14429 for hackers-outgoing; Thu, 13 Nov 1997 12:01: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 MAA14423 for ; Thu, 13 Nov 1997 12:01:10 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA14091; Thu, 13 Nov 1997 12:00:36 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma014087; Thu Nov 13 12:00:22 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id MAA26869; Thu, 13 Nov 1997 12:00:21 -0800 (PST) From: Archie Cobbs Message-Id: <199711132000.MAA26869@bubba.whistle.com> Subject: Re: unkillable process In-Reply-To: from Alfred Perlstein at "Nov 13, 97 04:02:23 pm" To: perlsta@cs.sunyit.edu (Alfred Perlstein) Date: Thu, 13 Nov 1997 12:00:21 -0800 (PST) Cc: archie@whistle.com, Shimon@i-connect.net, 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 Alfred Perlstein writes: > From what i understand the process 'cat' is not broken, the shell excuting > the command will terminate if issued a 'kill -9' Not on my machine... kill -9 does nothing (see original email). -Archie > .________________________________________________________________________ __ _ > |Alfred Perlstein - Programming & SysAdmin --"Have you seen my FreeBSD tatoo?" > |perlsta@sunyit.edu --"who was that masked admin?" > |http://www.cs.sunyit.edu/~perlsta > : > ' > > On Thu, 13 Nov 1997, Archie Cobbs wrote: > > > 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 > > > > ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com