Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 1996 04:54:54 -0800
From:      David Greenman <davidg@Root.COM>
To:        davide@galactica.it
Cc:        hackers@FreeBSD.org
Subject:   Re: panic !! 
Message-ID:  <199601181254.EAA06699@Root.COM>
In-Reply-To: Your message of "18 Jan 1996 12:00:32 GMT." <199601181100.DAA25186@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Sometimes my FreeBSD 2.0 reboots saying: 
>Panic: kmem_map (or mb_map) too small !
>
>I know that this problem is caused by a vm problem,
>My system has 48mb Ram ... I think that's' enought...
>Can anyone help me to avoi this problem ?
>Can I increase the size of these maps ?

   The panic indicates that the system ran out of virtual memory for network
buffers (specifically, mbuf clusters). You can increase the amount of VM
avaliable for mbuf clusters by adding:

options "NMBCLUSTERS=<n>"

...to your kernel config file, where <n> is a number in the range 512-4096,
depending on the number of concurrent TCP connections you need to support. I'd
recommend trying 2048 - this should get rid of the panic completely. You can
monitor the number of mbuf clusters allocated/in use on the system with
netstat -m.

-DG

David Greenman
Core Team/Principal Architect, The FreeBSD Project



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