From owner-freebsd-stable@FreeBSD.ORG Tue Apr 25 13:35:41 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A736916A404 for ; Tue, 25 Apr 2006 13:35:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6D9843D49 for ; Tue, 25 Apr 2006 13:35:40 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k3PDZXGQ091388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Apr 2006 16:35:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k3PDZXOw061741; Tue, 25 Apr 2006 16:35:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k3PDZXJB061740; Tue, 25 Apr 2006 16:35:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 25 Apr 2006 16:35:32 +0300 From: Kostik Belousov To: Chris Dillon Message-ID: <20060425133532.GD1446@deviant.kiev.zoral.com.ua> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lMM8JwqTlfDpEaS6" Content-Disposition: inline In-Reply-To: <20060425080932.1rv9hq0rcws4wc84@www.wolves.k12.mo.us> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on fw.zoral.com.ua Cc: stable@freebsd.org, Dmitry Morozovsky , Kris Kennaway Subject: Re: fsck_ufs locked in snaplk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 13:35:41 -0000 --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 : >=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--