leaking blocked processes in vmstat ... how to debug?

Marc G. Fournier scrappy at hub.org
Mon Jun 26 17:38:57 UTC 2006


On Mon, 26 Jun 2006, Marc G. Fournier wrote:

> 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?

Nope, self-answered here ... found the -H switch for ps and same results 
... nothing in a D/E/L state :(

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664


More information about the freebsd-stable mailing list