Date: Mon, 21 Nov 2005 23:39:52 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Greg Rivers <gcr+freebsd-stable@tharned.org> Cc: freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: Recurring problem: processes block accessing UFS file system Message-ID: <20051122043952.GA14168@xor.obsecurity.org> In-Reply-To: <20051121205535.W32523@nc8000.tharned.org> References: <20051121164139.T48994@w10.sac.fedex.com> <20051122021224.GA12402@xor.obsecurity.org> <20051121205535.W32523@nc8000.tharned.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 21, 2005 at 09:23:10PM -0600, Greg Rivers wrote: > On Mon, 21 Nov 2005, Kris Kennaway wrote: >=20 > >Looks like a UFS snapshot deadlock. Are you running something like dump= =20 > >-L on this filesystem, or making other use of snapshots? > > >=20 > Indeed I am (dump -L), but as I said (not very clearly, sorry), the=20 > deadlock also occurs under normal operation when no snapshots are running= =20 > or have ever been run since boot. It's just much less frequent in this= =20 > case. Disabling dumps altogether was one of the first things I tried. It may not be the same problem. You should also try to obtain a trace when snapshots are not implicated. 'show lockedvnods' is very important for diagnosing filesystem deadlocks, and 'alltrace' is the easiest way to obtain stack traces for the resulting processes that are holding locks. You'll want to 'set $lines=3D0' and capture the output from the serial console to a file. Kris --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDgqEYWry0BWjoQKURAirqAKCzyYZH1aczArEQKm0DmkgvUZTkfQCgzcrI 4qWa914WwTsRi94jf/zFcLU= =m+EA -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051122043952.GA14168>