Subject: Re: Processes in state "sawait"
To: Juan RP <juan@xtrarom.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 10/21/2005 10:15:35
--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 21, 2005 at 01:14:16PM +0200, Juan RP wrote:
>=20
> Hi Chuq,
>=20
> 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=
=20
in "sawait" in ps, there usually is a deadlock in userland. The threads=20
have entered lock deadlock.

ps -s may also be interesting both before and after the hang.

Take care,

Bill

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFDWSI3Wz+3JHUci9cRAqKzAJ9pLfvQPMGCitZSbumW0Owg7NQkCQCfRefv
1E35qfNvWJW4nxKvs1oQmyY=
=PpeT
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--