I have a cent os 4.5 server that has 16 gigs of ram using more the one cpu. Until now the server was running great but I started running out of memory.
I’m using kernel 2.6.9-55.ELsmp and it sees all of my 16 gigs of ram however something seems off like its not efficiently using all available memory.
Mem: 16633348k total, 16604084k used, 29264k free, 278356k buffers
Swap: 2031608k total, 1844k used, 2029764k free, 15522468k cached
I have a cent os 5.0 server also with 16 gigs of ram using a PAE kernel and I have 2 gigs free, so the above memory usage doesn’t seem right even though im not using a PAE like kernel on my cent os 4.5 server.
I was looking around with yum and did notice kernel-hugemem.i686 for cent os 4.5. I’m now wondering if I’m using the wrong kernel and should be using kernel-hugemem.i686 instead of 2.6.9-55.ELsmp. If so I’m assuming kernel-hugemem.i686 is compatible with more than one cpu.
Any thoughts?
TIA, paul
Heres what I was seeing in logs:
Jan 8 07:35:27 pop kernel: 4390912 pages of RAM
Jan 8 07:35:27 pop kernel: 3964840 pages of HIGHMEM
Jan 8 07:35:27 pop kernel: 232575 reserved pages
Jan 8 07:35:27 pop kernel: 1774881 pages shared
Jan 8 07:35:27 pop kernel: 4445 pages swap cached
Jan 8 07:35:27 pop kernel: Out of Memory: Killed process 27053 (httpd).
Jan 8 07:35:27 pop kernel: oom-killer: gfp_mask=0xd0
Jan 8 07:35:27 pop kernel: Mem-info:
Jan 8 07:35:27 pop kernel: DMA per-cpu:
Jan 8 07:35:27 pop kernel: cpu 0 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 0 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: cpu 1 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 1 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: cpu 2 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 2 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: cpu 3 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 3 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: Normal per-cpu:
Jan 8 07:35:27 pop kernel: cpu 0 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 0 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: HighMem per-cpu:
Jan 8 07:35:27 pop kernel: cpu 0 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 0 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel:
Jan 8 07:35:27 pop kernel: Free pages: 215200kB (201728kB HighMem)
Jan 8 07:35:27 pop kernel: Active:3067716 inactive:837089 dirty:1 writeback:0 unstable:0 free:53800 slab:185033 mapped:90592 pagetables:9117
I’m using kernel 2.6.9-55.ELsmp and it sees all of my 16 gigs of ram however something seems off like its not efficiently using all available memory.
Mem: 16633348k total, 16604084k used, 29264k free, 278356k buffers
Swap: 2031608k total, 1844k used, 2029764k free, 15522468k cached
I have a cent os 5.0 server also with 16 gigs of ram using a PAE kernel and I have 2 gigs free, so the above memory usage doesn’t seem right even though im not using a PAE like kernel on my cent os 4.5 server.
I was looking around with yum and did notice kernel-hugemem.i686 for cent os 4.5. I’m now wondering if I’m using the wrong kernel and should be using kernel-hugemem.i686 instead of 2.6.9-55.ELsmp. If so I’m assuming kernel-hugemem.i686 is compatible with more than one cpu.
Any thoughts?
TIA, paul
Heres what I was seeing in logs:
Jan 8 07:35:27 pop kernel: 4390912 pages of RAM
Jan 8 07:35:27 pop kernel: 3964840 pages of HIGHMEM
Jan 8 07:35:27 pop kernel: 232575 reserved pages
Jan 8 07:35:27 pop kernel: 1774881 pages shared
Jan 8 07:35:27 pop kernel: 4445 pages swap cached
Jan 8 07:35:27 pop kernel: Out of Memory: Killed process 27053 (httpd).
Jan 8 07:35:27 pop kernel: oom-killer: gfp_mask=0xd0
Jan 8 07:35:27 pop kernel: Mem-info:
Jan 8 07:35:27 pop kernel: DMA per-cpu:
Jan 8 07:35:27 pop kernel: cpu 0 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 0 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: cpu 1 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 1 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: cpu 2 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 2 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: cpu 3 hot: low 2, high 6, batch 1
Jan 8 07:35:27 pop kernel: cpu 3 cold: low 0, high 2, batch 1
Jan 8 07:35:27 pop kernel: Normal per-cpu:
Jan 8 07:35:27 pop kernel: cpu 0 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 0 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: HighMem per-cpu:
Jan 8 07:35:27 pop kernel: cpu 0 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 0 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 1 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 2 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 hot: low 32, high 96, batch 16
Jan 8 07:35:27 pop kernel: cpu 3 cold: low 0, high 32, batch 16
Jan 8 07:35:27 pop kernel:
Jan 8 07:35:27 pop kernel: Free pages: 215200kB (201728kB HighMem)
Jan 8 07:35:27 pop kernel: Active:3067716 inactive:837089 dirty:1 writeback:0 unstable:0 free:53800 slab:185033 mapped:90592 pagetables:9117