Date: Fri, 22 May 2009 11:32:17 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Nate Eldredge <neldredge@math.ucsd.edu>, Yuri <yuri@rawbw.com>, freebsd-hackers@freebsd.org Subject: Re: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls? Message-ID: <20090522083217.GZ1927@deviant.kiev.zoral.com.ua> In-Reply-To: <20090522014206.GA62573@voi.aagh.net> References: <4A14F58F.8000801@rawbw.com> <Pine.GSO.4.64.0905202344420.1483@zeno.ucsd.edu> <20090522014206.GA62573@voi.aagh.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--JQJYpj0es6mGpGbU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 22, 2009 at 02:42:06AM +0100, Thomas Hurst wrote: > * Nate Eldredge (neldredge@math.ucsd.edu) wrote: >=20 > > There may be a way to enable the conservative behavior; I know Linux > > has an option to do this, but am not sure about FreeBSD. >=20 > I seem to remember a patch to disable overcommit. Here we go: >=20 > http://people.freebsd.org/~kib/overcommit/ Latest version is at http://people.freebsd.org/~kib/overcommit/vm_overcommit.22.patch applicable to the today CURRENT. --JQJYpj0es6mGpGbU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkoWYxEACgkQC3+MBN1Mb4iBkwCg2D9rtG4ASA8fpAZNjEH6kb21 8OkAoLzWw2c/kuLFW3vjX1CnkYTFyQXn =GG7D -----END PGP SIGNATURE----- --JQJYpj0es6mGpGbU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090522083217.GZ1927>