<?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: Secondary swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204248#M167218</link>
    <description>A couple of question for you:&lt;BR /&gt;&lt;BR /&gt;How much memory is in the workstation?&lt;BR /&gt;&lt;BR /&gt;How much primary and file system swap is there?&lt;BR /&gt;&lt;BR /&gt;What is dbc_max_pct set to?  The % should be no more then about 300-350 MB - so if you have a GB of ram, then set to say 30 or 35.&lt;BR /&gt;If 512 or lees, then you may have to leave at the default of 50 - though I have a B2000 with 768 MB of ram and I have mine set to 30.  &lt;BR /&gt;&lt;BR /&gt;What is maxdsiz set to?  you may need to increase...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Fri, 27 Feb 2004 09:00:32 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-02-27T09:00:32Z</dc:date>
    <item>
      <title>Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204242#M167212</link>
      <description>Hi everybody.&lt;BR /&gt;&lt;BR /&gt;A user on an HP-UX 11i workstation is suffering every day from an "out of virtual memory" error message. The swap space is in accordance with HP's recommendations.&lt;BR /&gt;&lt;BR /&gt;I have set up an area of filesystem swap, the same size as the main swap, and rebooted the ws. Unfortunately, the fault has not gone away and the system does not appear to be using the secondary swap. I have given the secondary swap priority 1, the same as main swap.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Fri, 27 Feb 2004 06:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204242#M167212</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-27T06:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204243#M167213</link>
      <description>Does the new swap show up as available when you do an "swapinfo -mt"?&lt;BR /&gt; &lt;BR /&gt;Did you put the swap in /etc/fstab?&lt;BR /&gt; &lt;BR /&gt;Does it work if you activate it manually with "swapon -a"?&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Feb 2004 06:53:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204243#M167213</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-27T06:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204244#M167214</link>
      <description>By the way, congratulations on the new hat :)&lt;BR /&gt; &lt;BR /&gt;No points for this one please.</description>
      <pubDate>Fri, 27 Feb 2004 06:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204244#M167214</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-27T06:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204245#M167215</link>
      <description>Yes to all three questions!&lt;BR /&gt;&lt;BR /&gt;Thanks Mark - as you may have guessed, this is the first time I've set up secondary swap. It now shows as enabled so I hope this will get rid of the problem.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Fri, 27 Feb 2004 06:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204245#M167215</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-27T06:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204246#M167216</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Thanks for the congratulations too!&lt;BR /&gt;&lt;BR /&gt;I was on 233 this morning and was hoping to get it next week. A flurry of activity (i.e. questions that I knew the answer to!)and I got it earlier than expected.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Fri, 27 Feb 2004 06:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204246#M167216</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-02-27T06:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204247#M167217</link>
      <description>Wee need some more information here. The system is not likely running out of swap but the ouput of 'swapinfo -tm' will tell how much is actuallu used. As opposed to reserved.&lt;BR /&gt;secondly what command gives the "out of virtual memory" error message. If you happen to know how much memory is requested that would be verry useful.&lt;BR /&gt;How much RAM does the WS have and have any kernel parameters been changed?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Fri, 27 Feb 2004 08:57:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204247#M167217</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2004-02-27T08:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204248#M167218</link>
      <description>A couple of question for you:&lt;BR /&gt;&lt;BR /&gt;How much memory is in the workstation?&lt;BR /&gt;&lt;BR /&gt;How much primary and file system swap is there?&lt;BR /&gt;&lt;BR /&gt;What is dbc_max_pct set to?  The % should be no more then about 300-350 MB - so if you have a GB of ram, then set to say 30 or 35.&lt;BR /&gt;If 512 or lees, then you may have to leave at the default of 50 - though I have a B2000 with 768 MB of ram and I have mine set to 30.  &lt;BR /&gt;&lt;BR /&gt;What is maxdsiz set to?  you may need to increase...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 27 Feb 2004 09:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204248#M167218</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-02-27T09:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204249#M167219</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Congrats on you new hat!&lt;BR /&gt;&lt;BR /&gt;Can not help you but i like to give you some more info, swapinfo -tam will give more info. &lt;BR /&gt;I you give pri swap a higher prio since it is faster as filesystem swap. so only extra swap users the filesystem.&lt;BR /&gt;Kernel config maxswapchunks must high enough to be able to use it.&lt;BR /&gt;Swapspace can be added online swapon ( -f if lvol had filesystem on it) command if swapchunks is high enough.&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Fri, 27 Feb 2004 09:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204249#M167219</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-02-27T09:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204250#M167220</link>
      <description>swapinfo should show all swap areas.&lt;BR /&gt;&lt;BR /&gt;Congrats on the hat.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 27 Feb 2004 09:36:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204250#M167220</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-27T09:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204251#M167221</link>
      <description>Assuming that the "out of virtual memory" error is a translated version of ENOMEM - it may not be a swap issue at all. As mentioned by others, knowing what's failing might help... but my gut instinct is that the user program is hitting maxdsiz / maxdsiz_64bit for their heap (malloc/brk/sbrk failure)... which will give an ENOMEM error.&lt;BR /&gt;&lt;BR /&gt;If the user doesn't have the source or doesn't want to recompile to give further information at the point of failure -- you could try monitoring the process using pstat or glance... but if the bug is that the user code asks for some huge value in one call (say malloc with a negative value that got cast to an unsigned) you're not going to catch it without parsing the source.&lt;BR /&gt;&lt;BR /&gt;If the user is the only one on the box - you could experiment with just raising the tunable to the maximum and seeing if the problem goes away [and if the app grabs a bunch of virtual memory].</description>
      <pubDate>Fri, 27 Feb 2004 10:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204251#M167221</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2004-02-27T10:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204252#M167222</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;Did you see 'swapinfo -tam' output when you got the "out of virtula memory' error?. &lt;BR /&gt;&lt;BR /&gt;If the "total" column is 100%, irrespective of whever you paged out or not, you will not be able to bring up processes that need more swap than is available.&lt;BR /&gt;&lt;BR /&gt;If not, then it could be one of your max*siz* parameters.&lt;BR /&gt;&lt;BR /&gt;On a side note, I would configure the secondary swap with a priority 0 so it will be used first in case the system has to page out.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 27 Feb 2004 11:05:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/3204252#M167222</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-27T11:05:01Z</dc:date>
    </item>
  </channel>
</rss>

