From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <41A0E60C.605@tebibyte.org> Date: Sun, 21 Nov 2004 20:01:32 +0100 From: Chris Ross MIME-Version: 1.0 Subject: Re: [PATCH] fix spurious OOM kills References: <20041111112922.GA15948@logos.cnet> <4193E056.6070100@tebibyte.org> <4194EA45.90800@tebibyte.org> <20041113233740.GA4121@x30.random> <20041114094417.GC29267@logos.cnet> <20041114170339.GB13733@dualathlon.random> <20041114202155.GB2764@logos.cnet> <419A2B3A.80702@tebibyte.org> <419B14F9.7080204@tebibyte.org> <20041117012346.5bfdf7bc.akpm@osdl.org> In-Reply-To: <20041117012346.5bfdf7bc.akpm@osdl.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton Cc: marcelo.tosatti@cyclades.com, andrea@novell.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, piggin@cyberone.com.au, riel@redhat.com, mmokrejs@ribosome.natur.cuni.cz, tglx@linutronix.de List-ID: Andrew Morton escreveu: > Please ignore the previous patch and try the below. I still get OOM kills with this (well one, anyway). It does seem harder to trigger though. Regards, Chris R. Nov 20 03:24:46 sleepy cpu 0 hot: low 4, high 12, batch 2 Nov 20 03:24:46 sleepy cpu 0 cold: low 0, high 4, batch 2 Nov 20 03:24:46 sleepy HighMem per-cpu: empty Nov 20 03:24:46 sleepy Nov 20 03:24:46 sleepy Free pages: 1012kB (0kB HighMem) Nov 20 03:24:46 sleepy Active:6290 inactive:6215 dirty:0 writeback:0 unstable:0 free:253 slab:1324 mapped:1 pagetables:56 Nov 20 03:24:46 sleepy DMA free:252kB min:252kB low:312kB high:376kB active:5700 kB inactive:5540kB present:16384kB pages_scanned:15950 all_unreclaimable? yes Nov 20 03:24:46 sleepy protections[]: 0 0 0 Nov 20 03:24:46 sleepy Normal free:760kB min:764kB low:952kB high:1144kB active:19460kB inactive:19320kB present:49144kB pages_scanned:40497 all_unreclaimabl e? yes Nov 20 03:24:46 sleepy protections[]: 0 0 0 Nov 20 03:24:46 sleepy HighMem free:0kB min:128kB low:160kB high:192kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no Nov 20 03:24:46 sleepy protections[]: 0 0 0 Nov 20 03:24:46 sleepy DMA: 3*4kB 4*8kB 3*16kB 1*32kB 2*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 252kB Nov 20 03:24:46 sleepy Normal: 10*4kB 2*8kB 4*16kB 4*32kB 2*64kB 3*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 760kB Nov 20 03:24:46 sleepy HighMem: empty Nov 20 03:24:46 sleepy Swap cache: add 4076265, delete 4076262, find 482017/1245636, race 1+9 Nov 20 03:24:46 sleepy Out of Memory: Killed process 6841 (sshd). Nov 20 03:24:46 sleepy sshd: page allocation failure. order:0, mode:0x1d2 Nov 20 03:24:46 sleepy [] dump_stack+0x16/0x18 Nov 20 03:24:46 sleepy [] __alloc_pages+0x2fe/0x31a Nov 20 03:24:46 sleepy [] do_page_cache_readahead+0x101/0x18d Nov 20 03:24:46 sleepy [] filemap_nopage+0x163/0x337 Nov 20 03:24:46 sleepy [] do_no_page+0x10f/0x534 Nov 20 03:24:46 sleepy [] handle_mm_fault+0xe2/0x261 Nov 20 03:24:46 sleepy [] do_page_fault+0x216/0x5d2 Nov 20 03:24:46 sleepy [] error_code+0x2b/0x30 Nov 20 03:24:46 sleepy sshd: page allocation failure. order:0, mode:0xd2 Nov 20 03:24:46 sleepy [] dump_stack+0x16/0x18 Nov 20 03:24:46 sleepy [] __alloc_pages+0x2fe/0x31a Nov 20 03:24:46 sleepy [] read_swap_cache_async+0x33/0xa5 Nov 20 03:24:46 sleepy [] swapin_readahead+0x3c/0x81 Nov 20 03:24:46 sleepy [] do_swap_page+0xc8/0x4c6 Nov 20 03:24:46 sleepy [] handle_mm_fault+0x10a/0x261 Nov 20 03:24:46 sleepy [] do_page_fault+0x216/0x5d2 Nov 20 03:24:46 sleepy [] error_code+0x2b/0x30 Nov 20 03:24:46 sleepy sshd: page allocation failure. order:0, mode:0xd2 Nov 20 03:24:46 sleepy [] dump_stack+0x16/0x18 Nov 20 03:24:46 sleepy [] __alloc_pages+0x2fe/0x31a -- 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: aart@kvack.org