<?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: top and huge virtual memory problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615486#M235040</link>
    <description>top's memory report is almost useless as it does not calculate the numbers in a meaningful way. Most likely you are missing a patch for top, but use swapinfo for this information, but always use swapinfo -tm. The last line is more meaningful. You have 4Gb of swap with 4Gb of RAM so you won't run out of virtual memory until your virtual memory usage hits about 7Gb. Glance is the only program that will give you an accurate picture of memory usage. Note: the majority of "out of memory" errors have nothing to do with RAM or virtual memory.</description>
    <pubDate>Wed, 31 Aug 2005 09:01:30 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2005-08-31T09:01:30Z</dc:date>
    <item>
      <title>top and huge virtual memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615485#M235039</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I have a problem regarding the amount of the virtual memory on rx2600 server with 4GB RAM.&lt;BR /&gt;top shows:&lt;BR /&gt;&lt;BR /&gt;Memory: 895972K (162544K) real, 30980256K (4965800K) virtual, 91600K free&lt;BR /&gt;&lt;BR /&gt;and swapinfo shows:&lt;BR /&gt;           Kb      Kb      Kb&lt;BR /&gt;TYPE     AVAIL    USED    FREE  USED&lt;BR /&gt;dev     4194304  122896 4071408    3%&lt;BR /&gt;reserve       - 2462276 -2462276&lt;BR /&gt;memory  3103596 2991128  112468   96%&lt;BR /&gt;&lt;BR /&gt;i can see that pseudo-swap is turned on (3GB) an that it is used 96%. However i am confused about the way top calculates the memory.&lt;BR /&gt;How can the virtual memory be 30GB when there is 4GB swap space and 4 GB RAM? Where would the memory above the 8GB limit be allocated?&lt;BR /&gt;Is the 900MB real memory in the top output,calculated as the ammount of physical memory minus the 3GB (75%) pseudo-swap?</description>
      <pubDate>Wed, 31 Aug 2005 08:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615485#M235039</guid>
      <dc:creator>Dejan Donovski</dc:creator>
      <dc:date>2005-08-31T08:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: top and huge virtual memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615486#M235040</link>
      <description>top's memory report is almost useless as it does not calculate the numbers in a meaningful way. Most likely you are missing a patch for top, but use swapinfo for this information, but always use swapinfo -tm. The last line is more meaningful. You have 4Gb of swap with 4Gb of RAM so you won't run out of virtual memory until your virtual memory usage hits about 7Gb. Glance is the only program that will give you an accurate picture of memory usage. Note: the majority of "out of memory" errors have nothing to do with RAM or virtual memory.</description>
      <pubDate>Wed, 31 Aug 2005 09:01:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615486#M235040</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-08-31T09:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: top and huge virtual memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615487#M235041</link>
      <description>As an addition to Bill,&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 09:08:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615487#M235041</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-08-31T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: top and huge virtual memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615488#M235042</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Look at&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;I.   Memory Usage as seen in "dmesg", "swapinfo", "top", "sam", and "glance"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;           Steve Steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Aug 2005 10:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615488#M235042</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-08-31T10:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: top and huge virtual memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615489#M235043</link>
      <description>Thanks for your advices,&lt;BR /&gt;swapinfo -tm produces:&lt;BR /&gt;&lt;BR /&gt;             Mb      Mb      Mb   PCT&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED&lt;BR /&gt;dev        4096     132    3964    3%&lt;BR /&gt;reserve       -    2303   -2303&lt;BR /&gt;memory     3031    3031       0  100%&lt;BR /&gt;total      7127    5466    1661   77%&lt;BR /&gt;&lt;BR /&gt;I can see that there is not enough memory.&lt;BR /&gt;The server is running oracle with many processes, however i can not find out exactly&lt;BR /&gt;how much memory is alocated by each process&lt;BR /&gt;becouse when i do:&lt;BR /&gt;UNIX95=1 ps -efo vsz,sz,pid,args&lt;BR /&gt; VSZ     SZ   PID    COMMAND&lt;BR /&gt;382976 14961 10417 oracleorahp (LOCAL=NO)&lt;BR /&gt;382976 15057 12381 oracleorahp (LOCAL=NO)&lt;BR /&gt;382976 15082 12580 oracleorahp (LOCAL=NO)&lt;BR /&gt;382976 15017 12318 oracleorahp (LOCAL=NO)&lt;BR /&gt;382976 14982 12203 oracleorahp (LOCAL=NO)&lt;BR /&gt;382976 15040 10759 oracleorahp (LOCAL=NO)&lt;BR /&gt;(this is only part of the output)&lt;BR /&gt;&lt;BR /&gt;if i calculate the ammount of virtual memory as number of pages*4096 it turns out that&lt;BR /&gt;each of those processes has 1.5GB virtual&lt;BR /&gt;memory which is impossible. I guess that for accurate numbers glance must be used.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2005 05:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615489#M235043</guid>
      <dc:creator>Dejan Donovski</dc:creator>
      <dc:date>2005-09-01T05:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: top and huge virtual memory problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615490#M235044</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;get procsize from the website I gave you&lt;BR /&gt;&lt;BR /&gt;c) Can look at shared memory usage by process with an unsupported utility called procsize, which breaks down memory by  various types, specifically: UAREA, TEXT, DATA, STACK, Shared  Memory, Memory Mapped files. &lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;Look at breakdown of memory usage, per process:&lt;BR /&gt;&lt;BR /&gt;# ./procsize -fnc | more&lt;BR /&gt;pid Comm        UAREA   TEXT   DATA  STACK  SHMEM     IO  MMAP    Total&lt;BR /&gt;2916 getty    v    4      5     6      4     0      0   349      369 &lt;BR /&gt;2287 prm3d    v   68      6   671    513     0      0  37212    38471&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TRICK: Here's the command to use to sort the processes by total memory usage, most to least.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ./procsize -fcn |sort -rnk 11 | more&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TRICK: Here's the command to use to sort the processes by shared memory usage, most to least.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ./procsize -fcn |sort -rnk 8 | more&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then you have good figures&lt;BR /&gt;&lt;BR /&gt;I think the oracle uses the SGA so they all show the same 1.5 gig&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
      <pubDate>Thu, 01 Sep 2005 05:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-and-huge-virtual-memory-problem/m-p/3615490#M235044</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2005-09-01T05:30:46Z</dc:date>
    </item>
  </channel>
</rss>

