From: Andrew Morton <akpm@osdl.org>
To: "Andy Chittenden" <AChittenden@bluearc.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Out of Memory: Killed process 16498 (java).
Date: Thu, 19 Jan 2006 01:44:05 -0800 [thread overview]
Message-ID: <20060119014405.7a0619c5.akpm@osdl.org> (raw)
In-Reply-To: <89E85E0168AD994693B574C80EDB9C2703555F8E@uk-email.terastack.bluearc.com>
"Andy Chittenden" <AChittenden@bluearc.com> wrote:
>
> > It'd be useful to see the dmesg output from that oom event.
>
> Well, I've just run it again and loads of processes got killed (at least
> 3). Here's the output from dmesg:
>
> ...
>
> oom-killer: gfp_mask=0xd1, order=0
> Mem-info:
> DMA per-cpu:
> cpu 0 hot: low 0, high 0, batch 1 used:0
> cpu 0 cold: low 0, high 0, batch 1 used:0
> DMA32 per-cpu:
> cpu 0 hot: low 0, high 186, batch 31 used:162
> cpu 0 cold: low 0, high 62, batch 15 used:51
> Normal per-cpu:
> cpu 0 hot: low 0, high 186, batch 31 used:21
> cpu 0 cold: low 0, high 62, batch 15 used:41
> HighMem per-cpu: empty
> Free pages: 3116636kB (0kB HighMem)
> Active:52119 inactive:158700 dirty:108550 writeback:9545 unstable:0
> free:779159 slab:10643 mapped:44283 pagetables:1750
> DMA free:20kB min:24kB low:28kB high:36kB active:0kB inactive:0kB
> present:12740kB pages_scanned:18 all_unreclaimable? yes
> lowmem_reserve[]: 0 2999 4009 4009
> DMA32 free:2528816kB min:6052kB low:7564kB high:9076kB active:18312kB
> inactive:422164kB present:3071904kB pages_scanned:0 all_unreclaimable?
> no
> lowmem_reserve[]: 0 0 1010 1010
> Normal free:587800kB min:2036kB low:2544kB high:3052kB active:190164kB
> inactive:212636kB present:1034240kB pages_scanned:0 all_unreclaimable?
> no
> lowmem_reserve[]: 0 0 0 0
> HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB
> present:0kB pages_scanned:0 all_unreclaimable? no
> lowmem_reserve[]: 0 0 0 0
> DMA: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
> 0*2048kB 0*4096kB = 20kB
> DMA32: 3630*4kB 3233*8kB 3673*16kB 3553*32kB 2973*64kB 1729*128kB
> 763*256kB 418*512kB 458*1024kB 221*2048kB 140*4096kB = 2528816kB
> Normal: 17422*4kB 12118*8kB 7607*16kB 3846*32kB 1606*64kB 449*128kB
> 57*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 587800kB
> HighMem: empty
> Swap cache: add 38, delete 38, find 0/0, race 0+0
> Free swap = 9686816kB
> Total swap = 9686968kB
> Free swap: 9686816kB
> 1310720 pages of RAM
> 299467 reserved pages
> 213833 pages shared
> 0 pages swap cached
You have 3G of free memory, 2.5G in the DMA32 zone, 0.5G in the NORMAL
zone.
> Out of Memory: Killed process 6179 (nautilus).
> oom-killer: gfp_mask=0xd1, order=0
What we've run out of is the old ZONE_DMA memory.
Can you please add this patch, retest?
--- devel/mm/oom_kill.c~a 2006-01-19 01:43:31.000000000 -0800
+++ devel-akpm/mm/oom_kill.c 2006-01-19 01:43:39.000000000 -0800
@@ -271,6 +271,7 @@ void out_of_memory(gfp_t gfp_mask, int o
if (printk_ratelimit()) {
printk("oom-killer: gfp_mask=0x%x, order=%d\n",
gfp_mask, order);
+ dump_stack();
show_mem();
}
_
next parent reply other threads:[~2006-01-19 9:44 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <89E85E0168AD994693B574C80EDB9C2703555F8E@uk-email.terastack.bluearc.com>
2006-01-19 9:44 ` Andrew Morton [this message]
2006-01-27 11:53 Out of Memory: Killed process 16498 (java) Andy Chittenden
2006-01-27 14:21 ` Jens Axboe
2006-01-27 14:39 ` Anton Altaparmakov
-- strict thread matches above, loose matches on Subject: below --
2006-01-23 10:03 Andy Chittenden
2006-01-23 10:11 ` Jens Axboe
2006-01-21 21:47 Andy Chittenden
2006-01-23 9:27 ` Jens Axboe
[not found] <89E85E0168AD994693B574C80EDB9C27035561DE@uk-email.terastack.bluearc.com>
2006-01-20 17:39 ` Jens Axboe
[not found] <89E85E0168AD994693B574C80EDB9C27035560E4@uk-email.terastack.bluearc.com>
2006-01-20 12:37 ` Larry Woodman
2006-01-19 15:11 Andy Chittenden
2006-01-19 19:48 ` Dave Jones
2006-01-19 22:15 ` Andrew Morton
2006-01-20 8:12 ` Jens Axboe
2006-01-20 8:23 ` Andrew Morton
2006-01-20 12:08 ` Jens Axboe
2006-01-20 12:17 ` Andrew Morton
2006-01-20 12:28 ` Jens Axboe
2006-01-20 12:51 ` Andrew Morton
2006-01-20 1:03 ` Andrew Morton
2006-01-20 1:28 ` Dave Jones
2006-01-20 1:49 ` Andrew Morton
2006-01-21 20:00 ` Dan Aloni
2006-01-19 9:40 Andy Chittenden
2006-01-19 9:41 ` Con Kolivas
2006-01-19 8:43 Andy Chittenden
2006-01-19 8:56 ` Andrew Morton
2006-01-19 9:36 ` Con Kolivas
2006-01-19 20:54 ` Martin Bligh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060119014405.7a0619c5.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=AChittenden@bluearc.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).