Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 17:38:57 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Dean Hollister <dean@odyssey.apana.org.au>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Killing zombie processes
Message-ID:  <19980526173857.A7584@emsphone.com>
In-Reply-To: <Pine.BSF.3.96.980527003713.23243A-100000@odyssey.apana.org.au>; from "Dean Hollister" on Wed May 27 00:38:07 GMT 1998
References:  <19980526113025.A1334@emsphone.com> <Pine.BSF.3.96.980527003713.23243A-100000@odyssey.apana.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 27), Dean Hollister said:
> On Tue, 26 May 1998, Dan Nelson wrote:
> 
> > Do a "ps axl -t v0", and see what's under the "WCHAN" column for pid
> > 4803.  That's the kernel event the process is waiting for.  If it says
> > "ttywai", it's trying to write something to the console (make sure
> > scroll-lock isn't on).
> 
> Yep, that's what came back. How do I kill it? I cannot get at the
> scroll-lock key from here.

I'd say ignore it till you can have a look at the console yourself.
There's probably a way to unlock the vty through an ioctl(), if you
really want that process killed.  My best guess would be to use
KDSKBSTATE and turn off the scroll-lock LED, but you'll end up with a
confused console, and possibly a panic (manually turning off SLK looks
like it unlocks the console, but doesn't clean up the scroll-back
history buffer).

	-Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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