<?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: Memory usage 99% in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215656#M326730</link>
    <description>check to see if you have buffer cache set for the same percentage value on both primary and secondary. Excessive memory use, is usually caused by a system which was not tuned but left at the default kernel parameter settings. To check, run the command:&lt;BR /&gt;&lt;BR /&gt;kmtune | grep dbc&lt;BR /&gt;&lt;BR /&gt;on both servers and if the values on secondary shows up larger than the primary node (usually dbc_max_pct is set to 50), you found your culprit. If this is the case, you need to rebuild your kernel, which means down time, despite how short it is.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
    <pubDate>Thu, 12 Jun 2008 15:13:05 GMT</pubDate>
    <dc:creator>Mel Burslan</dc:creator>
    <dc:date>2008-06-12T15:13:05Z</dc:date>
    <item>
      <title>Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215655#M326729</link>
      <description>This is a two-server HP-UX RP4440  SG cluster. The secondary server's memory utilization stays 99% all the time while the primary only uses 70%. Both servers have the same Oracle database and applications running. Anyway to identify what is causing this problem?&lt;BR /&gt;&lt;BR /&gt;#glance&lt;BR /&gt;CPU  Util                                                                                                          |  1%    1%    1%&lt;BR /&gt;Disk Util   F     FV   V                                                                                           | 12%   12%   12%&lt;BR /&gt;Mem  Util   S                 SU                                     UB                                         B  | 99%   99%   99%&lt;BR /&gt;Swap Util   U                                                 UR                                 R                 | 84%   84%   84%</description>
      <pubDate>Thu, 12 Jun 2008 14:00:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215655#M326729</guid>
      <dc:creator>Rick Chen_1</dc:creator>
      <dc:date>2008-06-12T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215656#M326730</link>
      <description>check to see if you have buffer cache set for the same percentage value on both primary and secondary. Excessive memory use, is usually caused by a system which was not tuned but left at the default kernel parameter settings. To check, run the command:&lt;BR /&gt;&lt;BR /&gt;kmtune | grep dbc&lt;BR /&gt;&lt;BR /&gt;on both servers and if the values on secondary shows up larger than the primary node (usually dbc_max_pct is set to 50), you found your culprit. If this is the case, you need to rebuild your kernel, which means down time, despite how short it is.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Thu, 12 Jun 2008 15:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215656#M326730</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2008-06-12T15:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215657#M326731</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;  Anyway to identify what is causing this problem?&lt;BR /&gt;&lt;BR /&gt;Is it a problem? &lt;BR /&gt;99 is a pretty number!&lt;BR /&gt;&lt;BR /&gt;Rick, the itrc formatting caused the relative sizes if "S SU UB B" to be lost.&lt;BR /&gt;If you reply, please replace spaces by "-" or 'retain formatting' or both.&lt;BR /&gt;Which hp-ux version?&lt;BR /&gt;&lt;BR /&gt;Mel, &lt;BR /&gt;I respectfully disagree.&lt;BR /&gt;dbc_max_pct allows the cache to grow, if there is no contention for memory. This is goodness.&lt;BR /&gt;&lt;BR /&gt;dbc_min_pct on the other hand might reserve memory which could be better used elsewhere.&lt;BR /&gt;&lt;BR /&gt;As Rick is using a recent RP system, he might be using 11iV3 in that case the filecache_min / max params could be use, but possibly should not be used and defaults accepted.&lt;BR /&gt;&lt;BR /&gt;See "man dbc_max_pct" --&amp;gt; obsoleted.&lt;BR /&gt;&lt;BR /&gt;$ /usr/sbin/kctune | grep  -E 'filecache|Changes'&lt;BR /&gt;Tunable                           Value  Expression  Changes&lt;BR /&gt;filecache_max                8160403456  Default     Auto&lt;BR /&gt;filecache_min                 816037888  Default     Auto&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2008 15:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215657#M326731</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-06-12T15:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215658#M326732</link>
      <description>This is quite interesting. The HP-UX version is 11.11. Both dbc_max_pct and dbc_min_pct are valid. comparing primary and secondary servers, the values are set different:&lt;BR /&gt;primary:&lt;BR /&gt;# kmtune | grep dbc&lt;BR /&gt;dbc_max_pct   5 - 5                       &lt;BR /&gt;dbc_min_pct   2  - 2  &lt;BR /&gt;&lt;BR /&gt;Secondary:&lt;BR /&gt;dbc_max_pct                50  -  50&lt;BR /&gt;dbc_min_pct                 5  -  5  &lt;BR /&gt;&lt;BR /&gt;Is there a reason to set this way? If the primary server works fine with the current setting, is there a reason I should not set the same on the seconary?&lt;BR /&gt;&lt;BR /&gt;Thanks    &lt;BR /&gt;</description>
      <pubDate>Thu, 12 Jun 2008 17:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215658#M326732</guid>
      <dc:creator>Rick Chen_1</dc:creator>
      <dc:date>2008-06-12T17:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215659#M326733</link>
      <description>As Hein said, buffer cache grabbing is a courteous process and your system only grabs (upto 50% in your secondary server's case) the free memory if no other processes were asking for it. But it makes the memory utilization at or near 99-100% all the time, which in some cases makes the people wearing suits very nervous without a valid reason. &lt;BR /&gt;&lt;BR /&gt;So, yes, you can make them the same, but if you are not experiencing a performance problem on your secondary server, do you really need to take the server down ? Of course if this is an idle member of the cluster, waiting for a failure to happen, i.e., there are no packages running on it, it is a different story. &lt;BR /&gt;&lt;BR /&gt;But for the heart of the matter, yes you can do it and if you want to do it or not is upto you. All my 60+ hpux servers have these parameters tuned to 7-8% for the _max and 5% for the _min parameters.</description>
      <pubDate>Thu, 12 Jun 2008 17:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215659#M326733</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2008-06-12T17:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215660#M326734</link>
      <description>Mel,&lt;BR /&gt;Resetting these parameters resolved the problem. Why is it a problem? If one database is started up, the memory is already in 99% on the O/S, the other database instances will experience memory contention. Besides my Oracle 10g installation failed to link files due to OUT OF MEMORY. After reset the parameters, I rebooted the box and started up 3 databases along with associated applications, the memory usage is staying at 68%. Good it is my test environment so I can reboot it quickly.&lt;BR /&gt;&lt;BR /&gt;Thank you all for your great help!&lt;BR /&gt;&lt;BR /&gt;Rck</description>
      <pubDate>Thu, 12 Jun 2008 20:32:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215660#M326734</guid>
      <dc:creator>Rick Chen_1</dc:creator>
      <dc:date>2008-06-12T20:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215661#M326735</link>
      <description>&amp;gt; failed to link files due to OUT OF MEMORY.&lt;BR /&gt; &lt;BR /&gt;Actually, this is not a memory problem, it is a swap space problem. HP-UX is a virtual memory system so RAM is not the limiting factor, it is the RAM + swap space that limits your available space. You need to double of triple the total swap space. In glance, you can see this where swap space is 84% allocated.&lt;BR /&gt; &lt;BR /&gt;The buffer cache is dynamic and even though the (bad) default of 50% was specified, this space should move down towards the min_pct value to make room for processes, albeit fairly slowly. And note that when you do indeed reach 100% RAM used, then paging starts and that can have a massive impact on performance. The best metric for low memory is the page out rate in Glance (or po column in vmstat).</description>
      <pubDate>Fri, 13 Jun 2008 01:24:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215661#M326735</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-06-13T01:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215662#M326736</link>
      <description>Thanks Bill for the comments. The only way I was able to complete Oracle 10g installation without the OUT OF MEMORY error is to shut down related Oracle applications and reduced the memory usage on the HP-UX server to 95%. Swap may play a role in the case, but I did not record what was the swap after I shut down the applications, with 99% of memory usage I had no way to push through the installation at the "linking stage".</description>
      <pubDate>Fri, 13 Jun 2008 11:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215662#M326736</guid>
      <dc:creator>Rick Chen_1</dc:creator>
      <dc:date>2008-06-13T11:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Memory usage 99%</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215663#M326737</link>
      <description>I have heard that some versions of Oracle require 35 Gbytes of swap space in order to install and build the binaries. Once built, the swap space can be reduced to 5-10 GB and everything works fine. Why the Oracle installer  is so piggy is a mystery...</description>
      <pubDate>Fri, 13 Jun 2008 23:40:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage-99/m-p/4215663#M326737</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-06-13T23:40:06Z</dc:date>
    </item>
  </channel>
</rss>

