Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 1997 12:00:21 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        perlsta@cs.sunyit.edu (Alfred Perlstein)
Cc:        archie@whistle.com, Shimon@i-connect.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: unkillable process
Message-ID:  <199711132000.MAA26869@bubba.whistle.com>
In-Reply-To: <Pine.BSF.3.96.971113160142.15617D-100000@server.local.sunyit.edu> from Alfred Perlstein at "Nov 13, 97 04:02:23 pm"

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

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



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