From owner-freebsd-stable@FreeBSD.ORG Mon Jun 26 19:56:11 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 E64F916A4E6 for ; Mon, 26 Jun 2006 19:56:11 +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 168DA4642F for ; Mon, 26 Jun 2006 19:22:58 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (wm.hub.org [200.46.204.128]) by hub.org (Postfix) with ESMTP id 2696C290C25 for ; Mon, 26 Jun 2006 16:22:53 -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 09002-04 for ; Mon, 26 Jun 2006 19:22:53 +0000 (UTC) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id 2259A291B0E for ; Mon, 26 Jun 2006 12:44:19 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 30D444828A; Mon, 26 Jun 2006 12:44:17 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 2A6F548246 for ; Mon, 26 Jun 2006 12:44:17 -0300 (ADT) Date: Mon, 26 Jun 2006 12:44:17 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-stable@freebsd.org In-Reply-To: <20060626120842.Q1114@ganymede.hub.org> Message-ID: <20060626124226.Y1114@ganymede.hub.org> References: <20060626120842.Q1114@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: What denotes a 'blocked' process? 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 19:56:12 -0000 On Mon, 26 Jun 2006, Marc G. Fournier wrote: > > Just upgraded to June 15th sources, started up all the processes, and am > already at 29 blocked processes ... > > I've checked for states D, E and L ... nothing ... > > Actually, let's go one better ... attached is a complete list of my process > table (MWCHAN, STATE, COMMAND) ... right now, vmstat is showing: > > 1 33 0 6381952 177944 1695 0 0 0 1601 0 1 0 416 50012 1657 14 > 14 72 > 1 33 2 6376440 181744 2013 0 0 0 2172 0 3 0 448 68528 1629 17 > 15 68 > 4 33 0 6385484 178364 1944 0 3 0 1758 0 8 0 420 57698 1221 17 > 14 69 > 23 46 0 6463664 149528 5294 29 4 2 4659 0 37 0 505 44758 3040 27 > 28 45 > 4 34 1 6424904 169660 4216 16 7 0 4047 0 211 0 1002 47502 5769 42 > 30 28 > 1 35 0 6453992 167388 2414 0 9 0 2265 0 44 0 535 62932 3160 18 > 18 64 > 7 33 0 6443672 168100 1642 0 0 0 1652 0 5 0 448 51974 2163 15 > 15 70 > > So, according to this, there should be 33 processes blocked somewhere ... > STATEs D/E/L all show nothing ... even state R (long shot) is showing 3-4 > processes, and that's it ... > > This kernel is actually worse then the last, in that the last, on a reboot, > I'd see 4-5 blocked, and then it would slowly rise over the course of 24 > hours, not start at 33 and rise from there ... Wow, in less then 1 hour, I'm up to 60 blocked, barely 1 runnable: 0 60 0 7016076 187424 2527 0 0 0 1722 0 5 0 320 7921 2140 24 19 57 0 60 0 7027436 185124 581 0 1 0 428 0 9 0 303 3214 2425 5 9 86 0 60 0 7053368 183060 217 4 1 0 130 0 71 0 453 1748 1157 6 4 90 1 60 1 7050848 183556 4 0 0 7 27 0 21 0 307 965 857 1 4 94 0 60 2 7050860 183652 2 0 0 0 6 0 0 0 256 829 1030 2 3 95 0 60 0 7051028 183348 28 1 2 0 11 0 3 0 307 944 855 3 3 95 0 60 1 7056876 182248 136 0 0 0 66 0 8 0 285 1190 945 1 4 95 And nadda in ps: pluto# ps ax -O ppid,flags,mwchan | awk '$6 ~ /^D/ || $6 == "STAT"' ; ps aux | wc -l PID PPID F MWCHAN TT STAT TIME COMMAND 2 0 204 - ?? DL 0:00.45 [g_event] 3 0 204 - ?? DL 0:04.87 [g_up] 4 0 204 - ?? DL 0:06.19 [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:00.68 [yarrow] 25 0 204 psleep ?? DL 0:00.70 [pagedaemon] 26 0 204 psleep ?? DL 0:00.00 [vmdaemon] 27 0 20c pgzero ?? DL 0:14.43 [pagezero] 28 0 204 psleep ?? DL 0:00.14 [bufdaemon] 29 0 204 vlruwt ?? DL 0:00.15 [vnlru] 30 0 204 syncer ?? DL 0:10.29 [syncer] 31 0 204 sdflus ?? DL 0:00.68 [softdepflush] 32 0 204 - ?? DL 0:03.28 [schedcpu] 1170 pluto# ps ax -O ppid,flags,mwchan | awk '$6 ~ /^E/ || $6 == "STAT"' ; ps aux | wc -l PID PPID F MWCHAN TT STAT TIME COMMAND 1174 pluto# ps ax -O ppid,flags,mwchan | awk '$6 ~ /^L/ || $6 == "STAT"' ; ps aux | wc -l PID PPID F MWCHAN TT STAT TIME COMMAND 12 0 20c Giant ?? LL 0:08.16 [swi4: clock] 1170 pluto# Something *has* to be leaking here somewhere ... :( ---- 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