Subject: Re: Processes in state "sawait"
To: Bill Studenmund <wrstuden@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 10/21/2005 19:36:16
On Fri, 21 Oct 2005 10:15:35 -0700
Bill Studenmund <wrstuden@netbsd.org> wrote:

> On Fri, Oct 21, 2005 at 01:14:16PM +0200, Juan RP wrote:
> > 
> > Hi Chuq,
> > 
> > I was running three threaded apps with your latest changes
> > to libpthread and after 8 hours working perfectly, one app
> > changed its state to "sawait". The app couldn't be killed, and
> > I had to reboot the machine.
> 
> I'm not sure abote the can't be killed state, but when I see apps
> show up in "sawait" in ps, there usually is a deadlock in userland.
> The threads have entered lock deadlock.
> 
> ps -s may also be interesting both before and after the hang.

True, I've been having deadlocks in vnlock recently (maybe not related
to any official code). Anyway I'll try to create a core dump with gcore
next time as Chuq told me.

Thanks.