From owner-freebsd-questions Wed Jun 17 12:06:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14256 for freebsd-questions-outgoing; Wed, 17 Jun 1998 12:06:30 -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 MAA14215 for ; Wed, 17 Jun 1998 12:06:19 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.8/8.8.8) id OAA05763; Wed, 17 Jun 1998 14:06:05 -0500 (CDT) (envelope-from dan) Message-ID: <19980617140604.A5620@emsphone.com> Date: Wed, 17 Jun 1998 14:06:04 -0500 From: Dan Nelson To: Dean Hollister , FreeBSD Questions Subject: Re: Killing a process? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8i In-Reply-To: ; from "Dean Hollister" on Wed Jun 17 23:29:14 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 (Jun 17), Dean Hollister said: > I have a process that has the "D" flag on it, according to the man > page: > > "D Marks a process in disk (or other short term, uninterruptable) > wait" > > So how can I kill it? Find out what it's waiting for, and try to free up the resource. Processes in the "D" state do not respond to signals, so you can't just kill -9 it. If you're a kernel hacker, you can do a "ps axl" and find out what the kernel is waiting on. The "WCHAN" column says where in the kernel the process is sleeping. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message