All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] 2.6.24-rc3-git3 oom-killer invoked
@ 2007-11-28 11:15 Kamalesh Babulal
  2007-11-28 11:49 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Kamalesh Babulal @ 2007-11-28 11:15 UTC (permalink / raw)
  To: LKML, Andy Whitcroft, Balbir Singh

Hi,

oom-killer gets invoked while running ltprunall on AMD Opteron box

sleep invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
Pid: 23477, comm: sleep Not tainted 2.6.24-rc3-git3-autokern1 #1

Call Trace:
 [<ffffffff8026ac6b>] oom_kill_process+0x4f/0xf5
 [<ffffffff8026b147>] out_of_memory+0x1bc/0x22d
 [<ffffffff8026db44>] __alloc_pages+0x282/0x313
 [<ffffffff804e4a5c>] __wait_on_bit_lock+0x5b/0x66
 [<ffffffff8026f684>] __do_page_cache_readahead+0x7c/0x18f
 [<ffffffff8026a353>] filemap_fault+0x15d/0x317
 [<ffffffff80274d06>] __do_fault+0x68/0x3bb
 [<ffffffff804e5cb1>] _spin_unlock_irq+0x9/0xc
 [<ffffffff8027690a>] handle_mm_fault+0x325/0x694
 [<ffffffff804e78c1>] do_page_fault+0x3c5/0x764
 [<ffffffff8024c5b9>] hrtimer_try_to_cancel+0x5f/0x68
 [<ffffffff8024c5ce>] hrtimer_cancel+0xc/0x16
 [<ffffffff804e4e43>] do_nanosleep+0x4e/0x77
 [<ffffffff8024c73f>] hrtimer_nanosleep+0x58/0xf8
 [<ffffffff8024c301>] hrtimer_wakeup+0x0/0x21
 [<ffffffff804e5e59>] error_exit+0x0/0x51

Mem-info:
Node 0 DMA per-cpu:
CPU    0: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
CPU    1: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
CPU    2: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
CPU    3: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
Node 0 DMA32 per-cpu:
CPU    0: Hot: hi:  186, btch:  31 usd:  40   Cold: hi:   62, btch:  15 usd:  50
CPU    1: Hot: hi:  186, btch:  31 usd:  24   Cold: hi:   62, btch:  15 usd:  24
CPU    2: Hot: hi:  186, btch:  31 usd:   3   Cold: hi:   62, btch:  15 usd:  21
CPU    3: Hot: hi:  186, btch:  31 usd: 163   Cold: hi:   62, btch:  15 usd:  45
Active:122323 inactive:122411 dirty:0 writeback:1 unstable:0
 free:1979 slab:2772 mapped:10 pagetables:2062 bounce:0
Node 0 DMA free:3988kB min:28kB low:32kB high:40kB active:2056kB inactive:2108kB present:7656kB pages_scanned:7201 all_unreclaimable? yes
lowmem_reserve[]: 0 992 992 992
Node 0 DMA32 free:4228kB min:4012kB low:5012kB high:6016kB active:489852kB inactive:485192kB present:1015864kB pages_scanned:70920 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Node 0 DMA: 3*4kB 5*8kB 2*16kB 0*32kB 1*64kB 2*128kB 2*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 3988kB
Node 0 DMA32: 117*4kB 16*8kB 5*16kB 1*32kB 1*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 4228kB
Swap cache: add 815346, delete 815330, find 474/677, race 0+0
Free swap  = 0kB
Total swap = 2031640kB
Free swap:            0kB
262093 pages of RAM
6955 reserved pages
288 pages shared
40 pages swap cached
Out of memory: kill process 23475 (mem01) score 46734 or a child
Killed process 23475 (mem01)


(boot log)
-----------
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009d400 (usable)
 BIOS-e820: 000000000009d400 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003ffcddc0 (usable)
 BIOS-e820: 000000003ffcddc0 - 000000003ffd0000 (ACPI data)
 BIOS-e820: 000000003ffd0000 - 0000000040000000 (reserved)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
end_pfn_map = 1048576
DMI 2.3 present.
ACPI: RSDP 000FDFC0, 0014 (r0 IBM   )
ACPI: RSDT 3FFCFF80, 0034 (r1 IBM    SERBLADE     1000 IBM  45444F43)
ACPI: FACP 3FFCFEC0, 0084 (r2 IBM    SERBLADE     1000 IBM  45444F43)
ACPI: DSDT 3FFCDDC0, 1EA6 (r1 IBM    SERBLADE     1000 INTL  2002025)
ACPI: FACS 3FFCFCC0, 0040
ACPI: APIC 3FFCFE00, 009C (r1 IBM    SERBLADE     1000 IBM  45444F43)
ACPI: SRAT 3FFCFD40, 0098 (r1 IBM    SERBLADE     1000 IBM  45444F43)
ACPI: HPET 3FFCFD00, 0038 (r1 IBM    SERBLADE     1000 IBM  45444F43)
SRAT: PXM 0 -> APIC 0 -> Node 0
SRAT: PXM 0 -> APIC 1 -> Node 0
SRAT: PXM 1 -> APIC 2 -> Node 1
SRAT: PXM 1 -> APIC 3 -> Node 1
SRAT: Node 0 PXM 0 0-40000000
Bootmem setup node 0 0000000000000000-000000003ffcd000
Zone PFN ranges:
  DMA             0 ->     4096
  DMA32        4096 ->  1048576
  Normal    1048576 ->  1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0:        0 ->      157
    0:      256 ->   262093

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] 2.6.24-rc3-git3 oom-killer invoked
  2007-11-28 11:15 [BUG] 2.6.24-rc3-git3 oom-killer invoked Kamalesh Babulal
@ 2007-11-28 11:49 ` Andrew Morton
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2007-11-28 11:49 UTC (permalink / raw)
  To: Kamalesh Babulal; +Cc: LKML, Andy Whitcroft, Balbir Singh

On Wed, 28 Nov 2007 16:45:04 +0530 Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> wrote:

> Hi,
> 
> oom-killer gets invoked while running ltprunall on AMD Opteron box
> 
> sleep invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0
> Pid: 23477, comm: sleep Not tainted 2.6.24-rc3-git3-autokern1 #1
> 
> Call Trace:
>  [<ffffffff8026ac6b>] oom_kill_process+0x4f/0xf5
>  [<ffffffff8026b147>] out_of_memory+0x1bc/0x22d
>  [<ffffffff8026db44>] __alloc_pages+0x282/0x313
>  [<ffffffff804e4a5c>] __wait_on_bit_lock+0x5b/0x66
>  [<ffffffff8026f684>] __do_page_cache_readahead+0x7c/0x18f
>  [<ffffffff8026a353>] filemap_fault+0x15d/0x317
>  [<ffffffff80274d06>] __do_fault+0x68/0x3bb
>  [<ffffffff804e5cb1>] _spin_unlock_irq+0x9/0xc
>  [<ffffffff8027690a>] handle_mm_fault+0x325/0x694
>  [<ffffffff804e78c1>] do_page_fault+0x3c5/0x764
>  [<ffffffff8024c5b9>] hrtimer_try_to_cancel+0x5f/0x68
>  [<ffffffff8024c5ce>] hrtimer_cancel+0xc/0x16
>  [<ffffffff804e4e43>] do_nanosleep+0x4e/0x77
>  [<ffffffff8024c73f>] hrtimer_nanosleep+0x58/0xf8
>  [<ffffffff8024c301>] hrtimer_wakeup+0x0/0x21
>  [<ffffffff804e5e59>] error_exit+0x0/0x51
> 
> Mem-info:
> Node 0 DMA per-cpu:
> CPU    0: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
> CPU    1: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
> CPU    2: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
> CPU    3: Hot: hi:    0, btch:   1 usd:   0   Cold: hi:    0, btch:   1 usd:   0
> Node 0 DMA32 per-cpu:
> CPU    0: Hot: hi:  186, btch:  31 usd:  40   Cold: hi:   62, btch:  15 usd:  50
> CPU    1: Hot: hi:  186, btch:  31 usd:  24   Cold: hi:   62, btch:  15 usd:  24
> CPU    2: Hot: hi:  186, btch:  31 usd:   3   Cold: hi:   62, btch:  15 usd:  21
> CPU    3: Hot: hi:  186, btch:  31 usd: 163   Cold: hi:   62, btch:  15 usd:  45
> Active:122323 inactive:122411 dirty:0 writeback:1 unstable:0
>  free:1979 slab:2772 mapped:10 pagetables:2062 bounce:0
> Node 0 DMA free:3988kB min:28kB low:32kB high:40kB active:2056kB inactive:2108kB present:7656kB pages_scanned:7201 all_unreclaimable? yes
> lowmem_reserve[]: 0 992 992 992
> Node 0 DMA32 free:4228kB min:4012kB low:5012kB high:6016kB active:489852kB inactive:485192kB present:1015864kB pages_scanned:70920 all_unreclaimable? no
> lowmem_reserve[]: 0 0 0 0
> Node 0 DMA: 3*4kB 5*8kB 2*16kB 0*32kB 1*64kB 2*128kB 2*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 3988kB
> Node 0 DMA32: 117*4kB 16*8kB 5*16kB 1*32kB 1*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 4228kB
> Swap cache: add 815346, delete 815330, find 474/677, race 0+0
> Free swap  = 0kB
> Total swap = 2031640kB
> Free swap:            0kB
> 262093 pages of RAM
> 6955 reserved pages
> 288 pages shared
> 40 pages swap cached
> Out of memory: kill process 23475 (mem01) score 46734 or a child
> Killed process 23475 (mem01)
> 

It ran out of swapspace and killed the piggy process.  There's no bug here.

Unless there's a memory leak.  Check to see how much memory is free after
everything has been killed off.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-28 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-28 11:15 [BUG] 2.6.24-rc3-git3 oom-killer invoked Kamalesh Babulal
2007-11-28 11:49 ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.