panic: kmem_malloc(4096) on an SMP box

Sven Willenberger sven at
Sun Jun 13 16:07:42 GMT 2004

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 

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


More information about the freebsd-current mailing list