From owner-freebsd-stable@FreeBSD.ORG Mon Jun 26 11:53:12 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 D43FC16A401 for ; Mon, 26 Jun 2006 11:53:12 +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 F1B2243D48 for ; Mon, 26 Jun 2006 11:53:02 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (wm.hub.org [200.46.204.128]) by hub.org (Postfix) with ESMTP id 6F561290C29 for ; Mon, 26 Jun 2006 08:52:57 -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 06740-03 for ; Mon, 26 Jun 2006 11:53:00 +0000 (UTC) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id AC313291AFD for ; Mon, 26 Jun 2006 08:29:20 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 0F3513DFBA; Mon, 26 Jun 2006 08:29:28 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id DA6D73CF50 for ; Mon, 26 Jun 2006 08:29:28 -0300 (ADT) Date: Mon, 26 Jun 2006 08:29:28 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org In-Reply-To: <20060626080344.X1114@ganymede.hub.org> Message-ID: <20060626082906.T1114@ganymede.hub.org> References: <20060626080344.X1114@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 11:53:13 -0000 Up to 48 right now, and still nothing to show for it ... On Mon, 26 Jun 2006, Marc G. Fournier wrote: > > k, this is getting ridiculous ... I'm going to upgrade my kernel to something > a bit newer then May 25th, which may (or may not) fix it, but: > > 0 28 0 8015508 175352 53 3 4 2 584 0 90 0 471 2299 1210 6 8 > 86 > 0 28 0 8016704 174416 82 0 0 0 77 0 36 0 350 2191 1155 8 6 > 86 > 1 28 0 8016772 167640 84 1 7 0 71 0 63 0 455 3119 1299 31 8 > 61 > 0 28 0 8014456 166416 95 0 1 0 123 0 50 0 480 3463 1733 19 8 > 73 > > 28 blocked processes, according to the above, but according to ps, this is > all that is blocked, and the system ones seem to be the exact same ones > blocked on another system with only '6 blocked', and another with only '3 > blocked', so I'm guessing those ones *aren't* counted in vmstat: > > # ps ax -O ppid,flags,mwchan | awk '$6 ~ /^D/ || $6 == "STAT"' > PID PPID F MWCHAN TT STAT TIME COMMAND > 2 0 204 - ?? DL 0:03.20 [g_event] > 3 0 204 - ?? DL 0:29.32 [g_up] > 4 0 204 - ?? DL 0:40.29 [g_down] > 5 0 204 - ?? DL 0:00.00 [thread taskq] > 6 0 204 - ?? DL 0:00.00 [kqueue taskq] > 7 0 204 - ?? DL 0:00.00 [acpi_task0] > 8 0 204 - ?? DL 0:00.00 [acpi_task1] > 9 0 204 - ?? DL 0:00.00 [acpi_task2] > 10 0 204 ktrace ?? DL 0:00.00 [ktrace] > 15 0 204 - ?? DL 0:03.29 [yarrow] > 25 0 204 psleep ?? DL 0:13.55 [pagedaemon] > 26 0 204 psleep ?? DL 0:00.00 [vmdaemon] > 27 0 20c pgzero ?? DL 0:53.21 [pagezero] > 28 0 204 psleep ?? DL 0:00.81 [bufdaemon] > 29 0 204 vlruwt ?? DL 0:03.90 [vnlru] > 30 0 204 syncer ?? DL 0:59.74 [syncer] > 31 0 204 sdflus ?? DL 0:02.90 [softdepflush] > 36 0 204 - ?? DL 0:26.21 [schedcpu] > 8803 8724 4002 biord p6 D+ 0:10.28 cvsup -L 1 -g /root/src > > So, where are the 28 blocked processes? And its climbing ... I have a > 'vmstat 5' running right now, and its up to 30, but same process listing > (minus the cvsup this time) ... leakage somewhere? Is there any way to debug > this? > > ---- > 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 > ---- 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