<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic out of memory in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396023#M14322</link>
    <description>I have big problem about AS3 on 4xCPU 5gb Memory. after RHEL hang, the messages shows me out of memory as below, I tried to add more one swap files to 2GB(Total 4GB).But still out of memory and hang. The kernel now using SMP-2.4.9-15EL.&lt;BR /&gt;&lt;BR /&gt;kernel: Mem-info:&lt;BR /&gt;kernel: Zone:DMA freepages:  2900 min:     0 low:     0 high:     0&lt;BR /&gt;kernel: Zone:Normal freepages:  1309 min:  1279 low:  4544 high:  6304&lt;BR /&gt;kernel: Zone:HighMem freepages:   254 min:   255 low: 16894 high: 25341&lt;BR /&gt;kernel: Free pages:        4463 (   254 HighMem)&lt;BR /&gt;kernel: ( Active: 1192520/1489, inactive_laundry: 36, inactive_clean: 76, free: 4463 )&lt;BR /&gt;kernel:   aa:0 ac:0 id:0 il:0 ic:0 fr:2900&lt;BR /&gt;kernel:   aa:184711 ac:2651 id:1176 il:39 ic:76 fr:1309&lt;BR /&gt;kernel:   aa:995255 ac:9894 id:319 il:0 ic:0 fr:254&lt;BR /&gt;kernel: 0*4kB 2*8kB 4*16kB 2*32kB 3*64kB 0*128kB 2*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11600kB)&lt;BR /&gt;kernel: 73*4kB 76*8kB 15*16kB 10*32kB 5*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 5236kB)&lt;BR /&gt;kernel: 10*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1016kB)&lt;BR /&gt;kernel: Swap cache: add 1088449, delete 1084269, find 5364809/5397452, race 0+0&lt;BR /&gt;kernel: 8151 pages of slabcache&lt;BR /&gt;kernel: 1062 pages of kernel stacks&lt;BR /&gt;kernel: 0 lowmem pagetables, 8436 highmem pagetables&lt;BR /&gt;kernel: Free swap:            0kB&lt;BR /&gt;Oct  7 20:53:14 theta kernel: 1310719 pages of RAM&lt;BR /&gt;kernel: 1015801 pages of HIGHMEM&lt;BR /&gt;kernel: 85979 reserved pages&lt;BR /&gt;kernel: 224721 pages shared&lt;BR /&gt;kernel: 4182 pages swap cached&lt;BR /&gt;kernel: Out of Memory: Killed process 1777 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1925 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1926 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1927 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1928 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1929 (java).</description>
    <pubDate>Fri, 08 Oct 2004 01:40:56 GMT</pubDate>
    <dc:creator>Ryan Lee</dc:creator>
    <dc:date>2004-10-08T01:40:56Z</dc:date>
    <item>
      <title>out of memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396023#M14322</link>
      <description>I have big problem about AS3 on 4xCPU 5gb Memory. after RHEL hang, the messages shows me out of memory as below, I tried to add more one swap files to 2GB(Total 4GB).But still out of memory and hang. The kernel now using SMP-2.4.9-15EL.&lt;BR /&gt;&lt;BR /&gt;kernel: Mem-info:&lt;BR /&gt;kernel: Zone:DMA freepages:  2900 min:     0 low:     0 high:     0&lt;BR /&gt;kernel: Zone:Normal freepages:  1309 min:  1279 low:  4544 high:  6304&lt;BR /&gt;kernel: Zone:HighMem freepages:   254 min:   255 low: 16894 high: 25341&lt;BR /&gt;kernel: Free pages:        4463 (   254 HighMem)&lt;BR /&gt;kernel: ( Active: 1192520/1489, inactive_laundry: 36, inactive_clean: 76, free: 4463 )&lt;BR /&gt;kernel:   aa:0 ac:0 id:0 il:0 ic:0 fr:2900&lt;BR /&gt;kernel:   aa:184711 ac:2651 id:1176 il:39 ic:76 fr:1309&lt;BR /&gt;kernel:   aa:995255 ac:9894 id:319 il:0 ic:0 fr:254&lt;BR /&gt;kernel: 0*4kB 2*8kB 4*16kB 2*32kB 3*64kB 0*128kB 2*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11600kB)&lt;BR /&gt;kernel: 73*4kB 76*8kB 15*16kB 10*32kB 5*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 5236kB)&lt;BR /&gt;kernel: 10*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1016kB)&lt;BR /&gt;kernel: Swap cache: add 1088449, delete 1084269, find 5364809/5397452, race 0+0&lt;BR /&gt;kernel: 8151 pages of slabcache&lt;BR /&gt;kernel: 1062 pages of kernel stacks&lt;BR /&gt;kernel: 0 lowmem pagetables, 8436 highmem pagetables&lt;BR /&gt;kernel: Free swap:            0kB&lt;BR /&gt;Oct  7 20:53:14 theta kernel: 1310719 pages of RAM&lt;BR /&gt;kernel: 1015801 pages of HIGHMEM&lt;BR /&gt;kernel: 85979 reserved pages&lt;BR /&gt;kernel: 224721 pages shared&lt;BR /&gt;kernel: 4182 pages swap cached&lt;BR /&gt;kernel: Out of Memory: Killed process 1777 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1925 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1926 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1927 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1928 (java).&lt;BR /&gt;kernel: Out of Memory: Killed process 1929 (java).</description>
      <pubDate>Fri, 08 Oct 2004 01:40:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396023#M14322</guid>
      <dc:creator>Ryan Lee</dc:creator>
      <dc:date>2004-10-08T01:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396024#M14323</link>
      <description>I found a similar case &lt;A href="http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118152" target="_blank"&gt;http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118152&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;can i update the kernel to fix this? also posted vmstat</description>
      <pubDate>Fri, 08 Oct 2004 01:46:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396024#M14323</guid>
      <dc:creator>Ryan Lee</dc:creator>
      <dc:date>2004-10-08T01:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396025#M14324</link>
      <description>Ryan,&lt;BR /&gt;&lt;BR /&gt;I think you only need to apply two modifications on your system paarmeters.&lt;BR /&gt;&lt;BR /&gt;echo 1 15 15 &amp;gt; /proc/sys/vm/pagecache&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;echo 30 &amp;gt; /proc/sys/vm/inactive_clean_percent&lt;BR /&gt;&lt;BR /&gt;but remember that the default values will be restored after a system boot.&lt;BR /&gt;&lt;BR /&gt;If this solves your problem you have to put those commands on rc.local or another place that executes on boot time.&lt;BR /&gt;&lt;BR /&gt;If it does not solve your problem you have a real memory constraint and you will have to minimise the use of ram (less concurrent processes)or buy more memory.&lt;BR /&gt;&lt;BR /&gt;There is a config file (/etc/sysctl.conf) where you can customize those system parameters and others.&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;sysctl -a&lt;BR /&gt;&lt;BR /&gt;to see your current values for all system parameters.&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;BR /&gt;yko</description>
      <pubDate>Fri, 08 Oct 2004 11:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396025#M14324</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-10-08T11:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396026#M14325</link>
      <description>Thanks for your help, I had tried to add sysctl -w vm.inactive_clean_percent = 30 and vm.kswapd = 1024 32 64. But still out of memory. It looks like memory leak. can I tuning something for limit specific process in memory usage.</description>
      <pubDate>Fri, 08 Oct 2004 20:51:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396026#M14325</guid>
      <dc:creator>Ryan Lee</dc:creator>
      <dc:date>2004-10-08T20:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396027#M14326</link>
      <description>There's any reason why you didn't set&lt;BR /&gt;&lt;BR /&gt;echo 1 15 15 &amp;gt; /proc/sys/vm/pagecache&lt;BR /&gt;&lt;BR /&gt;or you did ?&lt;BR /&gt;&lt;BR /&gt;I don't know how to control the number of process submited by users, does anybody know ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Xyko</description>
      <pubDate>Mon, 11 Oct 2004 06:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory/m-p/3396027#M14326</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2004-10-11T06:23:35Z</dc:date>
    </item>
  </channel>
</rss>

