ZFS deadlock

Rafi Rubin rafi at ugcs.caltech.edu
Sat Jul 21 11:50:33 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have a small server with a mirrored pair of hard drives that handles
generally light loads for a number of linux machines over nfs v3.

I've been seeing some deadlocks (and possibly worse) lately.  I've narrowed
down the freezing to a simple test run simultaneously on a number of the
client machines:

mount host:/food/bar
ls bar/.zfs/snapshot

When I do that, all the client machines hang on any access to the server.  On
the server, only the volume "bar" hangs, the rest are fine.

This occurs even when there is no other load on the server.  Also, after
rebooting the server, the client machines eventually complete the ls and
behave normally.


I think this doesn't happen if the directory is cached, either in memory or on
an L2 ssd, but I need to rerun some tests.

For now the machine seems to be stable with nfsd limited to a single thread.


Any help debugging would be appreciated,
Rafi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQCpeEAAoJEPILXytRLnK22rAQAJpEc9hVdfrNaqJLbqf1mwiJ
kzLAh2FHmhzWvomA6WBdpR5JZ535vkQjcd3gS9KdKjmX+KxozTGM+CiX8quJwVef
nLOXqY5KNqDLQVpfJtMbo+XybM6nmLN8YImX/wIAbVXtRYwOPLP/9yk5aYywZnPN
MFhQrh/PnMydUYJwYfZHdEGACnVJnPWord9p9OD7O7FxsItMPMDNRZPrLr2BEHPm
LheVqXSXsvBe8w/CtQXoyCvWRr9J+bA2/Djid6RNpUMH7S8f6+xKzlYxrivVyFjY
s88NiCbDrOefNEJMldsBeSrC/G3ZTM2iMZMr7KV9hqGbp9rJvth9KZsoGkpjyA9F
//z1LNjUVoc+ol1z0oooNKpPSEvYCU/21mTZ9lZ0p9FeRSti2jH33zyYXmv5N8TO
6pjkO14TpBby/j1uNI3CxKGp3XN/o67AkpCBcJFQqfmFC2o0wx6f1PTqbAvSIwR3
M+srT/plBIx0CI53WYMnSunaw126ZxbiT9UiK+7OoAwXT5v62Wi7bWU0Jd5Ezbvc
8Bo+RbkVnEuLW0xTr0gbEXJy2m3/Gmq+G570D7bEqiXdZG3gpcehXEZ9tCStQ1ZM
QNtf7lFmgamsBETyiaIbj9U0fDd/1Uddp5dHjxccF5qOBs7CNnCdJ+YAcpkT+Rup
KMPYRNrdyABggVIrkkPg
=4BS7
-----END PGP SIGNATURE-----


More information about the freebsd-fs mailing list