From owner-freebsd-stable@FreeBSD.ORG Tue Feb 27 21:28:45 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAEF616A401 for ; Tue, 27 Feb 2007 21:28:45 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9570F13C441 for ; Tue, 27 Feb 2007 21:28:45 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 77E801A3C1C; Tue, 27 Feb 2007 13:28:45 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A825B513EB; Tue, 27 Feb 2007 16:28:44 -0500 (EST) Date: Tue, 27 Feb 2007 16:28:44 -0500 From: Kris Kennaway To: Mikhail Teterin Message-ID: <20070227212844.GA57256@xor.obsecurity.org> References: <200702271059.09230@aldan> <20070227210943.GA56889@xor.obsecurity.org> <200702271624.21474@aldan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <200702271624.21474@aldan> User-Agent: Mutt/1.4.2.2i Cc: stable@freebsd.org, Alex Kozlov , Kris Kennaway Subject: Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 21:28:45 -0000 --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--