From owner-freebsd-fs@FreeBSD.ORG Fri Oct 5 14:48:13 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63A4B16A41A; Fri, 5 Oct 2007 14:48:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id EBC6113C4A5; Fri, 5 Oct 2007 14:48:12 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4472545F5E; Fri, 5 Oct 2007 16:48:10 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 28BDC45F42; Fri, 5 Oct 2007 16:48:06 +0200 (CEST) Date: Fri, 5 Oct 2007 16:47:59 +0200 From: Pawel Jakub Dawidek To: Claus Guttesen Message-ID: <20071005144759.GB98210@garage.freebsd.pl> References: <20071005000046.GC92272@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: ZFS kmem_map too small. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2007 14:48:13 -0000 --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--