Hi folks, I just upgraded a zfs server from 7.0-something to 7.2-stable and hoped to get rid of some minor instabilities I experienced every 6 months or so. Unfortunately, the new system crashed for the first time after only a few hours when copying some files via scp onto it. I got a kernel panic which looked quite similar to the one reported here (kmem_map too small): <http://www.archivum.info/freebsd-fs@freebsd.org/2009-04/00071/FreeBSD_7.2-RC1_-_ZFS_related_kernel_panic_quot_kmem_map_too_small_quot> I have a dual cpu dual core opteron system with 4GB of RAM and a 3-disk raidz1. I took out the memory settings from loader.conf as suggested in UPDATING. I did not yet upgrade zpool nor zfs version (would that help?). Are there any known issues or any further hints what might cause the crash? I copied the files again, but this time everything went fine. cu Gerrit
On Sep 8, 2009, at 5:23 PM, Gerrit K?hn wrote:> Hi folks, > > I just upgraded a zfs server from 7.0-something to 7.2-stable and > hoped to > get rid of some minor instabilities I experienced every 6 months or > so. > Unfortunately, the new system crashed for the first time after only > a few > hours when copying some files via scp onto it. > I got a kernel panic which looked quite similar to the one reported > here > (kmem_map too small): > <http://www.archivum.info/freebsd-fs@freebsd.org/2009-04/00071/FreeBSD_7.2-RC1_-_ZFS_related_kernel_panic_quot_kmem_map_too_small_quot > > > > I have a dual cpu dual core opteron system with 4GB of RAM and a 3- > disk > raidz1. I took out the memory settings from loader.conf as suggested > in > UPDATING. I did not yet upgrade zpool nor zfs version (would that > help?). > Are there any known issues or any further hints what might cause the > crash? I copied the files again, but this time everything went fine.Hmm. Do you use i386 or amd64? This panic is (was?) pretty common on i386 before tuning, but... 4GB RAM and an Opteron should have you running amd64, no? Regards, Thomas
On Tue, Sep 08, 2009 at 05:23:32PM +0200, Gerrit K?hn wrote:> Hi folks, > > I just upgraded a zfs server from 7.0-something to 7.2-stable and hoped to > get rid of some minor instabilities I experienced every 6 months or so. > Unfortunately, the new system crashed for the first time after only a few > hours when copying some files via scp onto it. > I got a kernel panic which looked quite similar to the one reported here > (kmem_map too small): > <http://www.archivum.info/freebsd-fs@freebsd.org/2009-04/00071/FreeBSD_7.2-RC1_-_ZFS_related_kernel_panic_quot_kmem_map_too_small_quot> > > I have a dual cpu dual core opteron system with 4GB of RAM and a 3-disk > raidz1. I took out the memory settings from loader.conf as suggested in > UPDATING. I did not yet upgrade zpool nor zfs version (would that help?). > Are there any known issues or any further hints what might cause the > crash? I copied the files again, but this time everything went fine.If this is amd64, add vm.kmem_size="4G" to your loader.conf back. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090908/53a4bc4a/attachment.pgp
On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek <pjd@FreeBSD.org> wrote about Re: zfs kernel panic: PJD> If this is amd64, add vm.kmem_size="4G" to your loader.conf back. Yes, it is amd64 (sorry I did not mention that). I will add the option back (the one I used before was set to a somewhat lower value, something like 2G afaicr). cu Gerrit
On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek <pjd@FreeBSD.org> wrote about Re: zfs kernel panic: PJD> If this is amd64, add vm.kmem_size="4G" to your loader.conf back. What about vm.kmem_size_max? Does that also need tuning? cu Gerrit
On Wed, Sep 09, 2009 at 09:07:15AM +0200, Gerrit K?hn wrote:> On Tue, 8 Sep 2009 18:44:13 +0200 Pawel Jakub Dawidek <pjd@FreeBSD.org> > wrote about Re: zfs kernel panic: > > PJD> If this is amd64, add vm.kmem_size="4G" to your loader.conf back. > > What about vm.kmem_size_max? Does that also need tuning?No, this should be auto-tuned to some very large value. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090909/2bdfd8aa/attachment.pgp