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
--BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2007 at 04:24:21PM -0500, Mikhail Teterin wrote: > On Tuesday 27 February 2007 16:09, Kris Kennaway wrote: > =3D Documented in the manpage, use swap backing or reserve enough space. > =3D=20 > =3D Kris >=20 > The strings "panic" and "-o reserve" are mentioned in neither mdmfs(8) no= r in=20 > 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, tha= t is=20 > supposed to help "system stability at low memory conditions". >=20 > All I did on this system, was set=20 >=20 > tmpmfs=3D"YES" > tmpsize=3D"2048m" >=20 > in the /etc/rc.conf. >=20 > Alex has already said, that using malloc-backed md is a bad default -- do= you=20 > 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 --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF5KKMWry0BWjoQKURAinzAJ9NFZvFg9BWCOiYw8m2Oz6JRpAaQQCeJZ0L 0JKukYcnWKVPux2s0XMdeDc= =peHL -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070227212844.GA57256>