Bug 133754

Summary: kernel: out of memory
Product: Red Hat Enterprise Linux 3 Reporter: MF Lee <fai76>
Component: kernelAssignee: Larry Woodman <lwoodman>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: medium    
Version: 3.0CC: petrides, riel
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-09-27 14:38:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description MF Lee 2004-09-27 08:40:08 UTC
Description of problem:
The server running service of http/ftp in two week ago. After system 
hang, the log files shows kernel out of memory. Is it kernel problem? 
Can I upgrade latest kernel or other for fix memroy issue?

kernel: Mem-info:
kernel: Zone:DMA freepages:  2904 min:     0 low:     0 high:     0
kernel: Zone:Normal freepages:  1281 min:  1279 low:  4544 high:  6304
kernel: Zone:HighMem freepages:   254 min:   255 low: 16894 high: 
25341
kernel: Free pages:        4439 (   254 HighMem)
kernel: ( Active: 1171934/21059, inactive_laundry: 0, inactive_clean: 
0, free: 4439 )
kernel:   aa:0 ac:0 id:0 il:0 ic:0 fr:2904
kernel:   aa:181027 ac:1816 id:4194 il:0 ic:0 fr:1281
kernel:   aa:979238 ac:9853 id:16865 il:1 ic:0 fr:254
kernel: 0*4kB 0*8kB 0*16kB 1*32kB 3*64kB 1*128kB 2*256kB 1*512kB 
0*1024kB 1*2048kB 2*4096kB = 11616kB)
kernel: 53*4kB 66*8kB 34*16kB 22*32kB 11*64kB 1*128kB 1*256kB 0*512kB 
0*1024kB 1*2048kB 0*4096kB = 5124kB)
kernel: 8*4kB 1*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 
0*1024kB 0*2048kB 0*4096kB = 1016kB)
kernel: Swap cache: add 1288896, delete 1288188, find 
69773595/70209507, race 0+2
kernel: 9095 pages of slabcache
kernel: 1416 pages of kernel stacks
kernel: 0 lowmem pagetables, 8154 highmem pagetables
kernel: Free swap:            0kB
kernel: 1310719 pages of RAM
kernel: 1015801 pages of HIGHMEM
kernel: 85979 reserved pages
kernel: 246601 pages shared
kernel: 709 pages swap cached
kernel: Out of Memory: Killed process 1519 (java).
kernel: Out of Memory: Killed process 1655 (java).
kernel: Out of Memory: Killed process 1656 (java).

Comment 1 Larry Woodman 2004-09-27 14:38:25 UTC
MF Lee, the problem here is that you have exhausted all of the swap
space and over-committed physical memory.  At this point the kernel is
backed into a corner and has no choice but to kill processes in an
attempt to recover physical memory and swap space.

Please add more swap space to your system and the problem will go away.

Thanks, Larry Woodman