From owner-freebsd-hackers@FreeBSD.ORG Fri May 22 08:32:23 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D97F5106566B for ; Fri, 22 May 2009 08:32:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1198FC15 for ; Fri, 22 May 2009 08:32:23 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1M7QAu-000047-Lj; Fri, 22 May 2009 11:32:20 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n4M8WHxY091086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 May 2009 11:32:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n4M8WHTB079874; Fri, 22 May 2009 11:32:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n4M8WHNm079873; Fri, 22 May 2009 11:32:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 22 May 2009 11:32:17 +0300 From: Kostik Belousov To: Nate Eldredge , Yuri , freebsd-hackers@freebsd.org Message-ID: <20090522083217.GZ1927@deviant.kiev.zoral.com.ua> References: <4A14F58F.8000801@rawbw.com> <20090522014206.GA62573@voi.aagh.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JQJYpj0es6mGpGbU" Content-Disposition: inline In-Reply-To: <20090522014206.GA62573@voi.aagh.net> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.1 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1M7QAu-000047-Lj 3a0471a0d0d1a110d3aa7a80f35c0b1f X-Terabit: YES Cc: Subject: Re: Why kernel kills processes that run out of memory instead of just failing memory allocation system calls? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2009 08:32:24 -0000 --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--