From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756796AbZEOS3l (ORCPT ); Fri, 15 May 2009 14:29:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756764AbZEOS3X (ORCPT ); Fri, 15 May 2009 14:29:23 -0400 Received: from smtp3.ultrahosting.com ([74.213.175.254]:45009 "EHLO smtp.ultrahosting.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756280AbZEOS3W (ORCPT ); Fri, 15 May 2009 14:29:22 -0400 Date: Fri, 15 May 2009 13:59:50 -0400 (EDT) From: Christoph Lameter X-X-Sender: cl@qirst.com To: Pavel Machek cc: Dave Hansen , David Rientjes , Andrew Morton , Greg Kroah-Hartman , Nick Piggin , Mel Gorman , Peter Ziljstra , San Mehat , Arve Hj?nnev?g , linux-kernel@vger.kernel.org Subject: Re: Misleading OOM messages In-Reply-To: <20090515130547.GA1976@elf.ucw.cz> Message-ID: References: <20090514092909.GG1365@ucw.cz> <1242333519.15391.210.camel@nimitz> <1242335120.15391.242.camel@nimitz> <20090514213403.GB14741@elf.ucw.cz> <1242337299.28440.47.camel@nimitz> <20090515130547.GA1976@elf.ucw.cz> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 15 May 2009, Pavel Machek wrote: > Ok, so kernel should be fixed to make limits 30% of non-mlocked > memory. There is already ulimit. > > folks. They go sucking up and locking as much memory as they can get > > their hands on. Adding memory never helps them because they'll use up > > whatever is there. > > Well, but it is uncommon everywhere else. If you have desktop system, > job size is pretty much constant. If you have too little memory, you > OOM. Nope. If you have too little memory for your app then the kernel pages portions of the app out to disk. Thats is why you have a VM (VIRTUAL machine). The app is not running with physical memory.