<?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 Kernel Parameter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819583#M269775</link>
    <description>Our customer asked us to change the kernel parameters.Here is the detail.&lt;BR /&gt;&lt;BR /&gt;Server : RP7420&lt;BR /&gt;OS : HPUX 11.11B&lt;BR /&gt;Database : Oracle 10G R1.&lt;BR /&gt;&lt;BR /&gt;The recommended kernel parameter are as follow,&lt;BR /&gt;Parameter Existing Recommended&lt;BR /&gt;aio_listio_max 256 512&lt;BR /&gt;dbc_max_pct 25 50&lt;BR /&gt;dbc_min_pct 5 2&lt;BR /&gt;ksi_alloc_max nproc * 8 nproc * 8&lt;BR /&gt;max_async_ports 50 1210&lt;BR /&gt;max_thread_proc 3000 7000&lt;BR /&gt;maxdsiz 2063835136 4294967296&lt;BR /&gt;maxdsiz_64bit 21474836480 21474836480&lt;BR /&gt;maxfiles 2048 2048&lt;BR /&gt;maxfiles_lim 2048 8192&lt;BR /&gt;maxssiz 134217728 134217728&lt;BR /&gt;maxssiz_64bit 1073741824 268435456&lt;BR /&gt;maxswapchunks 16384 16384&lt;BR /&gt;maxuprc 3687 ((nproc*9)/10)&lt;BR /&gt;maxusers 512 1200&lt;BR /&gt;msgmap 4099 2+msgmni&lt;BR /&gt;msgmni 4097 8192&lt;BR /&gt;msgseg 32767 already at max limit&lt;BR /&gt;msgtql 4097 8192&lt;BR /&gt;ncsize 35848 (ninode+vx_ncsize)&lt;BR /&gt;nfile 63503 (15*nproc+2048)&lt;BR /&gt;nflocks 4096 8192&lt;BR /&gt;ninode 34824 (8*nproc+2048)&lt;BR /&gt;nkthread 7185 (((nproc*7)/4)+16)&lt;BR /&gt;nproc 4097 8000&lt;BR /&gt;semmap 4098 (semmni+2)&lt;BR /&gt;semmni 4096 8192&lt;BR /&gt;semmns 8192 (semmni*2)&lt;BR /&gt;semmnu 4093 (nproc-4)&lt;BR /&gt;semvmx 32767 40000&lt;BR /&gt;shmmax 4294967296 12884901888&lt;BR /&gt;shmmni 512 1024&lt;BR /&gt;shmseg 120 512&lt;BR /&gt;swapmem_on 0 1&lt;BR /&gt;vps_ceiling 64 128&lt;BR /&gt;&lt;BR /&gt;After changing these parameters, we are getting this error.&lt;BR /&gt;&lt;BR /&gt;kgpspawn failed:category = 27143, depinfo = 24, op = pipe, loc = skgpspawn2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 07 Jul 2006 08:31:52 GMT</pubDate>
    <dc:creator>moodi</dc:creator>
    <dc:date>2006-07-07T08:31:52Z</dc:date>
    <item>
      <title>Kernel Parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819583#M269775</link>
      <description>Our customer asked us to change the kernel parameters.Here is the detail.&lt;BR /&gt;&lt;BR /&gt;Server : RP7420&lt;BR /&gt;OS : HPUX 11.11B&lt;BR /&gt;Database : Oracle 10G R1.&lt;BR /&gt;&lt;BR /&gt;The recommended kernel parameter are as follow,&lt;BR /&gt;Parameter Existing Recommended&lt;BR /&gt;aio_listio_max 256 512&lt;BR /&gt;dbc_max_pct 25 50&lt;BR /&gt;dbc_min_pct 5 2&lt;BR /&gt;ksi_alloc_max nproc * 8 nproc * 8&lt;BR /&gt;max_async_ports 50 1210&lt;BR /&gt;max_thread_proc 3000 7000&lt;BR /&gt;maxdsiz 2063835136 4294967296&lt;BR /&gt;maxdsiz_64bit 21474836480 21474836480&lt;BR /&gt;maxfiles 2048 2048&lt;BR /&gt;maxfiles_lim 2048 8192&lt;BR /&gt;maxssiz 134217728 134217728&lt;BR /&gt;maxssiz_64bit 1073741824 268435456&lt;BR /&gt;maxswapchunks 16384 16384&lt;BR /&gt;maxuprc 3687 ((nproc*9)/10)&lt;BR /&gt;maxusers 512 1200&lt;BR /&gt;msgmap 4099 2+msgmni&lt;BR /&gt;msgmni 4097 8192&lt;BR /&gt;msgseg 32767 already at max limit&lt;BR /&gt;msgtql 4097 8192&lt;BR /&gt;ncsize 35848 (ninode+vx_ncsize)&lt;BR /&gt;nfile 63503 (15*nproc+2048)&lt;BR /&gt;nflocks 4096 8192&lt;BR /&gt;ninode 34824 (8*nproc+2048)&lt;BR /&gt;nkthread 7185 (((nproc*7)/4)+16)&lt;BR /&gt;nproc 4097 8000&lt;BR /&gt;semmap 4098 (semmni+2)&lt;BR /&gt;semmni 4096 8192&lt;BR /&gt;semmns 8192 (semmni*2)&lt;BR /&gt;semmnu 4093 (nproc-4)&lt;BR /&gt;semvmx 32767 40000&lt;BR /&gt;shmmax 4294967296 12884901888&lt;BR /&gt;shmmni 512 1024&lt;BR /&gt;shmseg 120 512&lt;BR /&gt;swapmem_on 0 1&lt;BR /&gt;vps_ceiling 64 128&lt;BR /&gt;&lt;BR /&gt;After changing these parameters, we are getting this error.&lt;BR /&gt;&lt;BR /&gt;kgpspawn failed:category = 27143, depinfo = 24, op = pipe, loc = skgpspawn2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jul 2006 08:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819583#M269775</guid>
      <dc:creator>moodi</dc:creator>
      <dc:date>2006-07-07T08:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819584#M269776</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The error seems vaguely familiar.&lt;BR /&gt;&lt;BR /&gt;You don't state how much memory your system has, is possible you have exceeded capacity with one or more parms.&lt;BR /&gt;&lt;BR /&gt;Also, take out the formulas. You don't nee them and they can cause errors themselves. a&lt;BR /&gt;&lt;BR /&gt;Lastly to diagnose:&lt;BR /&gt;Change everything back and change fewer parameters to isolate which one caused the problem.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 07 Jul 2006 08:49:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819584#M269776</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-07T08:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819585#M269777</link>
      <description>Thanks steven for quick reply, I have revert back parameters but problem is, machine is in production and we can change parameter on production machine, becasue after changing the parameters we need to reboot machine. &lt;BR /&gt;&lt;BR /&gt;Please help me which parameters are required to change.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 07 Jul 2006 09:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819585#M269777</guid>
      <dc:creator>moodi</dc:creator>
      <dc:date>2006-07-07T09:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819586#M269778</link>
      <description>Several parameters need adjusting and as Steven said, dump the formula entries, at least for the most common items:&lt;BR /&gt; &lt;BR /&gt;&amp;gt; dbc_max_pct must be changed to a percentage of your RAM that works out to about 800-1600 megs. Since memory size changes (add more RAM), it's much simpler to just specify bufpages=250000 (250k) for 1000megs of 4k pages. When bufpages has a non-zero value, dbc_min_pct and dbc_max_pct are ignored (which is what is desired)&lt;BR /&gt; &lt;BR /&gt;&amp;gt; maxuprc is set using a formula. This is the limit of all running processes owned by a single user. It should be a fixed number (like 3000) rather bouncing around with nproc. You can monitor process counts by user with this command line:&lt;BR /&gt; &lt;BR /&gt;ps -eo user= | sort | uniq -c | sort -n&lt;BR /&gt; &lt;BR /&gt;The owner(s) with the largest number of processes will be shown at the bottom of the list.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; ninode is more than 10x too large. Change it to 2048 and forget it. This parameter is primarily for in-core inodes from the /stand filesystem.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; maxusers is not a kernel parameter at all but is used to adjust other parameters. In some cases, it is reasonable but others, it is way off, usually making a parameter far too large an wasting kernel memory.&lt;BR /&gt; &lt;BR /&gt;&amp;gt; nproc set to 8000 may be reasonable but check the actual usage with sar -v 1&lt;BR /&gt; &lt;BR /&gt;&amp;gt; nfile to be set to 63000 may also be reasonable but check with sar -v 1. In both cases, when the usage approaches 75%, schedule a reboot so you can double the value.&lt;BR /&gt;</description>
      <pubDate>Fri, 07 Jul 2006 10:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819586#M269778</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-07-07T10:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819587#M269779</link>
      <description>What is memory for the above configuration!&lt;BR /&gt;&lt;BR /&gt;Is it for 12 GB RAM ?&lt;BR /&gt;&lt;BR /&gt;What is the swap memory size?&lt;BR /&gt;&lt;BR /&gt;Please clarify so that somebody else can use this config.</description>
      <pubDate>Wed, 19 Jul 2006 08:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819587#M269779</guid>
      <dc:creator>arijit dey</dc:creator>
      <dc:date>2006-07-19T08:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819588#M269780</link>
      <description>My recommendation to dump the formulas was straight from Bill Hassell's Advanced Systems Administration Class from 2004.&lt;BR /&gt;&lt;BR /&gt;Why is a thread that's been idle being openned after 12 days?&lt;BR /&gt;&lt;BR /&gt;If the owner wishes to pursue it, he'll provide more information. I suspect this is resolved and should be left alone until the author closes it or says otherwise.&lt;BR /&gt;&lt;BR /&gt;ITRC Ettiquette, lets not clutter the forum with inactive threads.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 Jul 2006 08:54:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-parameter/m-p/3819588#M269780</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-19T08:54:09Z</dc:date>
    </item>
  </channel>
</rss>

