<?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: Free Memory always low - What Happened to My Memory? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536867#M38961</link>
    <description>Ivan, all looks kool. It really looks like it is the device-mapper stuff that's causing my woes.&lt;BR /&gt;&lt;BR /&gt;On other servers where I do not have any persented SAN disks and no VGs and Lvols and Filesystems carved -- my memory is fine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now how do I roll-back my device-mapper packages? just "yum downgrade" ?&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Nov 2009 17:59:39 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2009-11-19T17:59:39Z</dc:date>
    <item>
      <title>Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536860#M38954</link>
      <description>&lt;!--!*#--&gt;I've a server, recently imaged with RHEL 5.4, patched to the latest and greatest. As I was about to finish everything and start installing Oracle, I notice that out of the 128GB Mem, I always end up with just about half a GB of mem. And there is no apps running yet. It is consistent, even after a fresh reboot -- mem free is about half a GB.  MemInfo follows below.&lt;BR /&gt;&lt;BR /&gt;I am clueless what's causing this and am about to just re-image and track my steps and see when this issue start to manifest itself.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# free&lt;BR /&gt;             total       used       free     shared    buffers     cached&lt;BR /&gt;Mem:     132101528  131514200     587328          0       4552       9224&lt;BR /&gt;-/+ buffers/cache:  131500424     601104&lt;BR /&gt;Swap:     67076088      66732   67009356&lt;BR /&gt;&lt;BR /&gt;]# cat /proc/meminfo&lt;BR /&gt;MemTotal:     132101528 kB&lt;BR /&gt;MemFree:        585984 kB&lt;BR /&gt;Buffers:          4916 kB&lt;BR /&gt;Cached:           9888 kB&lt;BR /&gt;SwapCached:       9924 kB&lt;BR /&gt;Active:          18452 kB&lt;BR /&gt;Inactive:         6772 kB&lt;BR /&gt;HighTotal:           0 kB&lt;BR /&gt;HighFree:            0 kB&lt;BR /&gt;LowTotal:     132101528 kB&lt;BR /&gt;LowFree:        585984 kB&lt;BR /&gt;SwapTotal:    67076088 kB&lt;BR /&gt;SwapFree:     67009360 kB&lt;BR /&gt;Dirty:               8 kB&lt;BR /&gt;Writeback:           0 kB&lt;BR /&gt;AnonPages:        8684 kB&lt;BR /&gt;Mapped:           5932 kB&lt;BR /&gt;Slab:            42140 kB&lt;BR /&gt;PageTables:       3948 kB&lt;BR /&gt;NFS_Unstable:        0 kB&lt;BR /&gt;Bounce:              0 kB&lt;BR /&gt;CommitLimit:  67443396 kB&lt;BR /&gt;Committed_AS:   179648 kB&lt;BR /&gt;VmallocTotal: 34359738367 kB&lt;BR /&gt;VmallocUsed:    302444 kB&lt;BR /&gt;VmallocChunk: 34359435055 kB&lt;BR /&gt;HugePages_Total: 64144&lt;BR /&gt;HugePages_Free:  64144&lt;BR /&gt;HugePages_Rsvd:      0&lt;BR /&gt;Hugepagesize:     2048 kB&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 14:04:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536860#M38954</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T14:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536861#M38955</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;-/+ buffers/cache:  131500424     601104&lt;BR /&gt;&lt;BR /&gt;There it is.&lt;BR /&gt;&lt;BR /&gt;When memory is in use Linux puts it in buffer cache to speed up I/O. Unlike older versions of HP-UX it can pull memory from cache very quickly. &lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Nov 2009 14:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536861#M38955</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-19T14:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536862#M38956</link>
      <description>Shalom too SEP.&lt;BR /&gt;&lt;BR /&gt;But is this the normal behaviour? I've other servers - freshly installed, similarly patched that I've not:&lt;BR /&gt;&lt;BR /&gt;presented SAN LUNs yet&lt;BR /&gt;installed our custom scripts&lt;BR /&gt;mod'd sysctl.conf, limits.conf for Oracle&lt;BR /&gt;&lt;BR /&gt;And I do not see any issue.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 14:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536862#M38956</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536863#M38957</link>
      <description>And one more thing, our Proof of Cncept Big LINUX machine was a 256GB 48-way server (diff vendor though) and I never saw all my memory being gobbled up as chance "at once".&lt;BR /&gt;&lt;BR /&gt;I'm dealing with VERY large Linux machines btw.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 14:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536863#M38957</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T14:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536864#M38958</link>
      <description>The behavior is perfectly normal. It is the default behavior of RHEL.&lt;BR /&gt;&lt;BR /&gt;Write a program to do some malloc, large chunk of memory, say 256 MB.&lt;BR /&gt;&lt;BR /&gt;Your request will get what it needs instantly. The system will not page and the buffer figures will decline.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Nov 2009 16:36:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536864#M38958</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-19T16:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536865#M38959</link>
      <description>That's what RH Support told me but not quite the case. Impossible for a server with 128GB of memory with hardly any filesystems with files on them to gobble up all the memory.&lt;BR /&gt;&lt;BR /&gt;I am now backtracking and I think I found the culprit. I've the latest HP Multipathing package and Redhat's latest multip-pathing package.&lt;BR /&gt;&lt;BR /&gt;When I tried to collpase my LVM VG that sits on a multi-pathed EVA LUN, the OS ran out of Memory and eventually Panic'd.&lt;BR /&gt;&lt;BR /&gt;SO I am rolling back to HPDMmultipath-4.2.0 instead of 4.3 first and then rollback :&lt;BR /&gt;&lt;BR /&gt;device-mapper.i386                   1.02.32-1.el5          installed&lt;BR /&gt;device-mapper.x86_64                 1.02.32-1.el5          installed&lt;BR /&gt;device-mapper-event.x86_64           1.02.32-1.el5          installed&lt;BR /&gt;device-mapper-multipath.x86_64       0.4.7-30.el5_4.2       installed&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 17:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536865#M38959</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T17:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536866#M38960</link>
      <description>Can you please verify the memory usage by running the ps command, ipcs -a command, and lsmod command, and post the results..</description>
      <pubDate>Thu, 19 Nov 2009 17:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536866#M38960</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-11-19T17:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536867#M38961</link>
      <description>Ivan, all looks kool. It really looks like it is the device-mapper stuff that's causing my woes.&lt;BR /&gt;&lt;BR /&gt;On other servers where I do not have any persented SAN disks and no VGs and Lvols and Filesystems carved -- my memory is fine.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now how do I roll-back my device-mapper packages? just "yum downgrade" ?&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 17:59:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536867#M38961</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T17:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536868#M38962</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;yum remove package_name&lt;BR /&gt;&lt;BR /&gt;Do take a look at the list in case there are unexpected dependencies.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 19 Nov 2009 20:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536868#M38962</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-11-19T20:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536869#M38963</link>
      <description>yum downgrade did it.&lt;BR /&gt;But I lost lvm tools.&lt;BR /&gt;&lt;BR /&gt;I have a breakthough though on what's causing my issues.&lt;BR /&gt;&lt;BR /&gt;My Kernel Configuration that was passed on to me by a DBA:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;vm.nr_hugepages = 70000&lt;BR /&gt;vm.zone_reclaim_mode = 1&lt;BR /&gt;&lt;BR /&gt;kernel.shmmni = 4096&lt;BR /&gt;kernel.shmmax = 0x4000000000&lt;BR /&gt;kernel.sem = 250 32000 250 128&lt;BR /&gt;net.ipv4.ip_local_port_range = 1024 65000&lt;BR /&gt;fs.aio-max-nr=804800&lt;BR /&gt;net.core.rmem_default = 262144&lt;BR /&gt;net.core.wmem_max = 262144&lt;BR /&gt;net.core.wmem_default = 262144&lt;BR /&gt;net.core.rmem_max = 262144&lt;BR /&gt;fs.file-max = 6553600&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I remove vm.nr_hugepages = 70000, my mem woes are gone.&lt;BR /&gt;&lt;BR /&gt;Anyone knows what should be the proper value? The DB will most likely have ~32GB max SGA size and I think that's what it is used for --for Oracle to use huge pages.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Nov 2009 21:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536869#M38963</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2009-11-19T21:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Free Memory always low - What Happened to My Memory?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536870#M38964</link>
      <description>With RHEL 5.4 you don't need the HP multipath kit as it doesn't really have anything but a template for the multipath.conf file. The device-mapper packages that ship with RHEL 5.4 understand HP storage so you don't even need the multipath.conf file unless you want to modify a setting to something other than it's default value.&lt;BR /&gt;&lt;BR /&gt;Older versions of RHEL had modified device-mapper files that included information about HP storage. All that information gets sent upstream to the device mapper maintainer now.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Nov 2009 13:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/free-memory-always-low-what-happened-to-my-memory/m-p/4536870#M38964</guid>
      <dc:creator>Jimmy Vance</dc:creator>
      <dc:date>2009-11-20T13:37:30Z</dc:date>
    </item>
  </channel>
</rss>

