From owner-freebsd-questions Tue May 26 15:39:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA08822 for freebsd-questions-outgoing; Tue, 26 May 1998 15:39:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA08749 for ; Tue, 26 May 1998 15:39:04 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.8/8.8.8) id RAA07698; Tue, 26 May 1998 17:38:58 -0500 (CDT) (envelope-from dan) Message-ID: <19980526173857.A7584@emsphone.com> Date: Tue, 26 May 1998 17:38:57 -0500 From: Dan Nelson To: Dean Hollister Cc: FreeBSD Questions Subject: Re: Killing zombie processes References: <19980526113025.A1334@emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.4i In-Reply-To: ; from "Dean Hollister" on Wed May 27 00:38:07 GMT 1998 X-OS: FreeBSD 2.2.6-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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