From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 12:55:38 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC77116A41A; Tue, 6 Nov 2007 12:55:38 +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 29DD913C48A; Tue, 6 Nov 2007 12:55:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 65B4B45F5C; Tue, 6 Nov 2007 13:55:19 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 63FC945EE5; Tue, 6 Nov 2007 13:55:10 +0100 (CET) Date: Tue, 6 Nov 2007 13:55:03 +0100 From: Pawel Jakub Dawidek To: Borja Marcos Message-ID: <20071106125503.GN5268@garage.freebsd.pl> References: <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <20071105215035.GC26730@heff.fud.org.nz> <2e77fc10711051531k41e7224dq6aaedb35cad8d9f2@mail.gmail.com> <6214AB9C-9F9B-4B9D-8B05-0B3DF5F6C16D@SARENET.ES> <20071106100015.GB5268@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="j/HO4hzKTNbM1mOX" 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=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org, Niki Denev , freebsd-current@freebsd.org Subject: Re: ZFS kmem_map too small. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2007 12:55:38 -0000 --j/HO4hzKTNbM1mOX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 06, 2007 at 11:20:34AM +0100, Borja Marcos wrote: >=20 > On Nov 6, 2007, at 11:00 AM, Pawel Jakub Dawidek wrote: >=20 > >>The machine has 6 hard disks configured as a raidz2 pool. > >> > >>Please let me know of any test anyone might need. > > > >If you use vm_kern.c.2.patch, can you show loader.conf and exact =20 > >command > >that can provke the panic? >=20 > loader.conf: > zfs_load=3D"YES" > vfs.root.mountfrom=3D"zfs:pool/root" > vm.kmem_size_max=3D"1610612736" > vm.kmem_size=3D"1610612736" >=20 > Y bumped up the vnodes as well, as suggested at the ZFS tuning Wiki. >=20 > (/etc/sysctl.conf) > kern.maxvnodes: 400000 The Wiki should be changed. Allow ZFS to autotune it, don't tune it by hand. > Anything else? (I just don't want to spam a big message with kernel =20 > config, etc) I asked about exact command to trigger the panic. > When I did the tests I did not have a swap partition configured, but I = =20 > guess it shouldn't be > related (4 GB is plenty of memory). Anyway I'm going to try again with = =20 > a swap partition today. > (_Not_ on ZFS) so that I can get a kernel dump as well. Yes, do not use swap on ZFS. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --j/HO4hzKTNbM1mOX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHMGQnForvXbEpPzQRAsZCAJ9ePHQT/PqSjkfe3wB1lCXNXUkYowCghloH y4FVicWAH0M7aqSnuoNy3Is= =CpAD -----END PGP SIGNATURE----- --j/HO4hzKTNbM1mOX--