<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424494#M204673</link>
    <description>Hi Adrian,&lt;BR /&gt;&lt;BR /&gt;How did you get these numbers?. Different tools show the usages differently based on the collection mechanism and the collection intervals. If this is from top, then&lt;BR /&gt;&lt;BR /&gt;The system has 2560MB of physical memory out of which 2519MB is used.&lt;BR /&gt;&lt;BR /&gt;The total virtual memory allocated to (or requested by) the processes is 3195MB out of which 569 MB was active during the last interval. &lt;BR /&gt;&lt;BR /&gt;Total real memory active has been 1774 MB. Around 329MB was used in the last interval. Real memory pages are really the memory pages that were being used. &lt;BR /&gt;&lt;BR /&gt;1580MB of memory was alloted as 'swap' out of which 1220MB is 'not available' anymore for swap purposes. &lt;BR /&gt;&lt;BR /&gt;2GB of area has been alloted as swap from the disks. You don't have anything left. &lt;BR /&gt;&lt;BR /&gt;This clearly shows that you are running *over and above* out of memory. You will need to add more memory. One area to look for memory wastage is 'dbc_max_pct' kernel parameter. If it is still at 50%, which is it's default, reduce it to get around 500 MB. If you can't do anything, then add more memory. I would say add *atleast* another 2 GB as you have 2 GB sitting on the device swap already.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 17 Nov 2004 16:21:48 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-11-17T16:21:48Z</dc:date>
    <item>
      <title>memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424493#M204672</link>
      <description>Could you give me information about the concept of active virtual and active real memory:&lt;BR /&gt;Memory Stat      total    used   avail   %used&lt;BR /&gt;physical        2560.0  2518.9    41.1     98%&lt;BR /&gt;active virtual  3195.4   569.3  2626.1     18%&lt;BR /&gt;active real     1773.5   328.6  1444.9     19%&lt;BR /&gt;memory swap     1579.7  1220.3   359.4     77%&lt;BR /&gt;device swap     2048.0  2048.0     0.0    100%</description>
      <pubDate>Wed, 17 Nov 2004 16:04:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424493#M204672</guid>
      <dc:creator>Adrian_72</dc:creator>
      <dc:date>2004-11-17T16:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424494#M204673</link>
      <description>Hi Adrian,&lt;BR /&gt;&lt;BR /&gt;How did you get these numbers?. Different tools show the usages differently based on the collection mechanism and the collection intervals. If this is from top, then&lt;BR /&gt;&lt;BR /&gt;The system has 2560MB of physical memory out of which 2519MB is used.&lt;BR /&gt;&lt;BR /&gt;The total virtual memory allocated to (or requested by) the processes is 3195MB out of which 569 MB was active during the last interval. &lt;BR /&gt;&lt;BR /&gt;Total real memory active has been 1774 MB. Around 329MB was used in the last interval. Real memory pages are really the memory pages that were being used. &lt;BR /&gt;&lt;BR /&gt;1580MB of memory was alloted as 'swap' out of which 1220MB is 'not available' anymore for swap purposes. &lt;BR /&gt;&lt;BR /&gt;2GB of area has been alloted as swap from the disks. You don't have anything left. &lt;BR /&gt;&lt;BR /&gt;This clearly shows that you are running *over and above* out of memory. You will need to add more memory. One area to look for memory wastage is 'dbc_max_pct' kernel parameter. If it is still at 50%, which is it's default, reduce it to get around 500 MB. If you can't do anything, then add more memory. I would say add *atleast* another 2 GB as you have 2 GB sitting on the device swap already.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 17 Nov 2004 16:21:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424494#M204673</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-11-17T16:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424495#M204674</link>
      <description>Memory in hpux speak&lt;BR /&gt;&lt;BR /&gt;ram plus swap&lt;BR /&gt;&lt;BR /&gt;8 gb ram 6 gb swap 14 Gb of memory.&lt;BR /&gt;&lt;BR /&gt;Its okay to reserve part of that 6 GB of swap but if you start using it you slow down fast. Watch for paging.&lt;BR /&gt;&lt;BR /&gt;Your ouptut appears to be from swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;IT shows you are using all ram, and nearly all swap. You need memory or less work for your machine.&lt;BR /&gt;&lt;BR /&gt;Virtual memory is disk memory that is used like memory. In essence swap. Its not real memory in the form of a fast chip, its kind of fake or psuedo memory to enable the system to swap out processes and keep running when actual ram(physical) memory is short.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 17 Nov 2004 16:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424495#M204674</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-17T16:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424496#M204675</link>
      <description>Hi Adrian,&lt;BR /&gt;&lt;BR /&gt;Try the memory management white paper,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc  doc id is WP1030009A.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 17:14:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424496#M204675</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-11-17T17:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424497#M204676</link>
      <description>Hi Adrian&lt;BR /&gt;&lt;BR /&gt;Both Sri and SEP have explained the memory figures to you.&lt;BR /&gt;&lt;BR /&gt;In terms of memory utilsation on systems I would pay partiular attention to the amount of free memory, page out rate and swap utilisation.&lt;BR /&gt;&lt;BR /&gt;You can use glance (options 'm' &amp;amp; 'w')to get a breakdown of memory and swap utilisation.&lt;BR /&gt;&lt;BR /&gt;If you don't have glance the following command will show you free memory in MB.&lt;BR /&gt;# vmstat 1 2 | egrep -v 'procs|free' | tail -1 | awk '{ print $5*4/1024 }'.&lt;BR /&gt;&lt;BR /&gt;You can also use vmstat to view pageout (po) rate.&lt;BR /&gt;&lt;BR /&gt;Another good utility is kmeminfo (usually in /usr/contrib/Q4/bin).  This gives an excellent breakdown of memory usage. The figures are in 4k pages, so you need to multiply by 4 to get figures in Kb.&lt;BR /&gt;&lt;BR /&gt;Have a look at this excellent HP paper on memory for more info.&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Con&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Nov 2004 17:47:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3424497#M204676</guid>
      <dc:creator>Con O'Kelly</dc:creator>
      <dc:date>2004-11-17T17:47:34Z</dc:date>
    </item>
  </channel>
</rss>

