Re: panic: kmem_malloc(4096) on an SMP box

From: Sven Willenberger <sven_at_dmv.com>
Date: Sun, 13 Jun 2004 12:07:02 -0400
Gleb Smirnoff wrote:

>   Today we have evidenced a panic on a DELL PowerEdge 1400
> with two processors on board:
> 
> panic: kmem_malloc(4096): kmem_map too small: 209715200 total allocated
> cpuid = 0; 
> 

On our 2G RAM supermicro systems the following in the kernel config file 
worked:

options			VM_KMEM_SIZE_SCALE="2"
options			VM_KMEM_SIZE_MAX="(512*1024*1024)"


If you are using 4G+ you may want to increase  MAX and perhaps reduce 
scaling and also add:

options			KVA_PAGES=512

Sven
Received on Sun Jun 13 2004 - 14:07:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC