panic: kmem_malloc; Should I increase some setting?

Doug White dwhite at gumbysoft.com
Tue Jun 29 18:24:00 PDT 2004


On Wed, 30 Jun 2004, Ronald Klop wrote:

> I get the following panics while untarring a 30MB archive on an md device
> create with:
> tmpmfs="YES"
> tmpsize="256m"

This is a malloc-backed md disk, which consumes memory directly from KVM.
If you do a large extraction it will consume all of KVM and cause your
panic.  Unless you're running diskless and this is your only option
besides NFS, either don't use tmpmfs or avoid extracting large amounts of
data to /tmp.

> panic: kmem_malloc(16384): kmem_map too small: 86233088 total allocated

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list