<?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 Re: Out of Memory: Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379884#M35614</link>
    <description>Hi,&lt;BR /&gt;Please use the following link to Upgrade Kernal ..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/support/resources/howto/kernel-upgrade/" target="_blank"&gt;http://www.redhat.com/support/resources/howto/kernel-upgrade/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
    <pubDate>Wed, 18 Mar 2009 04:52:40 GMT</pubDate>
    <dc:creator>Gokul Chandola</dc:creator>
    <dc:date>2009-03-18T04:52:40Z</dc:date>
    <item>
      <title>Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379874#M35604</link>
      <description>dear all,&lt;BR /&gt;&lt;BR /&gt;[root@jupiter root]# uname -a&lt;BR /&gt;Linux jupiter 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686 athlon i386 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;Out of memory error and server hangs.&lt;BR /&gt;Please help how can i troubleshoot with what commands.&lt;BR /&gt;&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: ENOMEM in journal_get_undo_access_Rsmp_6317abf4, retrying.&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Mem-info:&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Zone:DMA freepages:  2858 min:     0 low:     0 high:     0&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Zone:Normal freepages:   638 min:  1279 low:  4544 high:  6304&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Zone:HighMem freepages:   260 min:   255 low: 11776 high: 17664&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Free pages:        3756 (   260 HighMem)&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: ( Active: 103988/388960, inactive_laundry: 58345, inactive_clean: 58338, free: 3756 )&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel:   aa:0 ac:0 id:0 il:0 ic:0 fr:2858&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel:   aa:1393 ac:34 id:27 il:130 ic:0 fr:638&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel:   aa:61259 ac:41302 id:388847 il:58327 ic:58338 fr:260&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 2*4kB 0*8kB 0*16kB 3*32kB 1*64kB 0*128kB 2*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11432kB)&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 16*4kB 11*8kB 10*16kB 4*32kB 3*64kB 3*128kB 2*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 2552kB)&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 12*4kB 2*8kB 3*16kB 3*32kB 13*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1040kB)&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Swap cache: add 5627, delete 4224, find 571/1401, race 0+0&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 14709 pages of slabcache&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 566 pages of kernel stacks&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 0 lowmem pagetables, 1027 highmem pagetables&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Free swap:       12559624kB&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 983040 pages of RAM&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 753648 pages of HIGHMEM&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 18715 reserved pages&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 443126 pages shared&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: 1403 pages swap cached&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Out of Memory: Killed process 10420 (java).&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Out of Memory: Killed process 10420 (java).&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Out of Memory: Killed process 10421 (java).&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Out of Memory: Killed process 10422 (java).&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Out of Memory: Killed process 10423 (java).&lt;BR /&gt;Mar 16 06:25:54 jupiter kernel: Out of Memory: Killed process 10424 (java).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Mar 2009 10:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379874#M35604</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2009-03-16T10:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379875#M35605</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Reduce memory consumption prior to running your commands.&lt;BR /&gt;&lt;BR /&gt;This is a legitimate out of memory condition.&lt;BR /&gt;&lt;BR /&gt;Check free output before you start.&lt;BR /&gt;&lt;BR /&gt;Maybe you can shut down some daemons and server processes to save memory.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 16 Mar 2009 11:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379875#M35605</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-03-16T11:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379876#M35606</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;can u please help explain about above mem condition description ?&lt;BR /&gt;&lt;BR /&gt;Free swap: 12559624kB&lt;BR /&gt;&lt;BR /&gt;Swap is still free. why it was not used ?</description>
      <pubDate>Mon, 16 Mar 2009 12:00:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379876#M35606</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2009-03-16T12:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379877#M35607</link>
      <description>maybe the swapiness setting was set to 0 (zero), thus the swap will never be used.&lt;BR /&gt;&lt;BR /&gt;other then that, i can't think of a reason why swap would not be used.</description>
      <pubDate>Tue, 17 Mar 2009 06:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379877#M35607</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2009-03-17T06:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379878#M35608</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i tried &lt;BR /&gt;echo 60 &amp;gt; /proc/sys/vm/swappiness&lt;BR /&gt;-bash: /proc/sys/vm/swappiness: No such file or directory&lt;BR /&gt;&lt;BR /&gt;what can i do ?&lt;BR /&gt;can touch the swappiness file first or it has to be something registered with kernel/vm somewhere/somehow ?&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Tue, 17 Mar 2009 06:38:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379878#M35608</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2009-03-17T06:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379879#M35609</link>
      <description>IIRC, swapiness parameter was introduced only in 2.6 kernels.&lt;BR /&gt;&lt;BR /&gt;As for as I see, you run i386 kernel, so probably you encountered 3GB per process limit?&lt;BR /&gt;Can you send us "free" command output and some stats about your memory-intensive processes - for example, from "top"  sorted using "M".</description>
      <pubDate>Tue, 17 Mar 2009 07:36:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379879#M35609</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2009-03-17T07:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379880#M35610</link>
      <description>free&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:       3857300    1192536    2664764          0     221852     572528&lt;BR /&gt;-/+ buffers/cache:     398156    3459144&lt;BR /&gt;Swap:     12578812       3192   12575620&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TOP SORTED by M&lt;BR /&gt;&lt;BR /&gt;249 processes: 245 sleeping, 2 running, 2 zombie, 0 stopped&lt;BR /&gt;CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle&lt;BR /&gt;           total    0.0%    0.0%    1.2%   0.0%     0.0%    0.0%   98.5%&lt;BR /&gt;           cpu00    0.0%    0.0%    0.3%   0.1%     0.0%    0.0%   99.4%&lt;BR /&gt;           cpu01    0.0%    0.0%    2.1%   0.0%     0.1%    0.0%   97.6%&lt;BR /&gt;Mem:  3857300k av, 1194116k used, 2663184k free,       0k shrd,  221712k buff&lt;BR /&gt;                    757112k actv,  153224k in_d,    2436k in_c&lt;BR /&gt;Swap: 12578812k av,    3192k used, 12575620k free                  572532k cached&lt;BR /&gt;&lt;BR /&gt;  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND&lt;BR /&gt;18047 root      25   0  153M 152M 39100 S     0.0  4.0   0:47   0 java&lt;BR /&gt;18050 root      15   0  153M 152M 39100 S     0.0  4.0   1:00   0 java&lt;BR /&gt;18051 root      16   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18052 root      16   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18053 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18054 root      15   0  153M 152M 39100 S     0.0  4.0   0:07   1 java&lt;BR /&gt;18055 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18056 root      15   0  153M 152M 39100 S     0.0  4.0   1:41   1 java&lt;BR /&gt;18059 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18060 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18061 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18062 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18070 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18074 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18077 root      15   0  153M 152M 39100 S     0.0  4.0   0:01   0 java&lt;BR /&gt;18080 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18081 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18082 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18083 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18084 root      24   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18110 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18111 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18113 root      16   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18117 root      25   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18120 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18121 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18122 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18123 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   1 java&lt;BR /&gt;18133 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18134 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18135 root      15   0  153M 152M 39100 S     0.0  4.0   0:00   0 java&lt;BR /&gt;18136 root      15   0  153M 152M 39100 S     0.0  4.0   0:01   0 java&lt;BR /&gt;18137 root      15   0  153M 152M 39100 S     0.0  4.0   0:04   0 java&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Mar 2009 08:29:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379880#M35610</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2009-03-17T08:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379881#M35611</link>
      <description>OK, so it is not one huge process, but many small Java instances. Accroding to this snapshot, situation with RAM usage seems OK now.&lt;BR /&gt;&lt;BR /&gt;I guess, for some reason number of java (tomcat, jboss?) instances was increased and they took all RAM.&lt;BR /&gt;&lt;BR /&gt;It is still interesting why system crashed when you had free swap; but from practical point of view I suggest to investigate why number of java instances were increased.&lt;BR /&gt;I suggest to activate some monitoring solution (script-based or real NMS) for alerting when java is starting eat too much ram.</description>
      <pubDate>Tue, 17 Mar 2009 09:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379881#M35611</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2009-03-17T09:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379882#M35612</link>
      <description>Note that this is a 32-bit OS, running a kernel 2.4.21.&lt;BR /&gt;&lt;BR /&gt;The amount of swap and the presence of HIGHMEM seems to indicate this machine has more than 1 GB of RAM.&lt;BR /&gt;&lt;BR /&gt;By the output, the number of free pages is quite small compared to the number of active pages. This seems to be most severe in the HighMem zone.&lt;BR /&gt;&lt;BR /&gt;My *guess* would be that there might be so much memory fragmentation that when the system requires a large contiguous block of memory for some reason, it cannot find one.&lt;BR /&gt;&lt;BR /&gt;In any case, you're running kernel version 2.4.21-27.ELsmp, which has plenty of known bugs. By the kernel version number, I'm guessing you are running RedHat Enterprise Linux 3. I would recommend to update to the latest errata kernel (2.4.21-57.ELsmp or newer) and see if the problem can be reproduced.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 17 Mar 2009 14:20:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379882#M35612</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-03-17T14:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379883#M35613</link>
      <description>thanks,&lt;BR /&gt;can u give me procedure to upgrade kernel ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 00:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379883#M35613</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2009-03-18T00:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379884#M35614</link>
      <description>Hi,&lt;BR /&gt;Please use the following link to Upgrade Kernal ..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/support/resources/howto/kernel-upgrade/" target="_blank"&gt;http://www.redhat.com/support/resources/howto/kernel-upgrade/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
      <pubDate>Wed, 18 Mar 2009 04:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379884#M35614</guid>
      <dc:creator>Gokul Chandola</dc:creator>
      <dc:date>2009-03-18T04:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379885#M35615</link>
      <description>Additional help Example....&lt;BR /&gt;May be usefull.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://wincent.com/wiki/RHEL_3_kernel_upgrade_from_2.4.21-47.0.1.EL_to_2.4.21-50.EL" target="_blank"&gt;https://wincent.com/wiki/RHEL_3_kernel_upgrade_from_2.4.21-47.0.1.EL_to_2.4.21-50.EL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
      <pubDate>Wed, 18 Mar 2009 04:57:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379885#M35615</guid>
      <dc:creator>Gokul Chandola</dc:creator>
      <dc:date>2009-03-18T04:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Out of Memory: Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379886#M35616</link>
      <description>Thank you all.&lt;BR /&gt;I will try to upgrade Kernel, in next tech window.&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Mar 2009 05:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/out-of-memory-linux/m-p/4379886#M35616</guid>
      <dc:creator>Pradep</dc:creator>
      <dc:date>2009-03-23T05:16:28Z</dc:date>
    </item>
  </channel>
</rss>

