From owner-freebsd-fs@FreeBSD.ORG Thu May 10 18:55:52 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B086516A400 for ; Thu, 10 May 2007 18:55:52 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [64.142.15.60]) by mx1.freebsd.org (Postfix) with ESMTP id 998B813C469 for ; Thu, 10 May 2007 18:55:52 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from bitblocks.com (localhost.bitblocks.com [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 66FA95B5A; Thu, 10 May 2007 11:55:52 -0700 (PDT) To: Gary Jennejohn In-reply-to: Your message of "Thu, 10 May 2007 19:26:33 +0200." <200705101726.l4AHQXi0013739@peedub.jennejohn.org> Date: Thu, 10 May 2007 11:55:52 -0700 From: Bakul Shah Message-Id: <20070510185552.66FA95B5A@mail.bitblocks.com> Cc: freebsd-fs@freebsd.org Subject: Re: zfs and kmem_map too small panic 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: Thu, 10 May 2007 18:55:52 -0000 > I'm running i386 on an AMD64 X2 with 2GB of RAM. > > I used to see panics until I made the following additions: > > /boot/loader.conf > vfs.zfs.zil_disable="1" > vm.kmem_size="536870912" > vfs.zfs.arc_max="67108865" > > /etc/sysctl.conf > kern.maxvnodes=74500 [was 100000] Many thanks! This did the trick. So far no crashes! Would be nice if correct defaults are set on loading zfs.ko.