From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 10:21:04 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 DAFC916A417; Tue, 6 Nov 2007 10:21:04 +0000 (UTC) (envelope-from BORJAMAR@SARENET.ES) Received: from proxypop2.sarenet.es (proxypop2.sarenet.es [194.30.0.95]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2B513C4A8; Tue, 6 Nov 2007 10:21:04 +0000 (UTC) (envelope-from BORJAMAR@SARENET.ES) Received: from localhost (matahari.sarenet.es [192.148.167.18]) by proxypop2.sarenet.es (Postfix) with ESMTP id DCDA47326D; Tue, 6 Nov 2007 11:20:47 +0100 (CET) Message-Id: From: Borja Marcos To: Pawel Jakub Dawidek In-Reply-To: <20071106100015.GB5268@garage.freebsd.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Date: Tue, 6 Nov 2007 11:20:34 +0100 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> X-Mailer: Apple Mail (2.912) 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 10:21:05 -0000 On Nov 6, 2007, at 11:00 AM, Pawel Jakub Dawidek wrote: >> 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 > command > that can provke the panic? loader.conf: zfs_load="YES" vfs.root.mountfrom="zfs:pool/root" vm.kmem_size_max="1610612736" vm.kmem_size="1610612736" Y bumped up the vnodes as well, as suggested at the ZFS tuning Wiki. (/etc/sysctl.conf) kern.maxvnodes: 400000 Anything else? (I just don't want to spam a big message with kernel config, etc) I don't have a fancy config as far as I know. I'm running the latest FreeBSD 7-BETA, amd64, and the machine has 4 GB of memory. It's a Dell Poweredge 2950, I'm using the mfi passthough devices as disks (I don't want to use the disk array functionality it provides), When I did the tests I did not have a swap partition configured, but I guess it shouldn't be related (4 GB is plenty of memory). Anyway I'm going to try again with a swap partition today. (_Not_ on ZFS) so that I can get a kernel dump as well. Thank you very much, Borja. > ---------------- "The thing he realised about the windows was this: because they had been converted into openable windows after they had first been designed to be impregnable, they were, in fact, much less secure than if they had been designed as openable windows in the first place." Douglas Adams, "Mostly Harmless"