<?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 maxswapchunks setting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612967#M36751</link>
    <description>I just created 2 additional swap devices (768mb each) on separate disks with a priority of '0'.&lt;BR /&gt;&lt;BR /&gt;When I rebooted the system, I got an error on the enabling of the additional swaps.  Checked the /etc/rc.log and it noted that I needed to increase the maxswapchunks parameter in the kernel.  When I was creating the addt'l swap devices, it did ask me to modify the parameter of maxswapchunks (each time I added an addt'l swap).  Looks like it wasn't enough.&lt;BR /&gt;&lt;BR /&gt;What would be a good setting of the maxswapchunks param in my case.  Again, this is my config for swap:&lt;BR /&gt;&lt;BR /&gt;Physical RAM:  384mb&lt;BR /&gt;Primary:  768mb (separate disk/priority 1)&lt;BR /&gt;Secondary Swap #1:  768mb (separate disk/priority 0)&lt;BR /&gt;Secondary Swap #2:  768mb (separate disk/priority 0)&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Nov 2001 16:33:05 GMT</pubDate>
    <dc:creator>Brando Sumayao</dc:creator>
    <dc:date>2001-11-13T16:33:05Z</dc:date>
    <item>
      <title>maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612967#M36751</link>
      <description>I just created 2 additional swap devices (768mb each) on separate disks with a priority of '0'.&lt;BR /&gt;&lt;BR /&gt;When I rebooted the system, I got an error on the enabling of the additional swaps.  Checked the /etc/rc.log and it noted that I needed to increase the maxswapchunks parameter in the kernel.  When I was creating the addt'l swap devices, it did ask me to modify the parameter of maxswapchunks (each time I added an addt'l swap).  Looks like it wasn't enough.&lt;BR /&gt;&lt;BR /&gt;What would be a good setting of the maxswapchunks param in my case.  Again, this is my config for swap:&lt;BR /&gt;&lt;BR /&gt;Physical RAM:  384mb&lt;BR /&gt;Primary:  768mb (separate disk/priority 1)&lt;BR /&gt;Secondary Swap #1:  768mb (separate disk/priority 0)&lt;BR /&gt;Secondary Swap #2:  768mb (separate disk/priority 0)&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 16:33:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612967#M36751</guid>
      <dc:creator>Brando Sumayao</dc:creator>
      <dc:date>2001-11-13T16:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612968#M36752</link>
      <description>Hi Brando,&lt;BR /&gt;&lt;BR /&gt;Here is a link on maxswapchunks,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com//hpux/onlinedocs/os/11i/kcparams/KCparam.MaxSwapChunks.html" target="_blank"&gt;http://docs.hp.com//hpux/onlinedocs/os/11i/kcparams/KCparam.MaxSwapChunks.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 16:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612968#M36752</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-13T16:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612969#M36753</link>
      <description>Hi Brando,&lt;BR /&gt;&lt;BR /&gt;Increase the value of maxswapchunks to a value equal to the total size of the new swap area (maxswapchunks x swchunk).&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 16:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612969#M36753</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2001-11-13T16:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612970#M36754</link>
      <description>This kernel parameter, maxswapchunks, defines the maximum amount swap chunks (where swapchunks are defined as 2MB) available to the system.  So in your case, you should set maxswapchunks to at least 1152( 1152 * 2MB = 2304MB, i.e. the amount of swap on your system).  I would recommend that you set this parameter higher, e.g. 2048 , so that you don't run into problems increasing swap in the future.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Tue, 13 Nov 2001 16:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612970#M36754</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-11-13T16:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612971#M36755</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Assuming default swchunk (2k) and 1k blocksize; the minimum is 1152; I would set it to 2048 to give you some hreadroom in case your add more swap.</description>
      <pubDate>Tue, 13 Nov 2001 16:45:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612971#M36755</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-13T16:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612972#M36756</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;See here, too:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x316efd3f91d3d5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 13 Nov 2001 16:52:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612972#M36756</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-13T16:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612973#M36757</link>
      <description>Max is 16384 and does not hurt to be this big.&lt;BR /&gt;It takes care of any future swap size.</description>
      <pubDate>Tue, 13 Nov 2001 16:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612973#M36757</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-11-13T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612974#M36758</link>
      <description>Hi&lt;BR /&gt;Use maxswapchunks to at least equal to swap on system.&lt;BR /&gt;Keeping this value even higher than existing swap will help you in future if you need to increase still more swap. &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 16:57:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612974#M36758</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-11-13T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612975#M36759</link>
      <description>Hello all!&lt;BR /&gt;&lt;BR /&gt;I set it to 2048 and it is still giving me an error in the rc.log that I have to increase the maxswapchunks parameter.  Should I go up to 4096?&lt;BR /&gt;&lt;BR /&gt;Brando</description>
      <pubDate>Tue, 13 Nov 2001 17:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612975#M36759</guid>
      <dc:creator>Brando Sumayao</dc:creator>
      <dc:date>2001-11-13T17:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612976#M36760</link>
      <description>As noted above, check out &lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparam.MaxSwapChunks.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparam.MaxSwapChunks.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, by my calculations, a maxswapchunks of 1152 should be enough, unless my maths are somewhat lacking in the last minutes of leaving work without enough coffee. You haven't changed the kernel param swchunk from it's default have you? It should be 2048. &lt;BR /&gt;&lt;BR /&gt;Otherwise, if my maths are that bad, then just tune it up (i'd probably go up in 1024 chunks) until it works.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;James</description>
      <pubDate>Tue, 13 Nov 2001 17:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612976#M36760</guid>
      <dc:creator>James Beamish-White</dc:creator>
      <dc:date>2001-11-13T17:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612977#M36761</link>
      <description>I maxed out my maxswapchunks setting to 16384 and it is still giving me an error generated in the /etc/rc.log stating that I need to increase the maxswapchunks param to allow paging on the swap device.  My swchunk size is 2048.&lt;BR /&gt;&lt;BR /&gt;Please help!!!</description>
      <pubDate>Tue, 13 Nov 2001 17:40:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612977#M36761</guid>
      <dc:creator>Brando Sumayao</dc:creator>
      <dc:date>2001-11-13T17:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612978#M36762</link>
      <description>Could you post what you see in the logfile?</description>
      <pubDate>Tue, 13 Nov 2001 17:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612978#M36762</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-11-13T17:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612979#M36763</link>
      <description>Attached are the contents of the rc.log file.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 13 Nov 2001 17:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612979#M36763</guid>
      <dc:creator>Brando Sumayao</dc:creator>
      <dc:date>2001-11-13T17:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612980#M36764</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you are running 10.20, do this:&lt;BR /&gt;&lt;BR /&gt;# sysdef|grep maxswapchunks&lt;BR /&gt;&lt;BR /&gt;If you are running 11.x, do this:&lt;BR /&gt;&lt;BR /&gt;# kmtune -q maxswapchunks&lt;BR /&gt;&lt;BR /&gt;In either case, post the result, please.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 13 Nov 2001 17:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612980#M36764</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-13T17:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612981#M36765</link>
      <description>&lt;BR /&gt;Consider this:&lt;BR /&gt;&amp;lt;&lt;PHYSICAL&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;  384mb is too small a memory&lt;BR /&gt;to worry about hitting the&lt;BR /&gt;swap limit.  You can have&lt;BR /&gt;one secondary swap instead&lt;BR /&gt;of two.  It''s a huge overkill.  &lt;BR /&gt;&lt;BR /&gt;Regarding your problem, check&lt;BR /&gt;the nswapdev parameter. if less, increase it.&lt;BR /&gt;&lt;BR /&gt;But, all said, i would suggest to rethink this swap increasing strategy.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj&lt;BR /&gt;&lt;BR /&gt;&lt;/PHYSICAL&gt;</description>
      <pubDate>Tue, 13 Nov 2001 17:58:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612981#M36765</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-13T17:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612982#M36766</link>
      <description>I ran the command:  kmtune -q maxswapchunks &lt;BR /&gt;&lt;BR /&gt;Result was the ff:&lt;BR /&gt;&lt;BR /&gt;maxswapchunks = 16384 (Current Dynamic)/16384 (Planned)&lt;BR /&gt;&lt;BR /&gt;Any thoughts and thanks.&lt;BR /&gt;&lt;BR /&gt;Brando&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 18:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612982#M36766</guid>
      <dc:creator>Brando Sumayao</dc:creator>
      <dc:date>2001-11-13T18:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612983#M36767</link>
      <description>&amp;lt;&lt;MAXSWAPCHUNKS&gt;&amp;gt;&lt;BR /&gt; &lt;BR /&gt;This is a possible indication that the change was not complete.  Did you use SAM to change the kernel params?? or did you go the manual route?&lt;BR /&gt;In that case you would need to run a kmupdate.&lt;BR /&gt;&lt;BR /&gt;-raj&lt;/MAXSWAPCHUNKS&gt;</description>
      <pubDate>Tue, 13 Nov 2001 18:10:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612983#M36767</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-13T18:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612984#M36768</link>
      <description>Raj,&lt;BR /&gt;&lt;BR /&gt;I used SAM.  Just ran the kmupdate and rebooting the server now.  Will post if there are further errors.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Brando</description>
      <pubDate>Tue, 13 Nov 2001 18:15:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612984#M36768</guid>
      <dc:creator>Brando Sumayao</dc:creator>
      <dc:date>2001-11-13T18:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612985#M36769</link>
      <description>Hi Brando,&lt;BR /&gt;&lt;BR /&gt;Take a look at the threads below,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e2ca7eb0c73f730fa/screen=ckiDisplayDocument?docId=200000024614173" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e2ca7eb0c73f730fa/screen=ckiDisplayDocument?docId=200000024614173&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e2ca7eb0c73f730fa/screen=ckiDisplayDocument?docId=200000055198795" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=4e2ca7eb0c73f730fa/screen=ckiDisplayDocument?docId=200000055198795&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 18:21:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612985#M36769</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-11-13T18:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks setting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612986#M36770</link>
      <description>Works now.  Thanks!</description>
      <pubDate>Tue, 13 Nov 2001 18:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks-setting/m-p/2612986#M36770</guid>
      <dc:creator>Brando Sumayao</dc:creator>
      <dc:date>2001-11-13T18:53:07Z</dc:date>
    </item>
  </channel>
</rss>

