<?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 not active in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440630#M207271</link>
    <description>Venky,&lt;BR /&gt;&lt;BR /&gt;How did you determine that your memory was exhausted?. What tool did you use?. Post your 'vmstat 2 2' output. Look at the 'free' column and multiply it with 4 to get the free mem in KB. &lt;BR /&gt;&lt;BR /&gt;I believe you are getting confused with the 'memory' line in your 'swapinfo' output. It's not to be confused with the memory used. Most likely you haven't changed your dbc_max_pct value. So, there is a good chance 50% of your memory is now used as buffer cache which you don't need.&lt;BR /&gt;&lt;BR /&gt;I suggest you change dbc_max_pct to around 4-6% and min_pct at 2%.&lt;BR /&gt;&lt;BR /&gt;If the above is not the case and if your programs are failing with 'insufficient memory' messages, then anyone of your max*siz(_64bit) parameters are insufficient.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Fri, 10 Dec 2004 21:56:16 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-12-10T21:56:16Z</dc:date>
    <item>
      <title>Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440612#M207253</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;On HP 11i server, 24GB of secondary swap is defined but there is no activity on these lvols. I tried to start auxiliary swap explicitly as well but no luck.&lt;BR /&gt;&lt;BR /&gt;Server has latest patch bundles of Dec'2003&lt;BR /&gt;Any suggestions.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Venky</description>
      <pubDate>Fri, 10 Dec 2004 03:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440612#M207253</guid>
      <dc:creator>Venky_1</dc:creator>
      <dc:date>2004-12-10T03:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440613#M207254</link>
      <description>did you swapon your secondary swap ?&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2004 03:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440613#M207254</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2004-12-10T03:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440614#M207255</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;# swapinfo -d&lt;BR /&gt;&lt;BR /&gt;if you don't see your secondary swap swapon it...&lt;BR /&gt;&lt;BR /&gt;Stf ;-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2004 03:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440614#M207255</guid>
      <dc:creator>Stf</dc:creator>
      <dc:date>2004-12-10T03:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440615#M207256</link>
      <description>secondary swap is available ( 24GB in multiples of 4GB ) but it is not being used.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Venky</description>
      <pubDate>Fri, 10 Dec 2004 04:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440615#M207256</guid>
      <dc:creator>Venky_1</dc:creator>
      <dc:date>2004-12-10T04:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440616#M207257</link>
      <description>hi,&lt;BR /&gt;can you post the&lt;BR /&gt;&lt;BR /&gt;swapinfo -tam output.&lt;BR /&gt;&lt;BR /&gt;regds,</description>
      <pubDate>Fri, 10 Dec 2004 04:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440616#M207257</guid>
      <dc:creator>bhavin asokan</dc:creator>
      <dc:date>2004-12-10T04:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440617#M207258</link>
      <description>Sec swap is useing only if primary swap is full :) &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2004 04:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440617#M207258</guid>
      <dc:creator>Ivajlo Yanakiev</dc:creator>
      <dc:date>2004-12-10T04:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440618#M207259</link>
      <description>Hi,&lt;BR /&gt;what are you kernel parameters ?&lt;BR /&gt;&lt;BR /&gt;please post "kmtune | grep swap"&lt;BR /&gt;and&lt;BR /&gt;"swapinfo -ma"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2004 04:46:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440618#M207259</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2004-12-10T04:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440619#M207260</link>
      <description>I'd say you're lucky if there's no activity on your secondary device swap.&lt;BR /&gt;As someone already said it should only be used after the primary device has been used up.&lt;BR /&gt;Or did you intend some sort of interleaving operation by assigning it the same priority?</description>
      <pubDate>Fri, 10 Dec 2004 04:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440619#M207260</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-12-10T04:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440620#M207261</link>
      <description>Swap size ti limited by 3 parameter:&lt;BR /&gt;maxswapchunks, swchunk and DEV_BSIZE&lt;BR /&gt;The formular is&lt;BR /&gt;Swap size: swapchunks x swchunk x DEV_BSIZE&lt;BR /&gt;(default DEV_BSIZE:1024bytes).&lt;BR /&gt;For Example:&lt;BR /&gt;You create 1GB for swap space. and you set:&lt;BR /&gt;swapchunks:256&lt;BR /&gt;swchunk:2048&lt;BR /&gt;then &lt;BR /&gt;Swap size=256x2048x1024=512MB&lt;BR /&gt;Because of setting, only 512MB swap space can used. If you want to use the other 512MB&lt;BR /&gt;swapchunks need to be increased to 521&lt;BR /&gt;&lt;BR /&gt;(you can read "HP_UX Performance and Tuning H4262S A.00" at page 8-17)</description>
      <pubDate>Fri, 10 Dec 2004 05:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440620#M207261</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2004-12-10T05:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440621#M207262</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;Please find attached txt file for requested details.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 10 Dec 2004 07:05:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440621#M207262</guid>
      <dc:creator>Venky_1</dc:creator>
      <dc:date>2004-12-10T07:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440622#M207263</link>
      <description>I'm not sure, but how come that all the other swap devices have got priority 0.&lt;BR /&gt;I think you should change the attribute pri= in your fstab to something meaningful.&lt;BR /&gt;But I'm afraid to release your swap you need to reboot.</description>
      <pubDate>Fri, 10 Dec 2004 07:26:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440622#M207263</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-12-10T07:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440623#M207264</link>
      <description>It's obvious from your swapinfo output that none of your swap space is being used.  This is a good thing.  It means that you're using  memory instead of slow, inefficient swap disk space.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 10 Dec 2004 07:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440623#M207264</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-12-10T07:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440624#M207265</link>
      <description>Hi,&lt;BR /&gt;looks like you are all right.&lt;BR /&gt;&lt;BR /&gt;swap is not used because you do not need it.&lt;BR /&gt;&lt;BR /&gt;Probably you are working in memory, and that's good.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WHat are your applications ?&lt;BR /&gt;&lt;BR /&gt;And WHY do you think that you have to use the swap ? They are avaiable (cfr in swapinfo output), but not in use, since you are not requesting very much RAM.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo</description>
      <pubDate>Fri, 10 Dec 2004 07:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440624#M207265</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2004-12-10T07:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440625#M207266</link>
      <description>Besides, Pete is totally to agree to.&lt;BR /&gt;You *don't* want to see any swap usage.</description>
      <pubDate>Fri, 10 Dec 2004 07:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440625#M207266</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2004-12-10T07:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440626#M207267</link>
      <description>As swap lvols are not in use, server is getting stuck due to physical memory ( 12 GB ) exhaustion as it is hitting 100%.</description>
      <pubDate>Fri, 10 Dec 2004 08:53:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440626#M207267</guid>
      <dc:creator>Venky_1</dc:creator>
      <dc:date>2004-12-10T08:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440627#M207268</link>
      <description>Hello,&lt;BR /&gt;did you defin kernel parameter :&lt;BR /&gt;swapmem_on&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Dec 2004 10:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440627#M207268</guid>
      <dc:creator>SupraTeam</dc:creator>
      <dc:date>2004-12-10T10:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440628#M207269</link>
      <description>Yes, it is already defined as mentioned earlier through attached txt file.</description>
      <pubDate>Fri, 10 Dec 2004 10:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440628#M207269</guid>
      <dc:creator>Venky_1</dc:creator>
      <dc:date>2004-12-10T10:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440629#M207270</link>
      <description>"As swap lvols are not in use, server is getting stuck due to physical memory ( 12 GB ) exhaustion as it is hitting 100%."&lt;BR /&gt; &lt;BR /&gt;HP-UX is a virtual memory system so using all of physical memory is never a problem. Processes will be deactivated and then rolled out to the swap area as needed. 24Gb is an enormous amount of swap space and will likely never be used. Since nothing is rolling out to the swap area, processes that are failing with memory problems are most likely failing because they are only 32bit programs that need more memory than they can possibly address, or due to shared memory fragmentation in 32bit shared memory. These will help a lot in understanding the limitations of 32bit programs:&lt;BR /&gt; &lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/11i/mem_mgt.html&amp;amp;searchterms=5965-4641&amp;amp;queryid=20030128-153709" target="_blank"&gt;http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/os/11i/mem_mgt.html&amp;amp;searchterms=5965-4641&amp;amp;queryid=20030128-153709&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;docType=EngineerNotes&amp;amp;searchString=RCMEMKBAN00000027&amp;amp;search.y=12&amp;amp;search.x=20&amp;amp;mode=id&amp;amp;admit=-682735245+1102701301380+28353475&amp;amp;searchCrit=allwords" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;docType=EngineerNotes&amp;amp;searchString=RCMEMKBAN00000027&amp;amp;search.y=12&amp;amp;search.x=20&amp;amp;mode=id&amp;amp;admit=-682735245+1102701301380+28353475&amp;amp;searchCrit=allwords&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;The last reference (shared memory) may require a software support contract in order to access.</description>
      <pubDate>Fri, 10 Dec 2004 12:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440629#M207270</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-12-10T12:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Secondary swap not active</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440630#M207271</link>
      <description>Venky,&lt;BR /&gt;&lt;BR /&gt;How did you determine that your memory was exhausted?. What tool did you use?. Post your 'vmstat 2 2' output. Look at the 'free' column and multiply it with 4 to get the free mem in KB. &lt;BR /&gt;&lt;BR /&gt;I believe you are getting confused with the 'memory' line in your 'swapinfo' output. It's not to be confused with the memory used. Most likely you haven't changed your dbc_max_pct value. So, there is a good chance 50% of your memory is now used as buffer cache which you don't need.&lt;BR /&gt;&lt;BR /&gt;I suggest you change dbc_max_pct to around 4-6% and min_pct at 2%.&lt;BR /&gt;&lt;BR /&gt;If the above is not the case and if your programs are failing with 'insufficient memory' messages, then anyone of your max*siz(_64bit) parameters are insufficient.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 10 Dec 2004 21:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap-not-active/m-p/3440630#M207271</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-12-10T21:56:16Z</dc:date>
    </item>
  </channel>
</rss>

