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



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

Attachment: pgpPGOrNLn9aY.pgp
Description: PGP signature