From owner-freebsd-current@FreeBSD.ORG Sun Sep 23 01:08:41 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 2CB1516A417; Sun, 23 Sep 2007 01:08:41 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id EECA013C468; Sun, 23 Sep 2007 01:08:40 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.14.1) id l8N18dlt031616; Sat, 22 Sep 2007 20:08:39 -0500 (CDT) (envelope-from dan) Date: Sat, 22 Sep 2007 20:08:39 -0500 From: Dan Nelson To: Darren Reed Message-ID: <20070923010839.GL7562@dan.emsphone.com> References: <20070921102946.T11189@borg> <46F415BF.9010500@FreeBSD.org> <20070921140550.D96923@thebighonker.lerctr.org> <46F41CFF.6080108@FreeBSD.org> <46F58799.1030702@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46F58799.1030702@freebsd.org> X-OS: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@freebsd.org, Larry Rosenman Subject: Re: panic: kmem_malloc(131072): kmem_map too small (AMD64) 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: Sun, 23 Sep 2007 01:08:41 -0000 In the last episode (Sep 22), Darren Reed said: > Kris Kennaway wrote: >> Larry Rosenman wrote: >>> On Fri, 21 Sep 2007, Kris Kennaway wrote: >>>> Larry Rosenman wrote: >>>>> I'm a heavy ZFS user, and got the following panic on 2007-09-18 >>>>> source/world: >>>> >>>> This is a FAQ, please see the archives (you need to increase the >>>> vm.kmem_size to provide more memory to ZFS). >>> >>> I thought that was only for i386, and it hadn't been an issue before. >> >> Nope. It is also load-dependent. > > So I just received this courtesy of ZFS: > panic: kmem_malloc(131072): kmem_map too small: 343027712 total allocated > cpuid = 0 > KDB: enter: panic > > This was with these settings in loader.conf: > vm.kmem_size=419430400 > vm.kmem_size_max=419430400 > vfs.zfs.arc_max=409715200 > > (That's 400M, 400M and 40M, respectively.) That's actually 400M, 400M, and 390M; count the digits :) If you want 400M, just put "400M" in loader.conf. Makes it a lot easier to read, and harder to get wrong. -- Dan Nelson dnelson@allantgroup.com