<?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: swapon error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901827#M404233</link>
    <description>I'll attach the samlog but it just says that everything completed successfully.  &lt;BR /&gt;&lt;BR /&gt;Also, /stand has 217MB available</description>
    <pubDate>Fri, 13 May 2005 08:55:17 GMT</pubDate>
    <dc:creator>Seth Clarke</dc:creator>
    <dc:date>2005-05-13T08:55:17Z</dc:date>
    <item>
      <title>swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901824#M404230</link>
      <description>Swap was getting full and OVO sent out a critical message.  I created another LV and attempted a swapon but recieved this error.  &lt;BR /&gt;&lt;BR /&gt;Kernel tunable parameter "maxswapchunks" needs to be increased to add paging on device /dev/vg00/lvol6 (lvol 6 is 250 pysical extents)&lt;BR /&gt;&lt;BR /&gt;I then opened SAM and changed the parameter but it gave me another error &lt;BR /&gt;&lt;BR /&gt;semmnu must be &amp;lt;= (nproc - 4)&lt;BR /&gt;&lt;BR /&gt;nproc = 4096&lt;BR /&gt;semmnu = 4096&lt;BR /&gt;maxswapchucks = 384&lt;BR /&gt;&lt;BR /&gt;So I reduced semmnu to 4088 and raised maxswapchunks to 1024 and processed the new kernel and rebooted.  But the parameters didn't change and I still couldn't perform the swapon&lt;BR /&gt;&lt;BR /&gt;Any ideas why the tunable parameters didn't change.  Any log files that I should check?</description>
      <pubDate>Thu, 12 May 2005 21:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901824#M404230</guid>
      <dc:creator>Seth Clarke</dc:creator>
      <dc:date>2005-05-12T21:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901825#M404231</link>
      <description>Kernel processing appeared to fail.&lt;BR /&gt;&lt;BR /&gt;There may be missing files in the /stand directory.&lt;BR /&gt;&lt;BR /&gt;There should be a log of the problem. Perhaps try processing it with sam, there will be a command and error log.&lt;BR /&gt;&lt;BR /&gt;Make sure /stand isn't too full.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 12 May 2005 21:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901825#M404231</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-12T21:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901826#M404232</link>
      <description>Have a look in /var/sam/log/samlog. There may be some clues in there.</description>
      <pubDate>Fri, 13 May 2005 02:28:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901826#M404232</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-05-13T02:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901827#M404233</link>
      <description>I'll attach the samlog but it just says that everything completed successfully.  &lt;BR /&gt;&lt;BR /&gt;Also, /stand has 217MB available</description>
      <pubDate>Fri, 13 May 2005 08:55:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901827#M404233</guid>
      <dc:creator>Seth Clarke</dc:creator>
      <dc:date>2005-05-13T08:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901828#M404234</link>
      <description>Run the following:&lt;BR /&gt;&lt;BR /&gt;# grep -e nproc -e semmnu -e maxswap /stand/system&lt;BR /&gt;&lt;BR /&gt;And see what the results are.&lt;BR /&gt;&lt;BR /&gt;It appears to me from your log that only semmnu was changed.  I did not see anything in the attached log about maxswapchunks.&lt;BR /&gt;&lt;BR /&gt;Try changing it again.  Also, if you are going to raise the value of maxswapchunks, go ahead and raise it to its maximum (16384).  That way you NEVER have to worry about that particular kernel parameter again.</description>
      <pubDate>Fri, 13 May 2005 09:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901828#M404234</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-05-13T09:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901829#M404235</link>
      <description>I probably didn't get enough of the samlog to show the change of the maxswapchunks&lt;BR /&gt;&lt;BR /&gt;here's the output from the grep&lt;BR /&gt;&lt;BR /&gt;maxswapchunks  1024&lt;BR /&gt;nproc          4096&lt;BR /&gt;semmnu         4088&lt;BR /&gt;&lt;BR /&gt;They are what they should be but SAM does not show them as such</description>
      <pubDate>Fri, 13 May 2005 09:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901829#M404235</guid>
      <dc:creator>Seth Clarke</dc:creator>
      <dc:date>2005-05-13T09:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901830#M404236</link>
      <description>Hi,&lt;BR /&gt;Did you change your params in 2 steps? I mean changing then before rebooting decide to do some more corrections? &lt;BR /&gt;&lt;BR /&gt;Anyway my 2 cents would be having swap issues can be avoided by configuring maxswapchunks to a decent value (in your case 2048) which leaves you enough flexibility to add if needed more swap without having to  reboot...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Fri, 13 May 2005 11:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901830#M404236</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2005-05-13T11:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901831#M404237</link>
      <description>I may have found the issue, but am presented with another issue.  I was going through the process list and saw processed from days ago, then did and uptime and saw that it was up for weeks.  Which means that when the kernel was processed with SAM it didn't actually reboot.  I lost my shell and the network went down but I don't think that it actually rebooted.  I may have to perform a halt or shutdown -r to see if it actually boots.  That would explain why the grep gave me the correct parameters.</description>
      <pubDate>Fri, 13 May 2005 15:28:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901831#M404237</guid>
      <dc:creator>Seth Clarke</dc:creator>
      <dc:date>2005-05-13T15:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901832#M404238</link>
      <description>Seth,&lt;BR /&gt;&lt;BR /&gt;I have occasionally seen this kind of hang when using X11 SAM to change kernel parameters.  The session you are using dies, but the server stays up.  When I can I use a console session to make kernel changes, or use the cmd line.  As you have suggested it's worth a reboot -- it looks like the parameters have been updated in the new kernel, but that one needs moving into place.&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Fri, 13 May 2005 23:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901832#M404238</guid>
      <dc:creator>Tony Scully_2</dc:creator>
      <dc:date>2005-05-13T23:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: swapon error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901833#M404239</link>
      <description>rebooting the system was crucial.  It did not shutdown after the parameter change.  An in house application delayed the shutdowns</description>
      <pubDate>Mon, 16 May 2005 08:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapon-error/m-p/4901833#M404239</guid>
      <dc:creator>Seth Clarke</dc:creator>
      <dc:date>2005-05-16T08:11:36Z</dc:date>
    </item>
  </channel>
</rss>

