Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2011 12:44:49 -0700
From:      Artem Belevich <art@freebsd.org>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Fileserver panic - FreeBSD 8.1-stable and zfs
Message-ID:  <BANLkTimZoBS7SJdOHa3KRRp1%2Bnt0ecyChQ@mail.gmail.com>
In-Reply-To: <20110602213116.425400b6.torfinn.ingolfsen@broadpark.no>
References:  <20110602213116.425400b6.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 2, 2011 at 12:31 PM, Torfinn Ingolfsen
<torfinn.ingolfsen@broadpark.no> wrote:
> FYI, in case it is interesting
> my zfs fileserver[1] just had a panic: (transcribed from screen)
> panic: kmem_malloc(131072): kmem_map too small: 1324613632 total allocate=
d
> cpuid =3D 1

It's probably one of the most frequently reported issues with ZFS.
While things got quite a bit better lately, you still need to bump up
kernel VM size with vm.kmem_size tunable. I typically set vm.kmem_size
tunable to ~2x physical memory size.

> The machine runs:
> root@kg-f2# uname -a
> FreeBSD kg-f2.kg4.no 8.1-STABLE FreeBSD 8.1-STABLE #4: Fri Oct 29 12:11:4=
8 CEST 2010 =A0 =A0 root@kg-f2.kg4.no:/usr/obj/usr/src/sys/GENERIC =A0amd64

In general you may want to update to the latest -stable. There were a
lot of ZFS fixes committed.

--Artem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimZoBS7SJdOHa3KRRp1%2Bnt0ecyChQ>