From owner-freebsd-hackers@FreeBSD.ORG Fri May 22 02:09:52 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 8AD5A1065670 for ; Fri, 22 May 2009 02:09:52 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from ita.aagh.net (ita.aagh.net [208.86.225.114]) by mx1.freebsd.org (Postfix) with ESMTP id 602DF8FC1F for ; Fri, 22 May 2009 02:09:52 +0000 (UTC) (envelope-from tom.hurst@clara.net) Received: from cpc1-hart9-2-0-cust900.11-3.cable.virginmedia.com ([86.30.3.133] helo=voi.aagh.net ident=mailnull) by ita.aagh.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1M7Jlv-0001bt-VA; Fri, 22 May 2009 01:42:08 +0000 Received: from freaky by voi.aagh.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1M7Jlu-000GlA-A5; Fri, 22 May 2009 02:42:06 +0100 Date: Fri, 22 May 2009 02:42:06 +0100 From: Thomas Hurst To: Nate Eldredge Message-ID: <20090522014206.GA62573@voi.aagh.net> Mail-Followup-To: Nate Eldredge , Yuri , freebsd-hackers@freebsd.org References: <4A14F58F.8000801@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Not much. User-Agent: Mutt/1.5.19 (2009-01-05) Cc: Yuri , freebsd-hackers@freebsd.org 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 02:09:52 -0000 * Nate Eldredge (neldredge@math.ucsd.edu) wrote: > 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. I seem to remember a patch to disable overcommit. Here we go: http://people.freebsd.org/~kib/overcommit/ -- Thomas 'Freaky' Hurst http://hur.st/