From owner-freebsd-current@FreeBSD.ORG Sat Sep 22 21:21:21 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 5208016A417 for ; Sat, 22 Sep 2007 21:21:21 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 35F1F13C457 for ; Sat, 22 Sep 2007 21:21:21 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 1D05B2E855; Sat, 22 Sep 2007 17:21:20 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 22 Sep 2007 17:21:20 -0400 X-Sasl-enc: v4u8gyflqHoqQUrW9WaG5JMW82iFtZvZLbTU3Hz7s4n9 1190496079 Received: from [192.168.1.235] (64-142-85-108.dsl.dynamic.sonic.net [64.142.85.108]) by mail.messagingengine.com (Postfix) with ESMTP id 885945150; Sat, 22 Sep 2007 17:21:19 -0400 (EDT) Message-ID: <46F58799.1030702@freebsd.org> Date: Sat, 22 Sep 2007 14:22:33 -0700 From: Darren Reed User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Kris Kennaway References: <20070921102946.T11189@borg> <46F415BF.9010500@FreeBSD.org> <20070921140550.D96923@thebighonker.lerctr.org> <46F41CFF.6080108@FreeBSD.org> In-Reply-To: <46F41CFF.6080108@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 22 Sep 2007 21:21:21 -0000 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.) Stupid question, perhaps, but is vm.kmem_size/vm.kmem_size_max limited by physical RAM? Darren