Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262438AbTIOFQJ (ORCPT ); Mon, 15 Sep 2003 01:16:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262439AbTIOFQJ (ORCPT ); Mon, 15 Sep 2003 01:16:09 -0400 Received: from dci.doncaster.on.ca ([66.11.168.194]:62660 "EHLO smtp.istop.com") by vger.kernel.org with ESMTP id S262438AbTIOFQG (ORCPT ); Mon, 15 Sep 2003 01:16:06 -0400 To: Alan Cox Cc: Andrea Arcangeli , Marcelo Tosatti , Mike Fedyk , Antonio Vargas , lkml , Marc-Christian Petersen Subject: Re: Andrea VM changes References: <20030830231904.GL24409@dualathlon.random> <1062339003.10208.1.camel@dhcp23.swansea.linux.org.uk> In-Reply-To: <1062339003.10208.1.camel@dhcp23.swansea.linux.org.uk> From: Greg Stark Organization: The Emacs Conspiracy; member since 1992 Date: 15 Sep 2003 01:16:03 -0400 Message-ID: <87y8wq638s.fsf@stark.dyndns.tv> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1232 Lines: 26 Alan Cox writes: > On Sul, 2003-08-31 at 00:19, Andrea Arcangeli wrote: > > I've an algorithm that will work, and that will provide very good > > guarantees to kill the "best" task to make the machine usable again, > > with the needed protection against the security DoSes, but it's in > > no-way similar to the current oom killer. > > And -ac has trivial code so you can avoid OOM killing every happening, > which is pretty much essential for big servers. Perhaps merging that > as well would be a good idea. Indeed there has been an enormous amount of discussion on the postgres mailing list about how to deal with the OOM killer. The wide consensus there is that the only sane setting for a production database would be one that guarantees never to kill overcommit at all. Frankly, they're a bit in shock that this wasn't an option a long time ago. Consider e.g.: http://groups.google.com/groups?threadm=3F510688.1050709%40colorfullife.com -- greg - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/