From owner-freebsd-stable@FreeBSD.ORG Mon Jun 26 17:39:14 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 050C616AB6A for ; Mon, 26 Jun 2006 17:39:14 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09C9A447C3 for ; Mon, 26 Jun 2006 17:11:14 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (wm.hub.org [200.46.204.128]) by hub.org (Postfix) with ESMTP id 5CA302919EF; Mon, 26 Jun 2006 14:10:48 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 01061-02-6; Mon, 26 Jun 2006 17:10:48 +0000 (UTC) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 61D97291B2C; Mon, 26 Jun 2006 13:11:12 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id C732F476A9; Mon, 26 Jun 2006 13:11:09 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id C5A1A46EF1; Mon, 26 Jun 2006 13:11:09 -0300 (ADT) Date: Mon, 26 Jun 2006 13:11:09 -0300 (ADT) From: "Marc G. Fournier" To: Gavin Atkinson In-Reply-To: <1151324795.80434.8.camel@buffy.york.ac.uk> Message-ID: <20060626131018.O1114@ganymede.hub.org> References: <20060626080344.X1114@ganymede.hub.org> <20060626082906.T1114@ganymede.hub.org> <1151324795.80434.8.camel@buffy.york.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: leaking blocked processes in vmstat ... how to debug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 17:39:14 -0000 On Mon, 26 Jun 2006, Gavin Atkinson wrote: > On Mon, 2006-06-26 at 08:29 -0300, Marc G. Fournier wrote: >> Up to 48 right now, and still nothing to show for it ... > > Is it possible that these processes are blocked while exiting? > > There's currently an unresolved bug where processes get wedged either > during startup or exit. See if you have any processes in state "START" > in top, or with an E in the "STAT" column: > > ps ax -O ppid,flags,mwchan | awk '$6 ~ /E/ || $6 == "STAT"' Stupid question here, that I just thought about ... is it possible for a threaded process to have one of its threads blocked, but with it not showing up in a ps listing? Or will the ps listing show it as blocked? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664