Link to home
Start Free TrialLog in
Avatar of hocheeming
hocheeming

asked on

kernel: Out of Memory: Killed process

Hi,

I am getting out of memory error in my Linux Redhat server. Kernel used: 2.6.9-67

Please help me to check on the message below on what could be the possible cause for the out of memory error? Thanks.

Jun 20 17:35:56 ckprbtdb02 sshd(pam_unix)[28465]: session opened for user oracle by (uid=0)
Jun 20 17:35:56 ckprbtdb02 kernel: Free pages:       16128kB (512kB HighMem)
Jun 20 17:35:56 ckprbtdb02 kernel: Active:1344988 inactive:1109 dirty:0 writeback:0 unstable:0 free:4032 slab:28979 mapped:1346624 pagetables:677920
Jun 20 17:35:56 ckprbtdb02 kernel: DMA free:12008kB min:64kB low:128kB high:192kB active:0kB inactive:0kB present:16384kB pages_scanned:0 all_unreclaimable? yes
Jun 20 17:35:56 ckprbtdb02 kernel: protections[]: 0 0 0
Jun 20 17:35:56 ckprbtdb02 kernel: Normal free:3608kB min:3728kB low:7456kB high:11184kB active:336kB inactive:8kB present:901120kB pages_scanned:1707 all_unreclaimable? no
Jun 20 17:35:57 ckprbtdb02 kernel: protections[]: 0 0 0
Jun 20 17:35:57 ckprbtdb02 kernel: HighMem free:512kB min:512kB low:1024kB high:1536kB active:5379632kB inactive:4428kB present:7733244kB pages_scanned:0 all_unreclaimable? no
Jun 20 17:35:57 ckprbtdb02 kernel: protections[]: 0 0 0
Jun 20 17:35:57 ckprbtdb02 kernel: DMA: 4*4kB 3*8kB 4*16kB 2*32kB 3*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 2*4096kB = 12008kB
Jun 20 17:35:57 ckprbtdb02 kernel: Normal: 0*4kB 1*8kB 1*16kB 4*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 3608kB
Jun 20 17:35:57 ckprbtdb02 kernel: HighMem: 0*4kB 8*8kB 0*16kB 0*32kB 1*64kB 1*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
Jun 20 17:35:57 ckprbtdb02 kernel: Swap cache: add 1368970, delete 1348492, find 146538/199240, race 0+20
Jun 20 17:35:57 ckprbtdb02 kernel: 0 bounce buffer pages
Jun 20 17:35:57 ckprbtdb02 kernel: Free swap:       7283244kB
Jun 20 17:35:57 ckprbtdb02 kernel: 2162687 pages of RAM
Jun 20 17:35:57 ckprbtdb02 kernel: 1867759 pages of HIGHMEM
Jun 20 17:35:57 ckprbtdb02 kernel: 84049 reserved pages
Jun 20 17:35:57 ckprbtdb02 kernel: 43679573 pages shared
Jun 20 17:35:57 ckprbtdb02 kernel: 20426 pages swap cached
Jun 20 17:35:57 ckprbtdb02 kernel: Out of Memory: Killed process 17657 (oracle).
Jun 20 17:36:01 ckprbtdb02 kernel: oom-killer: gfp_mask=0xd0
Jun 20 17:36:01 ckprbtdb02 kernel: Mem-info:
Jun 20 17:36:01 ckprbtdb02 kernel: DMA per-cpu:
Avatar of MikeOM_DBA
MikeOM_DBA
Flag of United States of America image

1) Did you set the Kernel parameters correctly?
2) How large is your SGA compared with total memory?
Avatar of hocheeming
hocheeming

ASKER

The SGA memory is 1.5GB. I am not sure about the kernel parameter. How can I check?
Could this be the problem?

 kernel: Normal free:3608kB min:3728kB low:7456kB high:11184kB


The normal free is below min value of 3728kB. Where can I set this threshold to a lower value?
ASKER CERTIFIED SOLUTION
Avatar of MikeOM_DBA
MikeOM_DBA
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial