System went out of memory due to high nfs_read_data slab cache

Solution Verified - Updated -

Issue

  • OOM-killer triggered a panic

Call Trace:

 [<ffffffff800c0b09>] out_of_memory+0x8e/0x2f5
 [<ffffffff8000f263>] __alloc_pages+0x245/0x2ce
 [<ffffffff8003231a>] read_swap_cache_async+0x45/0xd8
 [<ffffffff800c63dc>] swapin_readahead+0x60/0xd3
 [<ffffffff80008fd3>] __handle_mm_fault+0x983/0xe23
 [<ffffffff8006681f>] do_page_fault+0x4cb/0x830
 [<ffffffff8009dde2>] autoremove_wake_function+0x0/0x2e
 [<ffffffff80062efb>] thread_return+0x0/0xdf
 [<ffffffff8005dde9>] error_exit+0x0/0x84

Mem-info:
Node 0 DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
Node 0 DMA32 per-cpu:
cpu 0 hot: high 186, batch 31 used:30
cpu 0 cold: high 62, batch 15 used:4
Node 0 Normal per-cpu: empty
Node 0 HighMem per-cpu: empty
Free pages:        7692kB (0kB HighMem)     <=====
Active:965 inactive:1098 dirty:0 writeback:62 unstable:0 free:1923 slab:469235 mapped-file:949 mapped-anon:550 pagetables:3490
Node 0 DMA free:2084kB min:28kB low:32kB high:40kB active:0kB inactive:0kB present:10780kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 2004 2004 2004
Node 0 DMA32 free:5608kB min:5712kB low:7140kB high:8568kB active:3860kB inactive:4392kB present:2052256kB pages_scanned:12489 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
Node 0 Normal free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Node 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
Node 0 DMA: 3*4kB 5*8kB 3*16kB 4*32kB 1*64kB 2*128kB 2*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 2084kB
Node 0 DMA32: 0*4kB 7*8kB 13*16kB 3*32kB 4*64kB 3*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 1*4096kB = 5608kB
Node 0 Normal: empty
Node 0 HighMem: empty
2069 pagecache pages
Swap cache: add 454344, delete 453566, find 720488/806097, race 1+153
Free swap  = 4099580kB
Total swap = 4194296kB
Free swap:       4099580kB
524288 pages of RAM
42164 reserved pages
17897 pages shared
778 pages swap cached
Kernel panic - not syncing: out of memory. panic_on_oom is selected    

Environment

  • Red Hat Enterprise Linux 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.