Subject: Re: "parked" processes?
To: Alan Barrett <apb@cequrux.com>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 07/26/2007 09:46:28
On Thu, Jul 26, 2007 at 09:36:08AM +0200, Alan Barrett wrote:

> On Sat, 14 Jul 2007, Alan Barrett wrote:
> > I still encounter hands in which firefox is unresponsive, and most of
> > its lwps are in "parked" state.

Are you using any plugins with firefox? Is there a way to reproduce the
behaviour that anyone knows of?

> It appears that the problem is related to the process being swapped out.
> Every time firefox is hung (unresponsive to mouse clicks, doesn't even
> redraw the window when it is brought to the foreground), I have found
> that "ps -l" reports that the process is swapped out ("W" in the second
> character of the "STAT" column), and that "ps -s" reports that every lwp
> is swapped out.

Are these swapped out processes runnable (R)?

> Most lwps have WCHAN = "parked", but there's always one with "-", and one
> with something else (usually "select" or "poll").

That's how firefox usually looks. The "-" thread is likely a zombie waiting
to be collected.

Andrew