<?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: mlock_region failed and kernel parameters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338768#M190301</link>
    <description>Well it's been a few days now.  &lt;BR /&gt;&lt;BR /&gt;I accidentally posted the message to the wrong spot before.  HP removed my original message.  Thanks hp.  I really don't know how to move my question to the right spot unless I duplicate it.  Not the best way to go.&lt;BR /&gt;&lt;BR /&gt;I had one response to use setprivgrp and getprivgrp, on my deleted question.  I already have MLOCK privlege for group "users" (aka sybase).  That guy should've gotten 5 points for the help (but not the solution).&lt;BR /&gt;&lt;BR /&gt;I called hp and opened a ticket on my memory issue.  I was told that a reboot should give me enough CONTIGUOUS memory to get asyc io to work in sybase again.  They suggested I try turning OFF pseudo swap.   &lt;BR /&gt;&lt;BR /&gt;I haven't really heard anything on this forum post.  Did I provide too much info?  &lt;BR /&gt;Is my question too vague?&lt;BR /&gt;&lt;BR /&gt;QUESTION:  swap_on=1. Should I set it to 0?&lt;BR /&gt;QUESTION:  kernel params listed look ok?&lt;BR /&gt;QUESTION:  any way to get more lockable memory w/o spending money?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Mon, 26 Jul 2004 08:40:32 GMT</pubDate>
    <dc:creator>Steve Post</dc:creator>
    <dc:date>2004-07-26T08:40:32Z</dc:date>
    <item>
      <title>mlock_region failed and kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338767#M190300</link>
      <description>I am getting a lot of mlock_region failed messages.&lt;BR /&gt;HP9000 V2600 hpux11.00&lt;BR /&gt;After restarting sybase, the messages went away.  BUT async i/o stopped working for sybase.&lt;BR /&gt;Could it be that I don't have a large enough contiguous area in memory for sybase to properly use async i/o?&lt;BR /&gt;&lt;BR /&gt;Should I be changing a kernel parameter?  Any suggestions as to which one?&lt;BR /&gt;And I already put in the patch that keeps mib2agt from taking all of the memory.  That patch works fine.&lt;BR /&gt;&lt;BR /&gt;I looked at webdoc KBRC0001427.  Based on that, I THINK I need to lower MAXUSERS from 600 to a lower number (maybe 500?).  I want to minimize changes to the kernel because I know how one change can snowball into a mess.&lt;BR /&gt;&lt;BR /&gt;Details&lt;BR /&gt;page size=4096&lt;BR /&gt;physical mem=12578816 k&lt;BR /&gt;lockable mem=10149865 k&lt;BR /&gt;avail    mem=11644712 k&lt;BR /&gt;75% phys mem=09434112 k&lt;BR /&gt;&lt;BR /&gt;aval mem  -  unlockable_mem = lockable memory&lt;BR /&gt;unlockable_mem = avail mem  - lockable mem =  11644712 - 10149865 = 1,494,847k&lt;BR /&gt;but also .....&lt;BR /&gt;unlockable_mem = 200 + (4k/2) * nproc = 9840k  &amp;lt;&amp;gt; 1,494,847k&lt;BR /&gt;&lt;BR /&gt;kernel parameters&lt;BR /&gt;nproc=4820 = 20 + ( 8 * MAXUSERS )&lt;BR /&gt;MAXUSERS=600&lt;BR /&gt;swap_on=1 (ie pseudo swap is on)&lt;BR /&gt;dbc_max_pct=2&lt;BR /&gt;dbc_min_pct=1&lt;BR /&gt;&lt;BR /&gt;sar -v &lt;BR /&gt;00:00:00 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov&lt;BR /&gt;01:00:01   N/A   N/A 171/4820  0  5724/5724  0  1453/9235  0&lt;BR /&gt;02:00:01   N/A   N/A 218/4820  0  4476/5724  0  1585/9235  0&lt;BR /&gt;&lt;BR /&gt;I also see I am using all the inodes?  Perhaps I should increase it?  AH.  One thing at a time.&lt;BR /&gt;ninode   5724&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"swapinfo" and "ipcs -mab" is attached.&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jul 2004 10:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338767#M190300</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2004-07-22T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: mlock_region failed and kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338768#M190301</link>
      <description>Well it's been a few days now.  &lt;BR /&gt;&lt;BR /&gt;I accidentally posted the message to the wrong spot before.  HP removed my original message.  Thanks hp.  I really don't know how to move my question to the right spot unless I duplicate it.  Not the best way to go.&lt;BR /&gt;&lt;BR /&gt;I had one response to use setprivgrp and getprivgrp, on my deleted question.  I already have MLOCK privlege for group "users" (aka sybase).  That guy should've gotten 5 points for the help (but not the solution).&lt;BR /&gt;&lt;BR /&gt;I called hp and opened a ticket on my memory issue.  I was told that a reboot should give me enough CONTIGUOUS memory to get asyc io to work in sybase again.  They suggested I try turning OFF pseudo swap.   &lt;BR /&gt;&lt;BR /&gt;I haven't really heard anything on this forum post.  Did I provide too much info?  &lt;BR /&gt;Is my question too vague?&lt;BR /&gt;&lt;BR /&gt;QUESTION:  swap_on=1. Should I set it to 0?&lt;BR /&gt;QUESTION:  kernel params listed look ok?&lt;BR /&gt;QUESTION:  any way to get more lockable memory w/o spending money?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Mon, 26 Jul 2004 08:40:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338768#M190301</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2004-07-26T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: mlock_region failed and kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338769#M190302</link>
      <description>QUESTION: swap_on=1. Should I set it to 0?&lt;BR /&gt;QUESTION: kernel params listed look ok?&lt;BR /&gt;QUESTION: any way to get more lockable memory w/o spending&lt;BR /&gt;&lt;BR /&gt;swap_mem=1. What it basically does is infalte the value of total swap space available to (swap space configured + 75 % of RAM) This is just for kernel calculations and nothing more. Setting this is good if you have large RAM on the system.&lt;BR /&gt;&lt;BR /&gt;Kernel parameters look OK. The inode setting applies to HFS only. So do you have HFS file systems on your box?? (apart from /stand??)&lt;BR /&gt;&lt;BR /&gt;I do not see any room to get more lockable memory on your system.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 26 Jul 2004 09:21:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338769#M190302</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-26T09:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: mlock_region failed and kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338770#M190303</link>
      <description>I had one response to use setprivgrp and getprivgrp, on my deleted question. I already have MLOCK privlege for group "users" (aka sybase). That guy should've gotten 5 points for the help (but not the solution).&lt;BR /&gt;&lt;BR /&gt;That was me.&lt;BR /&gt;&lt;BR /&gt;You do need to do that to insure you are getting asynchronous performance.&lt;BR /&gt;&lt;BR /&gt;Other items.&lt;BR /&gt;&lt;BR /&gt;dbc_min_pct=5&lt;BR /&gt;dbc_max_pct=7&lt;BR /&gt;&lt;BR /&gt;These figures should be pretty close together because its very expensive in terms of CPU to make changes.&lt;BR /&gt;&lt;BR /&gt;Here is another good document to help with peformance.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;searchString=UPERFKBAN00000726&amp;amp;search.y=8&amp;amp;search.x=28&amp;amp;mode=id&amp;amp;admit=-682735245+1090854105372+28353475&amp;amp;searchCrit=allwords" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;searchString=UPERFKBAN00000726&amp;amp;search.y=8&amp;amp;search.x=28&amp;amp;mode=id&amp;amp;admit=-682735245+1090854105372+28353475&amp;amp;searchCrit=allwords&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With regards to the post being deleted, they usually MOVE the posts, they don't normally delete them. I'd check Dan's issues thread(June-July) and see. There may have been a user post indicating your thread should go.&lt;BR /&gt;&lt;BR /&gt;I take issue with anyone saying a post with very good SEP advice in it should be deleted though.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jul 2004 10:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mlock-region-failed-and-kernel-parameters/m-p/3338770#M190303</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-07-26T10:03:23Z</dc:date>
    </item>
  </channel>
</rss>

