From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 79BDC6B0083 for ; Thu, 18 Jun 2009 12:56:04 -0400 (EDT) Date: Thu, 18 Jun 2009 09:57:29 -0700 From: Andrew Morton Subject: Re: [PATCH 0/3] make mapped executable pages the first class citizen Message-Id: <20090618095729.d2f27896.akpm@linux-foundation.org> In-Reply-To: <2015.1245341938@redhat.com> References: <32411.1245336412@redhat.com> <20090517022327.280096109@intel.com> <2015.1245341938@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: David Howells Cc: Wu Fengguang , 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" List-ID: 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?) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org