out of memory

focus의 이미지

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).

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.