Date: Mon, 15 Oct 2007 10:26:29 +0200 From: Henrik Brix Andersen <henrik@brixandersen.dk> To: Claus Guttesen <kometen@gmail.com> Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org> Subject: Re: ZFS kmem_map too small. Message-ID: <20071015082629.GB1290@tirith.brixandersen.dk> In-Reply-To: <b41c75520710081018wabadea0g32517eb99665c29a@mail.gmail.com> References: <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <b41c75520710081018wabadea0g32517eb99665c29a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 08, 2007 at 07:18:10PM +0200, Claus Guttesen wrote: > > I was able to reproduce the panic by rsyncing big files and trying > > bonnie++ test suggested in this thread. > > > > Can you guys retry with this patch: > > > > http://people.freebsd.org/~pjd/patches/vm_kern.c.2.patch > > > > It's a hack, yes, but allows to mitigate the problem quite well. I'm > > looking for a solution that can be used for 7.0 before we find a better > > fix. >=20 > Congrats Pawel! You made my server survive my rsync of 90 GB. :-) >=20 > This is on same src as the one that required a reboot except for your > patch. So this fix does 'alleviate kmem_map too small' in my case. While we have come across the 'kmem_map too small' panics in the past, these are now solved - but our rsync processes still hang at random, just spinning the CPU. This is when running multiple rsyncs to the same zpool: http://www.brixandersen.dk/tmp/zfs-rsync-debug.1.txt This is reproduceable (but only after running an intensive set of rsync processes for ~10-12 hours or so) on our i386 RELENG_7 box with the above mentioned patch, 4GB RAM, KVA_PAGES=3D512 and the following settings in loader.conf: vfs.zfs.prefetch_disable=3D"1" vfs.zfs.zil_disable=3D"1" vfs.zfs.arc_max=3D"209715200" vm.kmem_size=3D"1258291200" vm.kmem_size_max=3D"1258291200" Regards, Brix --=20 Henrik Brix Andersen <henrik@brixandersen.dk> --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: GnuPG signed iD8DBQFHEyQ0v+Q4flTiePgRAidfAJ9wrMlBNTAZTdFHju8ycTDLO3j9oQCgojS1 +A03Kj/qCExUv6TZ8AM0xsA= =KyZg -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071015082629.GB1290>