<?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: Virtual memory and swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255384#M332167</link>
    <description>Here when you run command swapinfo -tam it clearly shows there is more free swap memory available.&lt;BR /&gt;Second thing if you want to exact use of your memory online useing you can use "TOP" command to check how many memory currently application or system using. After that you can say you have required more swap space.&lt;BR /&gt;My suggetion is that please use "TOP" command to check memory status freqently, after that you may not required Swap space and problem is in with other side.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
    <pubDate>Thu, 21 Aug 2008 02:27:30 GMT</pubDate>
    <dc:creator>Gokul Chandola</dc:creator>
    <dc:date>2008-08-21T02:27:30Z</dc:date>
    <item>
      <title>Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255379#M332162</link>
      <description>I'm a little confused on the terms virtual memory &amp;amp; swap. When I do swapinfo, I see 8gb of swap &amp;amp; 6gb pseudo swap for a total of 14gb. When I use GPM to check virual memory, I only have 3.4 gb of total virtual memory.  My DBA needs more swap for a process than the 3.4 which is hanging things  ... why wouldn't there be 14 gb of virual memory to use from instead of 3.4 tops?</description>
      <pubDate>Wed, 20 Aug 2008 17:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255379#M332162</guid>
      <dc:creator>UXisCool</dc:creator>
      <dc:date>2008-08-20T17:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255380#M332163</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Different tools, different calcuations.&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam is going to give you the best measure. &lt;BR /&gt;&lt;BR /&gt;gpm may be showing how much swap is free.&lt;BR /&gt;&lt;BR /&gt;Your dba asking for more swap is an issue here. If your system is paging to disk, adding swap may make it more stable, but won't make it any faster. In fact it will be slower.&lt;BR /&gt;&lt;BR /&gt;The better approach here, not knowing physical memory is probably to add memory.&lt;BR /&gt;&lt;BR /&gt;If you post swapinfo -tam output and vmstat output, I can give a more precise analysis.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 20 Aug 2008 17:57:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255380#M332163</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-20T17:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255381#M332164</link>
      <description>Here is what swapinfo -tam   gave me.&lt;BR /&gt;&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        8192     200    7992    2%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    2990   -2990&lt;BR /&gt;memory     6290     484    5806    8%&lt;BR /&gt;total     14482    3674   10808   25%       -       0    -&lt;BR /&gt;&lt;BR /&gt;I agree they are different tools but shouldn't vitual memory and swap be closer? We're talking 11 gig difference in what is the most that virtual memory thinks it can obtain. The oracle process is grabbing exactly all of what is virtual memory.</description>
      <pubDate>Wed, 20 Aug 2008 18:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255381#M332164</guid>
      <dc:creator>UXisCool</dc:creator>
      <dc:date>2008-08-20T18:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255382#M332165</link>
      <description>Where is gpm reporting the 3.4Gb? If it is based on just the "Memory Report" section -- Total VM is the total Virtual Memory consumed by all processes (both active and inactive), not the total *possible* Virtual memory.&lt;BR /&gt;&lt;BR /&gt;You are entirely correct that swap space is an indicator of total possible Virtual memory (it isn't exact, however, since file-backed objects are allowed to be virtually mapped without needing additional swap... or in simpler terms, mmap() with MAP_FILE is exempt from this rule, as are most Text sections of binaries, etc.).&lt;BR /&gt;&lt;BR /&gt;When you say that you need more swap and that it is "hanging things" -- can you be more specific? Is a script hanging? The system? Because if the process did actually try to grow virtually, I see no reason from the swapinfo output for it to be failed. You may be hitting other issues like the maxdsiz / maxdsiz_64bit cap, shm* tunable caps, etc. We'd need more information on exactly what's failing (i.e. if it is a system call, which one, at least?) to try to determine that.</description>
      <pubDate>Wed, 20 Aug 2008 18:31:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255382#M332165</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2008-08-20T18:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255383#M332166</link>
      <description>I agree with the previous post. If it is a database (oracle or sybase perhaps) that is trying to allocate virtual memory, you should check maxtsiz, maxtsiz_64bit, maxdsiz &amp;amp; maxdsiz_64bit ... it's probably trying to allocate more shared memory then you currently have allowed. More often than not those params and occasionally shmmax will hold up a databse allocating memory more than anything else.</description>
      <pubDate>Wed, 20 Aug 2008 18:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255383#M332166</guid>
      <dc:creator>Jon M Zellhoefer</dc:creator>
      <dc:date>2008-08-20T18:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255384#M332167</link>
      <description>Here when you run command swapinfo -tam it clearly shows there is more free swap memory available.&lt;BR /&gt;Second thing if you want to exact use of your memory online useing you can use "TOP" command to check how many memory currently application or system using. After that you can say you have required more swap space.&lt;BR /&gt;My suggetion is that please use "TOP" command to check memory status freqently, after that you may not required Swap space and problem is in with other side.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gokul Chandola</description>
      <pubDate>Thu, 21 Aug 2008 02:27:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255384#M332167</guid>
      <dc:creator>Gokul Chandola</dc:creator>
      <dc:date>2008-08-21T02:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255385#M332168</link>
      <description>&amp;gt;Jon: you should check maxtsiz, maxtsiz_64bit&lt;BR /&gt;&lt;BR /&gt;These don't take up swapspace and you would need a lot of code monkeys to exceed the default values for code size.</description>
      <pubDate>Thu, 21 Aug 2008 04:12:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255385#M332168</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-21T04:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255386#M332169</link>
      <description>You can increase the physical memory, there is no need to increase the swap space because its already double to the physical memory. When you get more physical memory then you can increase the swap space also.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;SKR</description>
      <pubDate>Thu, 21 Aug 2008 09:11:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255386#M332169</guid>
      <dc:creator>SKR_1</dc:creator>
      <dc:date>2008-08-21T09:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255387#M332170</link>
      <description>Dennis - &lt;BR /&gt;&lt;BR /&gt;I didn't say they were related to swap.</description>
      <pubDate>Thu, 21 Aug 2008 11:52:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255387#M332170</guid>
      <dc:creator>Jon M Zellhoefer</dc:creator>
      <dc:date>2008-08-21T11:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual memory and swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255388#M332171</link>
      <description>&amp;gt;Jon: I didn't say they were related to swap.&lt;BR /&gt;&lt;BR /&gt;Ok but the author's question was about swap.  I'm also saying you usually never have to check maxtsiz.</description>
      <pubDate>Fri, 22 Aug 2008 09:24:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/virtual-memory-and-swap/m-p/4255388#M332171</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-22T09:24:42Z</dc:date>
    </item>
  </channel>
</rss>

