Date: Tue, 27 Feb 2007 16:28:44 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Mikhail Teterin <mi+kde@aldan.algebra.com> Cc: stable@freebsd.org, Alex Kozlov <spam@rm-rf.kiev.ua>, Kris Kennaway <kris@obsecurity.org> Subject: Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up Message-ID: <20070227212844.GA57256@xor.obsecurity.org> In-Reply-To: <200702271624.21474@aldan> References: <200702271059.09230@aldan> <20070227210943.GA56889@xor.obsecurity.org> <200702271624.21474@aldan>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF5KKMWry0BWjoQKURAinzAJ9NFZvFg9BWCOiYw8m2Oz6JRpAaQQCeJZ0L 0JKukYcnWKVPux2s0XMdeDc= =peHL -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227212844.GA57256>
