From owner-freebsd-current@FreeBSD.ORG Sun Sep 23 21:18:28 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 4588E16A419 for ; Sun, 23 Sep 2007 21:18:28 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 03C8B13C465 for ; Sun, 23 Sep 2007 21:18:27 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org ([192.147.25.65]:58413) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1IZYqP-000Auk-6Y; Sun, 23 Sep 2007 16:18:26 -0500 Date: Sun, 23 Sep 2007 16:18:20 -0500 (CDT) From: Larry Rosenman To: Claus Guttesen In-Reply-To: Message-ID: <20070923161722.B41582@thebighonker.lerctr.org> 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; format=flowed X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8,BAYES_00=-2.599 X-LERCTR-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8,BAYES_00=-2.599 DomainKey-Status: no signature Cc: Darren Reed , freebsd-current@freebsd.org 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 21:18:28 -0000 On Sun, 23 Sep 2007, Claus Guttesen wrote: >> 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 > > How much ram do you have? Is this amd64 or i386? In my case, 4Gig ram, amd64, and I've seen the panic even with 750M vm.kmem_size. Do we have guidelines on what vm.kmem_size(|_max) should be set to? LER > > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893