panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up

Kris Kennaway kris at obsecurity.org
Tue Feb 27 21:28:45 UTC 2007


On Tue, Feb 27, 2007 at 04:24:21PM -0500, Mikhail Teterin wrote:
> On Tuesday 27 February 2007 16:09, Kris Kennaway wrote:
> = Documented in the manpage, use swap backing or reserve enough space.
> = 
> = Kris
> 
> The strings "panic" and "-o reserve" are mentioned in neither mdmfs(8) nor in 
> rc.conf(5)... Is one supposed to look elsewhere?

Yes, mdconfig, which is what creates the device (mdmfs is a legacy
wrapper for 4.x compatibility).

> Worse, the use of malloc-based mds is touted in rc.conf as something, that is 
> supposed to help "system stability at low memory conditions".
> 
> All I did on this system, was set 
> 
> 	tmpmfs="YES"
> 	tmpsize="2048m"
> 
> in the /etc/rc.conf.
> 
> Alex has already said, that using malloc-backed md is a bad default -- do you 
> disagree?

No, that's what I said too (on this occasion and several times in the
past :).

I am not aware of a good reason to use malloc backing over swap, under
any circumstances.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070227/0175e677/attachment.pgp


More information about the freebsd-stable mailing list