Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 16:35:32 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Chris Dillon <cdillon@wolves.k12.mo.us>
Cc:        stable@freebsd.org, Dmitry Morozovsky <marck@rinet.ru>, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: fsck_ufs locked in snaplk
Message-ID:  <20060425133532.GD1446@deviant.kiev.zoral.com.ua>
In-Reply-To: <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us>
References:  <20060423201732.GA74905@xor.obsecurity.org> <20060424091803.L20593@woozle.rinet.ru> <20060424215650.P36233@woozle.rinet.ru> <20060424181531.GA13774@xor.obsecurity.org> <20060425001751.S44618@woozle.rinet.ru> <20060424202859.GA18457@xor.obsecurity.org> <20060425004405.G44618@woozle.rinet.ru> <20060424205026.GA18844@xor.obsecurity.org> <20060425134418.J57625@woozle.rinet.ru> <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us>

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

--lMM8JwqTlfDpEaS6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 25, 2006 at 08:09:32AM -0500, Chris Dillon wrote:
> Quoting Dmitry Morozovsky <marck@rinet.ru>:
>=20
> >On Mon, 24 Apr 2006, Kris Kennaway wrote:
> >
> >KK> Also you should add DEBUG_LOCKS and DEBUG_VFS_LOCKS on the off chance
> >KK> they catch the problem.
> >
> >I got one thought about the source of these hangs/crashes: this  =20
> >machine is the
> >only one with actively used quotas. I'll test the more thoroughly  =20
> >this evening.
>=20
> I had problems with snapshots and hangs in 5.x.  For that, a daily =20
> reboot would keep the problems at bay.  I upgraded to 6.0 and the =20
> problems completely disappeared.  I kept 6.0-STABLE running for weeks. =
=20
>  Somewhere along the line, as 6.1 approached, similar problems =20
> re-appeared, but not exactly the same as what I had in 5.x.  Now =20
> instead of a complete system hang, individual processes will hang =20
> while attempting to access a certain filesystem.  I'm running =20
> 6.1-PRERELEASE from April 2 and for some reason since this weekend it =20
> has happened more often, but I'm not sure why since I haven't made any =
=20
> system changes since April 2.
>=20
> I also am using quotas heavily with this system, and snapshoting every =
=20
> filesystem once a day.  The filesystem which processes will hang on =20
> when attempting to access it happens to be the one with quotas enabled.
>=20
> I'm going to update to the latest 6.1 code this evening and enable =20
> INVARIANTS, WITNESS, and the two DEBUG_LOCKS options to the kernel to =20
> see if it catches anything.
>=20
Please, also add DDB to the kernel and show the result of the
show lockedvnodes
alltrace
ps
in the DDB after the deadlock, as asked by Kris Kennaway earlier
in this thread !

--lMM8JwqTlfDpEaS6
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFETiWkC3+MBN1Mb4gRAjbNAKD0HLi5dEAAoA3C23YyyDjkJgepyACgzUC0
HzozreZg10sznXqZhXIqFzE=
=LYAt
-----END PGP SIGNATURE-----

--lMM8JwqTlfDpEaS6--



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