Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2007 04:36:10 -0500
From:      Scott Robbins <scottro@nyc.rr.com>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Randall Stewart <rrs@cisco.com>, brooks@FreeBSD.org, "Stephane E. Potvin" <sepotvin@FreeBSD.org>, current@FreeBSD.org
Subject:   Re: HEADS UP: UNIX domain socket locking changes merged to CVS HEAD
Message-ID:  <20070301093610.GA20390@mail.scottro.net>
In-Reply-To: <20070301090434.S13593@fledge.watson.org>
References:  <20070226204916.C56223@fledge.watson.org> <45E5D589.3080202@FreeBSD.org> <20070228234754.Q13593@fledge.watson.org> <45E6178F.8040302@cisco.com> <20070301031907.GD94643@mail.scottro.net> <20070301090434.S13593@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 01, 2007 at 09:11:15AM +0000, Robert Watson wrote:
>=20
> On Wed, 28 Feb 2007, Scott Robbins wrote:
>=20
> >
> >I too have been having unexpected lockups--like Randall, I figured it wa=
s=20
> >something to do with my machine.  Interestingly enough, though X will lo=
ck up=20
> >completely (and I can't ssh to the machine, though I can ping it) the ja=
il,=20
> >which runs a small web site, running on an alias ip address continues to=
=20
> >work--I can still access the web site from outside.
> >
>=20
> Give uipc_usrreq.c:1.199 a try and see if it helps.

As posted earlier, I just finished a build with it, but won't be able to
give a definite answer till tonight.=20

>=20
> On the web server/jail vs X11 thing: yes -- deadlocks involving lock orde=
r=20
> reversals typically affect two classes of threads.  The first is threads =
that=20
> are directly involved in the deadlock (the two reverse lock acquisitions)=
, and=20
> the second class is threads that end up waiting on any locks (or other=20
> resources) held by the threads in the deadly embrace.
>=20


> X11/Gnome, and possibly UNIX domain sockets generally, will do alright. =
=20
> However, I would think that new SSH sessions into the jail might also han=
g=20
> since they will try to open new syslog sessions, which requires a UNIX do=
main=20
> socket connect operation. =20


That turned out to be correct.  I couldn't ssh into the jail either,
only the web server continued working.=20

Thank you again for your quick response to the problem, and hopefully
we'll be able to report success by this evening.


--=20

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Xander: You were looking at my neck.=20
Angel: What?=20
Xander: You were checking out my neck, I saw that.=20
Angel: No, I wasn't.=20
Xander: Just keep your distance, pal.=20
Angel: I wasn't looking at your neck.=20
Xander: I told you to eat before we left.

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF5p6K+lTVdes0Z9YRAivDAKC7aD7IKGgUiJyYrZIkpEAufWv42ACfYGSF
TqxN5BEwtVQBbeIAWoI1Kls=
=+OMm
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070301093610.GA20390>