Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756742AbXLNRwM (ORCPT ); Fri, 14 Dec 2007 12:52:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753017AbXLNRv5 (ORCPT ); Fri, 14 Dec 2007 12:51:57 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:35540 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753607AbXLNRv4 (ORCPT ); Fri, 14 Dec 2007 12:51:56 -0500 Date: Fri, 14 Dec 2007 09:50:23 -0800 From: Andrew Morton To: Dhaval Giani Cc: Tejun Heo , Greg KH , stable@kernel.org, lkml , maneesh@linux.vnet.ibm.com, Srivatsa Vaddagiri , Balbir Singh , Gautham Shenoy Subject: Re: 2.6.22-stable causes oomkiller to be invoked Message-Id: <20071214095023.b5327703.akpm@linux-foundation.org> In-Reply-To: <20071214161637.GA2687@linux.vnet.ibm.com> References: <20071213123333.GA16905@linux.vnet.ibm.com> <20071213132326.GC16905@linux.vnet.ibm.com> <20071213151847.GB5676@linux.vnet.ibm.com> <20071213162936.GA7635@suse.de> <20071213164658.GA30865@linux.vnet.ibm.com> <20071213175423.GA2977@linux.vnet.ibm.com> <476295FF.1040202@gmail.com> <20071214154711.GD23670@linux.vnet.ibm.com> <4762A721.7080400@gmail.com> <20071214161637.GA2687@linux.vnet.ibm.com> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1427 Lines: 35 On Fri, 14 Dec 2007 21:46:37 +0530 Dhaval Giani wrote: > On Sat, Dec 15, 2007 at 12:54:09AM +0900, Tejun Heo wrote: > > Dhaval Giani wrote: > > > XXX sysfs_page_cnt=1 > > > > Hmm.. so, sysfs r/w buffer wasn't the culprit. I'm curious what eats up > > all your low memory. Please do the following. > > > > 1. Right after boot, record /proc/meminfo and slabinfo. > > > > 2. After or near OOM, record /proc/meminfo and slabinfo. This can be > > tricky but if your machine reliably OOMs after 10mins, run it for 9mins > > and capturing the result should show enough. > > > > Attached. The results are after oom, but i think about a min or so after > that. I missed the oom point. Looking back at your original oom-killer output: something has consumed all your ZONE_NORMAL memory and we cannot tell what it is. Please run 2.6.24-rc5-mm1 again (with CONFIG_PAGE_OWNER=y) and take a peek at the changelog in ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc5/2.6.24-rc5-mm1/broken-out/page-owner-tracking-leak-detector.patch. Build up Documentation/page_owner.c then cause the leak to happen then execute page_owner. Thanks. -- 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/