Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jun 2004 12:07:02 -0400
From:      Sven Willenberger <sven@dmv.com>
To:        current@freebsd.org
Cc:        Gleb Smirnoff <glebius@cell.sick.ru>
Subject:   Re: panic: kmem_malloc(4096) on an SMP box
Message-ID:  <40CC7BA6.8010308@dmv.com>
In-Reply-To: <20040613085526.GA11577@cell.sick.ru>
References:  <20040613085526.GA11577@cell.sick.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40CC7BA6.8010308>