Re: panic: kmem_malloc(131072): kmem_map too small (AMD64)

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Sat, 22 Sep 2007 20:08:39 -0500
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_at_allantgroup.com
Received on Sat Sep 22 2007 - 23:08:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:18 UTC