Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266425AbTGJRcd (ORCPT ); Thu, 10 Jul 2003 13:32:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269510AbTGJRcd (ORCPT ); Thu, 10 Jul 2003 13:32:33 -0400 Received: from artax.karlin.mff.cuni.cz ([195.113.31.125]:60581 "EHLO artax.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S266425AbTGJRb4 (ORCPT ); Thu, 10 Jul 2003 13:31:56 -0400 Date: Thu, 10 Jul 2003 19:46:36 +0200 (CEST) From: Mikulas Patocka To: Miquel van Smoorenburg Cc: linux-kernel@vger.kernel.org Subject: Re: 2.5.74-mm3 OOM killer fubared ? In-Reply-To: Message-ID: 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: 990 Lines: 29 > Enough memory free, no problems at all .. yet every few minutes > the OOM killer kills one of my innfeed processes. > > I notice that in -mm3 this was deleted relative to -vanilla: > > - > - /* > - * Enough swap space left? Not OOM. > - */ > - if (nr_swap_pages > 0) > - return; > > .. is that what causes this ? In any case, that should't vene matter - > there's plenty of memory in this box, all buffers and cached, but that > should be easily freed .. This is not cause, it only makes the bug more obvious. With that code it is wrong too, it would trigger exactly same unnecesary oom kills if you didn't have swap or if you had swap full and lot of free memory as dirty filesystem cache. Mikulas - 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/