Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2010 13:29:54 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Many processes stuck in zfs
Message-ID:  <20100309122954.GE3155@garage.freebsd.pl>
In-Reply-To: <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de>
References:  <864468D4-DCE9-493B-9280-00E5FAB2A05C@lassitu.de>

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

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

On Tue, Mar 09, 2010 at 10:15:53AM +0100, Stefan Bethke wrote:
> Over the past couple of months, I've more or less regularly observed mach=
ines having more and more processes stuck in the zfs wchan.  The processes =
never recover from that, and trying to reboot only gets the entire system s=
tuck, without any console messages.  I can enter the debugger, and I have s=
aved a couple of dumps.
>=20
> The situation seems to be triggered by zfs receive'ing snapshots from the=
 sister machine (both synchronize their active ZFS filesystems to each othe=
r, using zfs send and zfs receive).  It appears it's the receiving causing =
trouble.
>=20
> Both machines run 8-stable from mid-February, with a single-disk ZFS pool=
, with ARC limited to 512M, prefetch and ZIL disabled via loader.conf.
>=20
> What should I be looking at to further diagnose?

What kind of hardware do you have there? There is 3-way deadlock I've a
fix for which would be hard to trigger on single or dual core machines.

Feel free to try the fix:

	http://people.freebsd.org/~pjd/patches/zfs_3way_deadlock.patch

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--+jhVVhN62yS6hEJ8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkuWP0EACgkQForvXbEpPzQCcQCfQqvddvCccbLw3EUv2m6jCi1u
1Y8An3FZEheJd24loScxPr/nrEy1kkM7
=wzoV
-----END PGP SIGNATURE-----

--+jhVVhN62yS6hEJ8--



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