From owner-freebsd-stable@FreeBSD.ORG Wed Jul 23 15:44:46 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFE4337B401 for ; Wed, 23 Jul 2003 15:44:46 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E9A443F75 for ; Wed, 23 Jul 2003 15:44:46 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.9/8.12.3) with ESMTP id h6NMibqh013282; Wed, 23 Jul 2003 15:44:37 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id h6NMiaAp013277; Wed, 23 Jul 2003 15:44:36 -0700 Date: Wed, 23 Jul 2003 15:44:36 -0700 From: Brooks Davis To: Matthias Buelow Message-ID: <20030723224436.GD22166@Odin.AC.HMC.Edu> References: <20030723173427.GA72876@vmunix.com> <20030723140329.C92624@carver.gumbysoft.com> <20030723221336.GA26555@pit.databus.com> <20030723223654.GA24008@moghedien.mukappabeta.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AbQceqfdZEv+FvjW" Content-Disposition: inline In-Reply-To: <20030723223654.GA24008@moghedien.mukappabeta.net> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: Barney Wolff cc: freebsd-stable@freebsd.org cc: Gabor Subject: Re: malloc does not return null when out of memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 22:44:47 -0000 --AbQceqfdZEv+FvjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 24, 2003 at 12:36:54AM +0200, Matthias Buelow wrote: > Barney Wolff writes: >=20 > >One might argue that this is a config error, and ulimit should be used > >to cut the address space to below actually available memory. >=20 > Wasn't there a sysctl flag to enable/disable overcommitting? > I think I remember something but I can't find it; it might > not have been on FreeBSD. No there isn't. Overcommit is a fundamental design feature of the BSD VM. If you don't like it, find an OS that doesn't do it. The only one I can think of off the top of my head in Irix where I've found it to be a serious pain in the ass. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --AbQceqfdZEv+FvjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/Hw+zXY6L6fI4GtQRAsg6AJ95BgSlfEWbFU5wqRIXZn6I8rSIogCeI+b+ DBGWL17RtQYfBrKp9vhw34U= =1YO1 -----END PGP SIGNATURE----- --AbQceqfdZEv+FvjW--