Date: Sun, 15 Jun 2003 09:30:15 -0700 (PDT) From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/53350: fill up a malloc md-disk on 5.1-R causes panic Message-ID: <200306151630.h5FGUFGV084676@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/53350; it has been noted by GNATS.
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To: Jay Kuri <jay@oneway.com>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: kern/53350: fill up a malloc md-disk on 5.1-R causes panic
Date: Sun, 15 Jun 2003 18:24:17 +0200
>>Description:
> If you have a 5.1-R system with, say, 256M of ram
>and you mdconfig one or several malloc md-devices totalling around 100M,
>if you attempt to use them to capacity, the machine will panic. The
>message given is:
>
> panic: kmem_malloc(4096): kmem_map too small: 108347392 total allocated
It's really very simple: You ran out of kernel mapped memory ("KVM").
Remedy: Don't Do That.
See also: malloc(9), md(4)
This PR can be closed.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306151630.h5FGUFGV084676>
