Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751344AbZFTEdq (ORCPT ); Sat, 20 Jun 2009 00:33:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752829AbZFTEdb (ORCPT ); Sat, 20 Jun 2009 00:33:31 -0400 Received: from mga03.intel.com ([143.182.124.21]:61267 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752180AbZFTEd2 (ORCPT ); Sat, 20 Jun 2009 00:33:28 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.42,257,1243839600"; d="scan'208";a="156653029" Date: Sat, 20 Jun 2009 12:33:04 +0800 From: Wu Fengguang To: Andrew Morton Cc: David Howells , LKML , Christoph Lameter , KOSAKI Motohiro , "hannes@cmpxchg.org" , "peterz@infradead.org" , "riel@redhat.com" , "tytso@mit.edu" , "linux-mm@kvack.org" , "elladan@eskimo.com" , "npiggin@suse.de" , "minchan.kim@gmail.com" Subject: Re: [PATCH 0/3] make mapped executable pages the first class citizen Message-ID: <20090620043303.GA19855@localhost> References: <32411.1245336412@redhat.com> <20090517022327.280096109@intel.com> <2015.1245341938@redhat.com> <20090618095729.d2f27896.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090618095729.d2f27896.akpm@linux-foundation.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2592 Lines: 66 On Thu, Jun 18, 2009 at 09:57:29AM -0700, Andrew Morton wrote: > On Thu, 18 Jun 2009 17:18:58 +0100 David Howells wrote: > > > > > Okay, after dropping all my devel patches, I got the OOM to happen again; > > fresh trace attached. I was running LTP and an NFSD, and I was spamming the > > NFSD continuously from another machine (mount;tar;umount;repeat). > > > > > > ... > > > > Mem-Info: > > DMA per-cpu: > > CPU 0: hi: 0, btch: 1 usd: 0 > > CPU 1: hi: 0, btch: 1 usd: 0 > > DMA32 per-cpu: > > CPU 0: hi: 186, btch: 31 usd: 57 > > CPU 1: hi: 186, btch: 31 usd: 0 > > Active_anon:70104 active_file:1 inactive_anon:6557 > > inactive_file:0 unevictable:0 dirty:0 writeback:0 unstable:0 > > free:4062 slab:41969 mapped:541 pagetables:59663 bounce:0 > > 77000 pages in anonymous memory, no swap online. > > 42000 pages in slab. Maybe this is a leak? > > 60000 pagetable pages. Seems rather a lot? > > 179000 pages accounted for above > > > DMA free:3920kB min:60kB low:72kB high:88kB active_anon:2268kB inactive_anon:428kB active_file:0kB inactive_file:0kB unevictable:0kB present:15364kB pages_scanned:0 all_unreclaimable? no > > lowmem_reserve[]: 0 968 968 968 > > DMA32 free:12328kB min:3948kB low:4932kB high:5920kB active_anon:278148kB inactive_anon:25800kB active_file:4kB inactive_file:0kB unevictable:0kB present:992032kB pages_scanned:0 all_unreclaimable? no > > lowmem_reserve[]: 0 0 0 0 > > DMA: 8*4kB 0*8kB 1*16kB 1*32kB 2*64kB 1*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3920kB > > DMA32: 2474*4kB 56*8kB 8*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 12328kB > > present memory: 15364 + 992032 = 1007396kB. 250000 pages. It's a 1GB > box, yes? > > > 1660 total pagecache pages > > 0 pages in swap cache > > Swap cache stats: add 0, delete 0, find 0/0 > > Free swap = 0kB > > Total swap = 0kB > > 255744 pages RAM > > 5588 pages reserved > > 255749 pages shared > > 215785 pages non-shared > > Out of memory: kill process 6838 (msgctl11) score 152029 or a child > > Killed process 8850 (msgctl11) > > afacit, 70000 pages are unaccounted for (leaked?) David, could you try running this when it occurred again? make Documentation/vm/page-types Documentation/vm/page-types --raw # run as root Thanks, Fengguang -- 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/