Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 1995 11:43:10 -0400 (EDT)
From:      Brian Tao <taob@io.org>
To:        "Garrett A. Wollman" <wollman@lcs.mit.edu>
Cc:        Brian Litzinger <brian@MediaCity.com>, freebsd-questions@freebsd.org
Subject:   Re: indestructible processes won't die
Message-ID:  <Pine.BSF.3.91.951018113737.207N-100000@flinch.io.org>
In-Reply-To: <9510181346.AA05143@halloran-eldar.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Oct 1995, Garrett A. Wollman wrote:

> <<On Wed, 18 Oct 1995 01:56:26 -0700 (PDT), Brian Litzinger <brian@MediaCity.com> said:
> 
> >   PID TT  STAT      TIME COMMAND
> > 26783 p6- IEs    0:00.31  (zsh)
> > 26795 p6- IE+    0:24.38 pine      
> 
> > These processes running on pseudo tty p6 will not die.  A kill
> > and kill -9 have no affect on them.
> 
> 	- tty is trying to drain but prevented from doing so

    I had the exact same problem on one of our BSD/OS 2.0 machines
last week.  I got a reply back from Matt Bush (xomox@boris.eden.com)
saying to use "stty -f <path-to-dev-entry> flushout" to drain the
output queue.  That solved the problem immediately.

    We don't seem to have "flushout" with the 2.0.5 stty though.  :(
>From the BSD/OS stty(1) man page:

>>>>>
STTY(1)                    BSD Reference Manual                      STTY(1)

NAME
     stty - set the options for a terminal device interface
[...]

     flushout    Flush the output queue for the device.  This is most
                 useful when an exiting processs is stuck waiting for
                 terminal output to drain.
<<<<<

    Could we get that for FreeBSD?
--
Brian Tao <taob@io.org>
System Administrator, Internex Online Inc.
"Though this be madness, yet there is method in't"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951018113737.207N-100000>