Date: Tue, 12 Oct 2010 17:36:54 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Willem Jan Withagen <wjw@digiware.nl> Cc: fs@freebsd.org Subject: Re: ZFS freeze/livelock Message-ID: <20101012153654.GC2197@garage.freebsd.pl> In-Reply-To: <4CB1DD0F.6000209@digiware.nl> References: <4CB1DD0F.6000209@digiware.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 10, 2010 at 05:34:39PM +0200, Willem Jan Withagen wrote: > Hi, >=20 > Just had my FreeBSD freeze on me with what I would think is sort of an=20 > livelock.... >=20 > While I was receiving zfs snapshots on my data pool. >=20 > Top and systat just kept running, > but anything getting near a shell (and perhaps disk-io) ended up in: >=20 > root@zfs.digiware.nl# gpart create -s gpt da6 > load: 0.00 cmd: csh 12393 [zfsvfs->z_teardown_inactive_lock] 26.12r=20 > 0.00u 0.00s 0% 2480k > load: 0.10 cmd: csh 12393 [zfsvfs->z_teardown_inactive_lock] 96.01r=20 > 0.00u 0.00s 0% 2480k >=20 > Trying to execute to execute shutdown -r now had no effect what so ever. > Neither did the three-finger salute. > (Well at least not in 60 sec I was willing to wait.) >=20 > Only way out of this situation was hard-reset. And I do have to admit I= =20 > like ZFS for the speed it recovers after unexpected reboot. >=20 > To bad there was no alt-ctrl-backspace escape to debugger compiled in.=20 > I'll do that with the next kernel, just in case. >=20 > So the only data point I can give is the ^T output above. Maybe you still be able to provide backtraces for all processes with 'procstat -kk'? It looks like a deadlock related to 'zfs recv' or maybe unmounting? --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --AH+kv8CCoFf6qPuz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAky0gJYACgkQForvXbEpPzS1ZACcCYlCU1FDvjh2CwisjKooP8Fw knsAn0WiZ5k+UQ1rHplkAJ22lq5J8GlA =cCrM -----END PGP SIGNATURE----- --AH+kv8CCoFf6qPuz--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101012153654.GC2197>