out of memory
messages 파일에 out of memory라는 로그가 많이 쌓인후 먹통이
되어 버립니다.
검색해보니 해결책이 메모리를 늘려야 한다더군요.
그런데 검색한 경우와 상황이 틀린 점은
대부분이 swap까지 다 써서 out of memory 메세지가 발생하는데
제 경우엔 swap이 많이 남아있는 점입니다.
swap까지 다 소모한 후 OOM 메세지가 발생해야 되는거 아닌가요? ^^a
문제를 풀기위해 여러분들의 조언을 구합니다.
OS는 RHEL3 U7(2.4.21-40.ELsmp) 입니다.
아래는 메세지 내용중 일부 입니다.
May 11 04:03:05 localhost kernel: Mem-info:
May 11 04:03:05 localhost kernel: Zone:DMA freepages: 2913 min: 0 low: 0 high: 0
May 11 04:03:05 localhost kernel: Zone:Normal freepages: 1125 min: 1279 low: 4544 high: 6304
May 11 04:03:05 localhost kernel: Zone:HighMem freepages:460626 min: 255 low: 15870 high: 23805
May 11 04:03:05 localhost kernel: Free pages: 464665 (460626 HighMem)
May 11 04:03:05 localhost kernel: ( Active: 189632/116669, inactive_laundry: 25381, inactive_clean: 25412, free: 464665 )
May 11 04:03:05 localhost kernel: aa:0 ac:0 id:0 il:0 ic:0 fr:2913
May 11 04:03:05 localhost kernel: aa:0 ac:2657 id:63 il:28 ic:0 fr:1126
May 11 04:03:05 localhost kernel: aa:165002 ac:21973 id:116581 il:25379 ic:25412 fr:460626
May 11 04:03:05 localhost kernel: 1*4kB 0*8kB 4*16kB 2*32kB 4*64kB 2*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11652kB)
May 11 04:03:05 localhost kernel: 294*4kB 2*8kB 3*16kB 6*32kB 6*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 4504kB)
May 11 04:03:05 localhost kernel: 12106*4kB 15170*8kB 3481*16kB 544*32kB 138*64kB 38*128kB 11*256kB 2*512kB 3*1024kB 1*2048kB 385*4096kB = 1842504kB)
May 11 04:03:05 localhost kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
May 11 04:03:06 localhost kernel: 63547 pages of slabcache
May 11 04:03:06 localhost kernel: 204 pages of kernel stacks
May 11 04:03:06 localhost kernel: 0 lowmem pagetables, 923 highmem pagetables
May 11 04:03:06 localhost kernel: 32 bounce buffer pages, 32 are on the emergency list
May 11 04:03:06 localhost kernel: Free swap: 8388472kB
May 11 04:03:06 localhost kernel: 1245183 pages of RAM
May 11 04:03:06 localhost kernel: 818775 pages of HIGHMEM
May 11 04:03:06 localhost kernel: 353802 reserved pages
May 11 04:03:06 localhost kernel: 147415 pages shared
May 11 04:03:06 localhost kernel: 0 pages swap cached
May 11 04:03:06 localhost kernel: Out of Memory: Killed process 1923 (jserver).
May 11 04:03:30 localhost kernel: Mem-info:
May 11 04:03:30 localhost kernel: Zone:DMA freepages: 2913 min: 0 low: 0 high: 0
May 11 04:03:30 localhost kernel: Zone:Normal freepages: 1147 min: 1279 low: 4544 high: 6304
May 11 04:03:30 localhost kernel: Zone:HighMem freepages:461451 min: 255 low: 15870 high: 23805
May 11 04:03:30 localhost kernel: Free pages: 465510 (461451 HighMem)
May 11 04:03:30 localhost kernel: ( Active: 188690/116726, inactive_laundry: 25493, inactive_clean: 25407, free: 465510 )
May 11 04:03:30 localhost kernel: aa:0 ac:0 id:0 il:0 ic:0 fr:2913
May 11 04:03:30 localhost kernel: aa:0 ac:2651 id:19 il:106 ic:0 fr:1147
May 11 04:03:30 localhost kernel: aa:164061 ac:21978 id:116715 il:25379 ic:25407 fr:461451
May 11 04:03:30 localhost kernel: 1*4kB 0*8kB 4*16kB 2*32kB 4*64kB 2*128kB 1*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11652kB)
May 11 04:03:30 localhost kernel: 255*4kB 8*8kB 7*16kB 8*32kB 7*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 4588kB)
May 11 04:03:30 localhost kernel: 12231*4kB 15194*8kB 3508*16kB 562*32kB 159*64kB 40*128kB 11*256kB 2*512kB 3*1024kB 1*2048kB 385*4096kB = 1845804kB)
May 11 04:03:30 localhost kernel: Swap cache: add 0, delete 0, find 0/0, race 0+0
May 11 04:03:30 localhost kernel: 63544 pages of slabcache
May 11 04:03:30 localhost kernel: 168 pages of kernel stacks
May 11 04:03:30 localhost kernel: 0 lowmem pagetables, 896 highmem pagetables
May 11 04:03:30 localhost kernel: 32 bounce buffer pages, 32 are on the emergency list
May 11 04:03:30 localhost kernel: Free swap: 8388472kB
May 11 04:03:30 localhost kernel: 1245183 pages of RAM
May 11 04:03:30 localhost kernel: 818775 pages of HIGHMEM
May 11 04:03:30 localhost kernel: 353802 reserved pages
May 11 04:03:30 localhost kernel: 147283 pages shared
May 11 04:03:30 localhost kernel: 0 pages swap cached
May 11 04:03:30 localhost kernel: Out of Memory: Killed process 1898 (cannaserver).
댓글 달기