From owner-freebsd-questions Wed Oct 18 08:43:29 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA09580 for questions-outgoing; Wed, 18 Oct 1995 08:43:29 -0700 Received: from io.org (root@io.org [142.77.70.2]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA09574 for ; Wed, 18 Oct 1995 08:43:23 -0700 Received: from flinch.io.org (flinch.io.org [198.133.36.153]) by io.org (8.6.12/8.6.12) with SMTP id LAA28892; Wed, 18 Oct 1995 11:43:04 -0400 Date: Wed, 18 Oct 1995 11:43:10 -0400 (EDT) From: Brian Tao To: "Garrett A. Wollman" cc: Brian Litzinger , freebsd-questions@freebsd.org Subject: Re: indestructible processes won't die In-Reply-To: <9510181346.AA05143@halloran-eldar.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Wed, 18 Oct 1995, Garrett A. Wollman wrote: > < 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 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 System Administrator, Internex Online Inc. "Though this be madness, yet there is method in't"