<?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 utilization confusion. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725800#M386072</link>
    <description>You have a very small system (1GB) so you'll need to ad a lot more swap, perhaps another 2-10GB. Create a new lvol, then use swapon to add this to your swap space and you should be OK. Note that 2-10GB is just a guess. JavaJunk can use gigabytes on the code.&lt;BR /&gt; &lt;BR /&gt;Now that said, performance will so bad that you may not be able to login or run commands for several minutes. If your Java code needs 4GB of space, virtually all processes will be swapped out and the Java code will thrash back and forth virtually freezing all other activity. &lt;BR /&gt; &lt;BR /&gt;So this machine is badly undersized for the applications. I would start by finding out what the maximums will be when the machine is in production. If everything adds up to 4GB, add 5GB to your machine and performance should be acceptable...assuming that your application will have enough CPU to run parallel processes and threads.</description>
    <pubDate>Tue, 14 Dec 2010 03:12:12 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2010-12-14T03:12:12Z</dc:date>
    <item>
      <title>Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725797#M386069</link>
      <description>We had a Java process fail due to memory constraint and saw the following swapinfo:&lt;BR /&gt;&lt;BR /&gt;TYPE      AVAIL       USED       FREE   USED      LIMIT    RESERVE        PRI      FILE NAME&lt;BR /&gt;dev    4194304    2785150    1409154 66.40%          0          -          1         64 (major)&lt;BR /&gt;reserve          -    1408402   -1408402&lt;BR /&gt;memory    1042614    1039458       3156 99.70%&lt;BR /&gt;&lt;BR /&gt;Does this mean 99.7% of RAM is in use?  Is this non-pageable allocation?  If not I'd wonder why the system didn't just reduce the footprints of enough processes to accomodate another.&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Dec 2010 18:42:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725797#M386069</guid>
      <dc:creator>gdemers</dc:creator>
      <dc:date>2010-12-13T18:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725798#M386070</link>
      <description>HI:&lt;BR /&gt;&lt;BR /&gt;You are out of memory.  You have 66% of your device swap utilized and all of real memory.  I would look at your page-outs in 'vmstat'.  Anything in double-digits or above means that you system is doing excessive paging and is further degraded.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 13 Dec 2010 19:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725798#M386070</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-12-13T19:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725799#M386071</link>
      <description>So is this message:  &lt;BR /&gt;&lt;BR /&gt;vmunix: Deferred swap reservation failure pid:&lt;BR /&gt;&lt;BR /&gt;Does the calculation count disk swap space along with memory?  If so that means I could add more disk swap space and avoid this--not bad performance however-- in the future?&lt;BR /&gt;&lt;BR /&gt;Are the in-use numbers swap-info return not including the amount "reserved" by lazy swap reservation?</description>
      <pubDate>Mon, 13 Dec 2010 19:46:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725799#M386071</guid>
      <dc:creator>gdemers</dc:creator>
      <dc:date>2010-12-13T19:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725800#M386072</link>
      <description>You have a very small system (1GB) so you'll need to ad a lot more swap, perhaps another 2-10GB. Create a new lvol, then use swapon to add this to your swap space and you should be OK. Note that 2-10GB is just a guess. JavaJunk can use gigabytes on the code.&lt;BR /&gt; &lt;BR /&gt;Now that said, performance will so bad that you may not be able to login or run commands for several minutes. If your Java code needs 4GB of space, virtually all processes will be swapped out and the Java code will thrash back and forth virtually freezing all other activity. &lt;BR /&gt; &lt;BR /&gt;So this machine is badly undersized for the applications. I would start by finding out what the maximums will be when the machine is in production. If everything adds up to 4GB, add 5GB to your machine and performance should be acceptable...assuming that your application will have enough CPU to run parallel processes and threads.</description>
      <pubDate>Tue, 14 Dec 2010 03:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725800#M386072</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-12-14T03:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725801#M386073</link>
      <description>Looks like you are out of memory. Consumption memory depends on the memory requirements of your application. Yes, opearating system tries manage it by swapping. But during this generally your system performance will be very slow. Your applications may be making gradual progress which you may not even notice.&lt;BR /&gt;&lt;BR /&gt;Looks like you need more RAM.&lt;BR /&gt;&lt;BR /&gt;-Pramod.</description>
      <pubDate>Tue, 14 Dec 2010 03:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725801#M386073</guid>
      <dc:creator>Pramod Kumar M</dc:creator>
      <dc:date>2010-12-14T03:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725802#M386074</link>
      <description>Please provide "swapinfo -tam" output.&lt;BR /&gt;If memory is full, it is likely total swap is too.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;wonder why the system didn't just reduce the footprints of enough processes to accommodate another.&lt;BR /&gt;&lt;BR /&gt;That's what you do for memory but not swap.  (You can't swap swap.  :-)  Where is it going to put it?  You are out of swap.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;vmunix: Deferred swap reservation failure pid:&lt;BR /&gt;&amp;gt;Does the calculation count disk swap space along with memory?&lt;BR /&gt;&lt;BR /&gt;All swap requests count total swap.  (That -t" above.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;that means I could add more disk swap space and avoid this in the future?&lt;BR /&gt;&lt;BR /&gt;Exactly.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Are the in-use numbers swap-info return not including the amount "reserved" by lazy swap reservation?&lt;BR /&gt;&lt;BR /&gt;Right.  By using lazy swap you are cheating and on your own.</description>
      <pubDate>Tue, 14 Dec 2010 05:00:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725802#M386074</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-14T05:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725803#M386075</link>
      <description># swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev       16384    9574    6810   58%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    6069   -6069&lt;BR /&gt;memory     4073    1792    2281   44%&lt;BR /&gt;total     20457   17435    3022   85%       -       0    -&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;So I'm thinking we should add another swap device and watch paging rates?  Can this be done effectively with SAR or would you recommend vmstat?&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Dec 2010 13:55:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725803#M386075</guid>
      <dc:creator>gdemers</dc:creator>
      <dc:date>2010-12-14T13:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725804#M386076</link>
      <description>Monitor paging with vmstat. Look at the "po" column. As a general rule, po=0-9 is OK, po=10-30 means the system is being slowed somewhat, po=40-90 means that everyone is noticing a slow system, and po over 100 means very long delays. Note that when pages are deactivated and moved to swap, memory is rearranged and this requires all CPUs in the system to wait for memory changes to complete. So it's not just disk I/O, it's CPU cycles that are wasted while everyone waits for memory to be rearranged.</description>
      <pubDate>Tue, 14 Dec 2010 19:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725804#M386076</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2010-12-14T19:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Memory utilization confusion.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725805#M386077</link>
      <description>&amp;gt;total 20457 17435 3022 85%&lt;BR /&gt;&lt;BR /&gt;Unfortunately your system wasn't as busy when you got this.  And from the "dev" and memory differences, are you even on the same system?</description>
      <pubDate>Tue, 14 Dec 2010 20:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-utilization-confusion/m-p/4725805#M386077</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-14T20:56:26Z</dc:date>
    </item>
  </channel>
</rss>

