Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2007 16:47:59 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Claus Guttesen <kometen@gmail.com>
Cc:        freebsd-fs@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: ZFS kmem_map too small.
Message-ID:  <20071005144759.GB98210@garage.freebsd.pl>
In-Reply-To: <b41c75520710050319j38c431e8l983111bf9a99fdfa@mail.gmail.com>
References:  <20071005000046.GC92272@garage.freebsd.pl> <b41c75520710050315h34f5f30awc3da2d201426742@mail.gmail.com> <b41c75520710050319j38c431e8l983111bf9a99fdfa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Oct 05, 2007 at 12:19:59PM +0200, Claus Guttesen wrote:
> > I have a server which gets these 'kmem_map too small' stops. I have an
> > Dell PE2850 and is running current as of Sept. 26'th 2007. The error
> > is easy to trigger. I have copied 90 GB of jpeg-files with a size of
> > approx. 1 MB and a thumbnail at 4 KB. These files are distributed in
> > approx. 700 folders. The files resides on it's own partition.
>=20
> Forgot to mention:
>=20
> amd64, 4 GB ram, second gen. zzzeon. qlogic hba's.
>=20
> zetta~%>more /boot/loader.conf:
> #vm.kmem_size=3D512M
> #vm.kmem_size=3D640M
> vm.kmem_size=3D768M
> #vm.kmem_size_max=3D512M
> #vm.kmem_size_max=3D640M
> vm.kmem_size_max=3D1024M
> vfs.zfs.arc_max=3D1536M

That's bad for sure. arc_max can't be larger than kmem_size. I should
tune it down automatically in that case. Try something like 700-800MB
for arc_max or increase kmem_size to 2GB.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHBk6fForvXbEpPzQRAhNrAKC7peLBE+I5heDfrch/+gkAnHg1CQCeLv5j
8U8jfxdTKZzOEomFa04LUio=
=sgzk
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071005144759.GB98210>