From owner-freebsd-fs@FreeBSD.ORG Fri Jul 13 15:07:10 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1300B106566B for ; Fri, 13 Jul 2012 15:07:10 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.29.23]) by mx1.freebsd.org (Postfix) with ESMTP id C10708FC08 for ; Fri, 13 Jul 2012 15:07:09 +0000 (UTC) Received: from [78.35.148.244] (helo=fabiankeil.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1SphS0-0008An-4F; Fri, 13 Jul 2012 17:06:36 +0200 Date: Fri, 13 Jul 2012 17:06:32 +0200 From: Fabian Keil To: Lytochkin Boris Message-ID: <20120713170632.065e650e@fabiankeil.de> In-Reply-To: References: <1341864787.32803.43.camel@btw.pki2.com> <20120712151541.7f3a6886@fabiankeil.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/nBRIgBzrnRkWba/7Gs/6f6v"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS hanging X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-fs@freebsd.org List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2012 15:07:10 -0000 --Sig_/nBRIgBzrnRkWba/7Gs/6f6v Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Lytochkin Boris wrote: > On Thu, Jul 12, 2012 at 5:15 PM, Fabian Keil > wrote: > > fk@r500 ~ $zpool status > > load: 0.15 cmd: zpool 2698 [spa_namespace_lock] 543.23r 0.00u 0.12s 0%= 2908k >=20 > This sounds familiar with http://www.freebsd.org/cgi/query-pr.cgi?pr=3D16= 3770 > Try playing with kern.maxvnodes. Thanks for the suggestion, but the system is my laptop and I already set kern.maxvnodes=3D400000 which I suspect is more than I'll ever need. Currently I uses less than a tenth of this, but I'll keep an eye on it the next time the issue occurs. I usually reach this deadlock after losing the vdev in a single-vdev pool. My suspicion is that the deadlock is caused by some kind of "failure to communicate" between ZFS and the various geom layers involved. I already know that losing vdevs with the pool configuration I use can cause http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/162010 and http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/162036 and I suspect that the deadlock is just another symptom of the same issue. Fabian --Sig_/nBRIgBzrnRkWba/7Gs/6f6v Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAAOXsACgkQBYqIVf93VJ0LYgCeNmcExneJ+80TvbWRkT4lJCj2 VfkAnjTZ4cFWW9rBh12reXjgvBLu+jzU =b0B3 -----END PGP SIGNATURE----- --Sig_/nBRIgBzrnRkWba/7Gs/6f6v--