From owner-freebsd-hackers Thu Nov 13 14:26:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA27480 for hackers-outgoing; Thu, 13 Nov 1997 14:26:45 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA27472 for ; Thu, 13 Nov 1997 14:26:40 -0800 (PST) (envelope-from roberte@ghost.mep.ruhr-uni-bochum.de) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.8.5/8.8.4) id XAA01539; Thu, 13 Nov 1997 23:25:43 +0100 (MEZ) From: Robert Eckardt Message-Id: <199711132225.XAA01539@ghost.mep.ruhr-uni-bochum.de> Subject: Re: unkillable process In-Reply-To: <199711131848.KAA19595@bubba.whistle.com> from Archie Cobbs at "Nov 13, 97 10:48:17 am" To: archie@whistle.com (Archie Cobbs) Date: Thu, 13 Nov 1997 23:25:43 +0100 (MEZ) Cc: Shimon@i-connect.net, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (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 It was Archie Cobbs who 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"). I tried with `cat'. 23:16 ghost: /home/re 0% mkfifo p 23:16 ghost: /home/re 0% /bin/cat - > p sdjksdfjk lksjflsfjkd ^C^C^?^? ^Z^Z^Z Beendet 23:17 ghost: /home/re 143% 23:17 ghost: /home/re 143% I didn't find `cat' in the process list, though I used the tcsh-external program in /bin. However, `ps -auxlw' showed: roberte 1524 0.0 1.3 696 784 p4 IV+ 11:16pm 0:00.00 -csh (tcsh) 100 1524 307 0 2 0 696 784 fifo IV+ p4 0:00.00 -csh (tcsh) After a simple `kill 1524' the above cat returned (`Beendet'). This is on 2.2.2-RELEASE. > Hmm... does anyone else besides me have the opinion that, > while it may be typical, this behavior is also *broken*? If at least `kill -9' doesn't/didn't work, I would definitely call it an error (since it may cause e.g. an uncleanly umounted filesystem). > Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com Robert -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de