From owner-freebsd-stable@FreeBSD.ORG Mon Mar 5 03:59:47 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 2CE3116A406 for ; Mon, 5 Mar 2007 03:59:47 +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 17A8113C428 for ; Mon, 5 Mar 2007 03:59:47 +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 ECA641A4D9D; Sun, 4 Mar 2007 19:59:46 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 415B2513E9; Sun, 4 Mar 2007 22:59:46 -0500 (EST) Date: Sun, 4 Mar 2007 22:59:46 -0500 From: Kris Kennaway To: Yar Tikhiy Message-ID: <20070305035945.GA71660@xor.obsecurity.org> References: <20070227205351.GA72597@ravenloft.kiev.ua> <200702271603.30481@aldan> <20070304075946.GH40430@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20070304075946.GH40430@comp.chem.msu.su> User-Agent: Mutt/1.4.2.2i Cc: stable@freebsd.org, Alex Kozlov , Mikhail Teterin 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: Mon, 05 Mar 2007 03:59:47 -0000 --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 04, 2007 at 10:59:46AM +0300, Yar Tikhiy wrote: > On Tue, Feb 27, 2007 at 04:03:30PM -0500, Mikhail Teterin wrote: > > On Tuesday 27 February 2007 15:53, Alex Kozlov wrote: > > =3D > Yes, I switched to swap-backed md already. But the malloc-based v= ariety is=20 > > =3D > currently the _default_ (see /etc/defaults/rc.conf)... > > =3D Bad default. > >=20 > > Filing a PR. >=20 > Keep in mind that changing the default can break existing setups. > Such setups are likely to be broken anyway, but... E.g., if we > drop the -M flag, it will break systems with tons of RAM but little > swap using tmpmfs. How will it break them? swap backing only touches swap if there is memory pressure, i.e. precisely the situation in which malloc backing will panic. Kris --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF65WxWry0BWjoQKURAuITAJ9wBrTFahsWSQJu+WgTByF46aq3uQCg+qkA yoeu3s4iju7hHWKy7BEx/0A= =y8Ta -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--