Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OOM-Killer problem

user8962266Dec 30 2010 — edited Dec 30 2010
Hi,

I'm not sure what's wrong maybe low memory? but oom-killer is killing processes like "nscd" making the host non-functional. It seems that swap space is not being used at all for some reason.
Can someone look at the following and tell what's wrong?

Dec 28 23:13:47 hostname kernel: oom-killer: gfp_mask=0xd0
Dec 28 23:13:47 hostname kernel: Mem-info:
Dec 28 23:13:47 hostname kernel: DMA per-cpu:
Dec 28 23:13:47 hostname kernel: cpu 0 hot: low 2, high 6, batch 1
Dec 28 23:13:47 hostname kernel: cpu 0 cold: low 0, high 2, batch 1
Dec 28 23:13:47 hostname kernel: cpu 1 hot: low 2, high 6, batch 1
Dec 28 23:13:47 hostname kernel: cpu 1 cold: low 0, high 2, batch 1
Dec 28 23:13:47 hostname kernel: cpu 2 hot: low 2, high 6, batch 1
Dec 28 23:13:47 hostname kernel: cpu 2 cold: low 0, high 2, batch 1
Dec 28 23:13:47 hostname kernel: cpu 3 hot: low 2, high 6, batch 1
Dec 28 23:13:47 hostname kernel: cpu 3 cold: low 0, high 2, batch 1
Dec 28 23:13:47 hostname kernel: Normal per-cpu:
Dec 28 23:15:11 hostname kernel: cpu 0 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 0 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel: cpu 1 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 1 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel: cpu 2 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 2 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel: cpu 3 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 3 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel: HighMem per-cpu:
Dec 28 23:15:11 hostname kernel: cpu 0 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 0 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel: cpu 1 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 1 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel: cpu 2 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 2 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel: cpu 3 hot: low 32, high 96, batch 16
Dec 28 23:15:11 hostname kernel: cpu 3 cold: low 0, high 32, batch 16
Dec 28 23:15:11 hostname kernel:
Dec 28 23:15:11 hostname kernel: Free pages: 75792kB (59584kB HighMem)
Dec 28 23:15:11 hostname kernel: Active:376609 inactive:1733283 dirty:2 writeback:0 unstable:0 free:18948 slab:200339 mapped:53589 pagetables:3256
Dec 28 23:15:11 hostname kernel: DMA free:12496kB min:64kB low:128kB high:192kB active:0kB inactive:0kB present:16384kB pages_scanned:0 all_unreclaimable? yes
Dec 28 23:15:11 hostname kernel: protections[]: 0 0 0
Dec 28 23:15:12 hostname kernel: Normal free:3712kB min:3728kB low:7456kB high:11184kB active:248kB inactive:0kB present:901120kB pages_scanned:1457 all_unreclaimable? no
Dec 28 23:15:12 hostname kernel: protections[]: 0 0 0
Dec 28 23:15:12 hostname kernel: HighMem free:59584kB min:512kB low:1024kB high:1536kB active:1506188kB inactive:6933132kB present:9306108kB pages_scanned:0 all_unreclaimable? no
Dec 28 23:15:12 hostname kernel: protections[]: 0 0 0
Dec 28 23:15:12 hostname kernel: DMA: 6*4kB 5*8kB 3*16kB 3*32kB 4*64kB 2*128kB 2*256kB 0*512kB 1*1024kB 1*2048kB 2*4096kB = 12496kB
Dec 28 23:15:12 hostname kernel: Normal: 0*4kB 0*8kB 0*16kB 2*32kB 1*64kB 0*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3712kB
Dec 28 23:15:12 hostname kernel: HighMem: 6562*4kB 3967*8kB 56*16kB 4*32kB 1*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 59584kB
Dec 28 23:15:12 hostname kernel: 2053935 pagecache pages
Dec 28 23:15:12 hostname kernel: Swap cache: add 377592, delete 376941, find 167672/195015, race 0+0
Dec 28 23:15:12 hostname kernel: 0 bounce buffer pages
Dec 28 23:15:12 hostname kernel: Free swap: 4191684kB
Dec 28 23:15:12 hostname kernel: 2555903 pages of RAM
Dec 28 23:15:12 hostname kernel: 2129486 pages of HIGHMEM
Dec 28 23:15:12 hostname kernel: 218540 reserved pages
Dec 28 23:15:12 hostname kernel: 255352 pages shared
Dec 28 23:15:12 hostname kernel: 651 pages swap cached
Dec 28 23:15:12 hostname kernel: Out of Memory: Killed process 6738 (nscd).
Dec 28 23:15:12 hostname kernel: oom-killer: gfp_mask=0xd0


# free -lm
total used free shared buffers cached
Mem: 9130 8141 989 0 152 7240
Low: 812 788 23
High: 8318 7353 965
-/+ buffers/cache: 747 8382
Swap: 4095 0 4095
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 27 2011
Added on Dec 30 2010
4 comments
928 views