Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 1996 08:52:19 -0700
From:      Jim Shankland <jas@flyingfox.COM>
To:        freebsd-isp@FreeBSD.ORG, robseco@wizard.teksupport.net.au
Subject:   Re:  mb_map full
Message-ID:  <199609231552.IAA12960@saguaro.flyingfox.com>

next in thread | raw e-mail | index | archive | help
> Every 'once in a blue moon' ( 3-6 months) one of our servers
> crashes with the following error:
> 
> Sep 23 02:24:26 wizard kernel: mb_map full
> 
> Before anyone says anything, I know I need to upgrade this
> machine to 2.1.5.  However, aside from this problem it runs
> flawlessly and the upgrade is planned for next month. It is
> currently running FreeBSD 2.0-RELEASE GENERIC kernel.

Also `panic("kmem_malloc: kmem_map too small")' caused by, e.g.,
a fork() when running with high network activity (mbufs come
out of the kmem_map) and little physical memory.  Granted, when
you're out of memory, you're out of memory, but returning
EAGAIN instead of panicking would seem to be more in the spirit
of graceful degradation :-).

This was 2.1.0-RELEASE; haven't seen this yet under 2.1.5, and
haven't yet taken a close look to see if it's been fixed; but
the kmem_malloc code, at least, looks about the same as under
2.1.0.

Jim Shankland
Flying Fox Computer Systems, Inc.



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