From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 1 07:20:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C92F16A4D1 for ; Wed, 1 Sep 2004 07:20:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4039443D2D for ; Wed, 1 Sep 2004 07:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i817KNX2009560 for ; Wed, 1 Sep 2004 07:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i817KNJX009559; Wed, 1 Sep 2004 07:20:23 GMT (envelope-from gnats) Date: Wed, 1 Sep 2004 07:20:23 GMT Message-Id: <200409010720.i817KNJX009559@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Sergey Akifyev Subject: Re: kern/71226: processes list is broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Sergey Akifyev List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 07:20:25 -0000 The following reply was made to PR kern/71226; it has been noted by GNATS. From: Sergey Akifyev To: Seva Gluschenko Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/71226: processes list is broken Date: Wed, 01 Sep 2004 11:19:04 +0400 --=-U7N7q+YGT59xVrazGJJF Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2004-08-31 at 15:30, Seva Gluschenko wrote:=09 > >Description: > While examining process list on my box I've found some hung processes: >=20 > > ps ax | grep kblan > 1028 ?? RN 0:00,13 /usr/local/bin/kblankscrn.kss -root > I used kill on them. Nothing changes. I used kill -9. No reaction > at all. The list is pretty the same. Thinking hard, then I used > ktrace/kdump. They produced zero output, e.g. processes aren't really > exist anymore - but still occupy some entries in process list. >=20 > There maybe some conditions for process hanging to happen since > kblankscrn was the only one found, otherwise process list > should be fulfilled quite easy. Are theese zombies in fact? You should try to kill their parent (see man waitpid for details). You can determine parent PID of process by issuing following command: # ps jax|fgrep kblankscrn.kss|fgrep -v fgrep|awk '{print $3}' --=20 regards, Sergey Akifyev JSC Gascom PGP key available from: ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt --=-U7N7q+YGT59xVrazGJJF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBNXfnbu06QwmNwNsRAlJmAJ99GL5XyVnulJsdrCK8sqXkKCnKOwCfTN+8 mMSPOt/wCOmk4fgOrNX7YB0= =hN1W -----END PGP SIGNATURE----- --=-U7N7q+YGT59xVrazGJJF--