Date: Tue, 08 Apr 2008 00:37:25 -0700 From: LI Xin <delphij@delphij.net> To: =?ISO-8859-1?Q?Johan_Str=F6m?= <johan@headweb.com> Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>, freebsd-stable@freebsd.org Subject: Re: ZFS deadlock Message-ID: <47FB20B5.8050205@delphij.net> In-Reply-To: <0B67CBBD-11CB-44C2-807D-5F00654CDD35@headweb.com> References: <0B67CBBD-11CB-44C2-807D-5F00654CDD35@headweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE795D5CFBD7AB26F932D8DB3 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Johan Str=F6m wrote: > Hello >=20 > A box of mine running RELENG_7_0 and ZFS over a couple of disks (6=20 > disks, 3 mirrors) seems to have gotten stuck. From Ctrl-T: >=20 > load: 0.50 cmd: zsh 40188 [zfs:&buf_hash_table.ht_locks[i].ht_lock]=20 > 0.02u 0.04s 0% 3404k > load: 0.43 cmd: zsh 40188 [zfs:&buf_hash_table.ht_locks[i].ht_lock]=20 > 0.02u 0.04s 0% 3404k > load: 0.10 cmd: zsh 40188 [zfs:&buf_hash_table.ht_locks[i].ht_lock]=20 > 0.02u 0.04s 0% 3404k > load: 0.10 cmd: zsh 40188 [zfs:&buf_hash_table.ht_locks[i].ht_lock]=20 > 0.02u 0.04s 0% 3404k > load: 0.11 cmd: zsh 40188 [zfs:&buf_hash_table.ht_locks[i].ht_lock]=20 > 0.02u 0.04s 0% 3404k >=20 > Worked for a while then that stopped working too (was over ssh). When=20 > trying a local login i only got >=20 > load: 0.09 cmd: login 1611 [zfs] 0.00u 0.00s 0% 208k >=20 > I found one post like this earlier (by Xin LI), but nobody seemed to=20 > have replied... > in my current conf, I think my kmem/kmem_max is at 512Mb (not sure=20 > though, since I've edited my file yesterday for next reboot), with 2G o= f=20 > system RAM.. Normally I'd run kmem(max) 1G (with arcsize of 512M.=20 > currently it is at default), but since I just got back to 2G total mem = > after some hardware problems I've been runnig at those lows (1G total i= s=20 > kindof tight with zfs..) >=20 > Well, just wanted to report... The box is not totally dead yet, ie I ca= n=20 > still do Ctrl-T on console, but thats it.. I don't really know what mor= e=20 > I can do so.. I don't have KDB/DDB. > I'll wait another hour or so before I hard reboot it, unless it=20 > "unlocks" or if anyone have any suggestions. The key is to increase your kmem and prevent it from being exhausted. I = think more recent OpenSolaris's ZFS code has some improvements but I do=20 not have spare devices at hand to test and debug :( Maybe pjd@ would get a new import at some point? I have cc'ed him. Cheers, --=20 Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enigE795D5CFBD7AB26F932D8DB3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH+yC1OfuToMruuMARCqN0AKCIKKc84mc47mc70QEHXgI3cbIzlACfclIE OCVHk4KNeYm7i6JdbM+7dkI= =yO3F -----END PGP SIGNATURE----- --------------enigE795D5CFBD7AB26F932D8DB3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47FB20B5.8050205>