<?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: Cant change kernel parameter dbc_max_pct in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433956#M206243</link>
    <description>Forget SAM. Do as follows from command line.&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;# /usr/sbin/kmtune -s dbc_min_pct=2 -S ./system&lt;BR /&gt;The minimum value for dbc_min_pct is 2, and you can nor go bellow that.&lt;BR /&gt;# /usr/sbin/kmtune -s dbc_max_pct=2 -S ./system&lt;BR /&gt;&lt;BR /&gt;Be forwarned that setting both values to 2, will result in static cache.&lt;BR /&gt;# /usr/sbin/kmtune -s nswapdev=10 -S ./system&lt;BR /&gt;# /usr/sbin/mk_kernel -s ./system&lt;BR /&gt;# mv /stand/system /stand/system.prev&lt;BR /&gt;# mv /stand/vmunix /stand/vmunix.prev&lt;BR /&gt;# mv ./system ../.&lt;BR /&gt;# /usr/sbin/kmupdate ./vmunix_test&lt;BR /&gt;&lt;BR /&gt;# shutdown -ry 0  &lt;BR /&gt;</description>
    <pubDate>Wed, 01 Dec 2004 08:28:01 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2004-12-01T08:28:01Z</dc:date>
    <item>
      <title>Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433954#M206241</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;This is my first post on this great forum. After being able to always find the answers I need I was not able to find a solution for my latest challenge.&lt;BR /&gt;&lt;BR /&gt;One of our customers servers has a weird problem regarding a kernel parameter. First of when I start sam and enter the kernel module I immediately get the following warning:&lt;BR /&gt;&lt;BR /&gt;After application of the parameter modification(s), one or more      │   │&lt;BR /&gt;│───│ kernel parameters were found to violate their minimum or maximum     │───│&lt;BR /&gt;│   │ allowable values.  The values of these parameters have been adjusted │   │&lt;BR /&gt;│   │ as shown in the table below:                                         │   │&lt;BR /&gt;│┌──│                                                                      │─┐ │&lt;BR /&gt;││  │ Parameter                 Old Value        New Value                 │ ^ │&lt;BR /&gt;││  │ ---------------------------------------------------------------      │   │&lt;BR /&gt;││  │ dbc_max_pct               0                2                         │   │&lt;BR /&gt;││  │ dbc_min_pct               0                2                         │   │&lt;BR /&gt;││  │ nswapdev                  64               25                    &lt;BR /&gt;&lt;BR /&gt;So as you can see SAM states there are 3 parameters that have a wrong value and that SAM wil adjust them. I want to have dbc_min_pct and dbc_max_pct at a value of 2. But when I go try and change the parameters to ANY value SAM will ouput:&lt;BR /&gt;&lt;BR /&gt; │ The parameter modification(s) you have made have resulted in at least │  ││&lt;BR /&gt;││ │ one parameter evaluating to a value which is less than its minimum    │  ││&lt;BR /&gt;││ │ allowable value.  Parameter "dbc_min_pct", currently set to "0", has  │  ││&lt;BR /&gt;││ │ evaluated to "0", which is less than its minimum allowable value of   │  ││&lt;BR /&gt;││ │ "2".                                                                  │  &lt;BR /&gt;&lt;BR /&gt;So in a nutshell, I am not able to change the parameter at all to any value. In SAM i see the current value is 2</description>
      <pubDate>Wed, 01 Dec 2004 08:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433954#M206241</guid>
      <dc:creator>Michel Helsdingen</dc:creator>
      <dc:date>2004-12-01T08:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433955#M206242</link>
      <description>Hoi Michel,&lt;BR /&gt;&lt;BR /&gt;It is a bit difficult reading the above output, could you post the output from&lt;BR /&gt;&lt;BR /&gt;# kmtune -q dbc_max_pct&lt;BR /&gt;# kmtune -q dbc_min_pct&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 01 Dec 2004 08:27:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433955#M206242</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-12-01T08:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433956#M206243</link>
      <description>Forget SAM. Do as follows from command line.&lt;BR /&gt;&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -v -s system&lt;BR /&gt;# /usr/sbin/kmtune -s dbc_min_pct=2 -S ./system&lt;BR /&gt;The minimum value for dbc_min_pct is 2, and you can nor go bellow that.&lt;BR /&gt;# /usr/sbin/kmtune -s dbc_max_pct=2 -S ./system&lt;BR /&gt;&lt;BR /&gt;Be forwarned that setting both values to 2, will result in static cache.&lt;BR /&gt;# /usr/sbin/kmtune -s nswapdev=10 -S ./system&lt;BR /&gt;# /usr/sbin/mk_kernel -s ./system&lt;BR /&gt;# mv /stand/system /stand/system.prev&lt;BR /&gt;# mv /stand/vmunix /stand/vmunix.prev&lt;BR /&gt;# mv ./system ../.&lt;BR /&gt;# /usr/sbin/kmupdate ./vmunix_test&lt;BR /&gt;&lt;BR /&gt;# shutdown -ry 0  &lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 08:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433956#M206243</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-12-01T08:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433957#M206244</link>
      <description>hi, &lt;BR /&gt; &lt;BR /&gt;sorry I read this as "Current value = 0" and "New Value (modified by SAM) = 2".&lt;BR /&gt; &lt;BR /&gt;Verify by checking "/stand/system", or by running "kmtune".&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 01 Dec 2004 08:29:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433957#M206244</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-12-01T08:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433958#M206245</link>
      <description>@Robert-Jan,&lt;BR /&gt;&lt;BR /&gt;Thanks for your fast reply! Unfortuanatly kmtune is not available. I failed to mension that it envolves a HP 10.20 server which doesnt utilize kmtune as far as i can see? Or am I missing something?&lt;BR /&gt;&lt;BR /&gt;@All&lt;BR /&gt;&lt;BR /&gt;I see the rest of your answers also involve kmtune. I cant find that in the sbin or anywhere else. Please advise thnx!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 08:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433958#M206245</guid>
      <dc:creator>Michel Helsdingen</dc:creator>
      <dc:date>2004-12-01T08:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433959#M206246</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;# strings /stand/system | grep dbc&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 01 Dec 2004 08:39:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433959#M206246</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-12-01T08:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433960#M206247</link>
      <description>Hoi Robert,&lt;BR /&gt;&lt;BR /&gt;Here is the output:&lt;BR /&gt;&lt;BR /&gt;# strings /stand/system | grep dbc&lt;BR /&gt;dbc_max_pct     2&lt;BR /&gt;dbc_min_pct     2&lt;BR /&gt;&lt;BR /&gt;Strangely enough it keeps telling me the value is 0. Even after a rebuild of the kernel and a reboot last week.&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Wed, 01 Dec 2004 08:41:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433960#M206247</guid>
      <dc:creator>Michel Helsdingen</dc:creator>
      <dc:date>2004-12-01T08:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433961#M206248</link>
      <description>So why does SAM thinks the dbc_min_pct is set to 0 ??&lt;BR /&gt;&lt;BR /&gt;Parameter "dbc_min_pct", currently set to "0", &lt;BR /&gt;&lt;BR /&gt;which kernel parameter did you change last week, do you still have an ols system file ?</description>
      <pubDate>Wed, 01 Dec 2004 09:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433961#M206248</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-12-01T09:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433962#M206249</link>
      <description>by the way, could you check the settings inside your current kernel.&lt;BR /&gt;&lt;BR /&gt;# strings /stand/vmunix | grep dbc&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 01 Dec 2004 09:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433962#M206249</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-12-01T09:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433963#M206250</link>
      <description>Hoi Robert Jan,&lt;BR /&gt;&lt;BR /&gt;First of, here is the output:&lt;BR /&gt;# strings /stand/vmunix | grep dbc&lt;BR /&gt;dbc_max_pct&lt;BR /&gt;dbc_min_pct&lt;BR /&gt;dbc_bufpages&lt;BR /&gt;dbc_init&lt;BR /&gt;        dbc_kdget&lt;BR /&gt;dbc_freemem&lt;BR /&gt;dbc_reference&lt;BR /&gt;        dbc_alloc&lt;BR /&gt;dbc_hdr&lt;BR /&gt;dbc_ceiling&lt;BR /&gt;dbc_vhandcredit&lt;BR /&gt;dbc_parolemem&lt;BR /&gt;dbc_invalcount&lt;BR /&gt;dbc_steal_free_pages&lt;BR /&gt;rags_dbc_bufpages&lt;BR /&gt;dbc_nbuf&lt;BR /&gt;dbc_bio&lt;BR /&gt;dbc_stealavg&lt;BR /&gt;dbc_steal_factor&lt;BR /&gt;dbchan&lt;BR /&gt;dbchan2&lt;BR /&gt;dbc_max_pct     0&lt;BR /&gt;dbc_min_pct     0&lt;BR /&gt;smdt_odbcntl&lt;BR /&gt;lgdt_odbcntl&lt;BR /&gt;&lt;BR /&gt;Secondly, the reason why we processed a new kernel last week was because we hoped that that would solve the problem last week since SAM stated that it would process a new kernel due to incorrect settings. But that didnt to it quite yet.&lt;BR /&gt;&lt;BR /&gt;Any more thoughts?</description>
      <pubDate>Thu, 02 Dec 2004 02:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433963#M206250</guid>
      <dc:creator>Michel Helsdingen</dc:creator>
      <dc:date>2004-12-02T02:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433964#M206251</link>
      <description>Hoi Michel,&lt;BR /&gt;&lt;BR /&gt;Could you compare my notes to the commands you made during the build of the new kernel.&lt;BR /&gt;&lt;BR /&gt;10.X&lt;BR /&gt;&lt;BR /&gt;1. Change directories to /stand/build.&lt;BR /&gt;# cd /stand/build&lt;BR /&gt;&lt;BR /&gt;2. Create a new system file from the running kernel.&lt;BR /&gt;# /usr/lbin/sysadm/system_prep -s /stand/build/system&lt;BR /&gt;&lt;BR /&gt;3. Edit the kernel with the planned changes.&lt;BR /&gt;# vi /stand/build/system&lt;BR /&gt;&lt;BR /&gt;4. Build the new kernel.&lt;BR /&gt;# /usr/sbin/mk_kernel -s /stand/build/system&lt;BR /&gt;&lt;BR /&gt;5. Move the old system and vmunix files so if anything goes wrong, the system&lt;BR /&gt;can be booted from the old kernel.&lt;BR /&gt;# mv /stand/system /stand/system.prev&lt;BR /&gt;# mv /stand/build/system /stand/system&lt;BR /&gt;# mv /stand/vmunix /stand/vmunix.prev&lt;BR /&gt;# mv /stand/build/vmunix_test /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;6. Reboot the system off the new kernel.&lt;BR /&gt;# shutdown -r -y now&lt;BR /&gt; &lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 02 Dec 2004 03:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433964#M206251</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-12-02T03:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433965#M206252</link>
      <description>Hoi Robert Jan!&lt;BR /&gt;&lt;BR /&gt;It worked! The parameter now is correct! Thanks a bunch. U deserve 10 points but I cant change that anymore since I was to fast. Sorry for that.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Michel</description>
      <pubDate>Thu, 02 Dec 2004 09:35:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433965#M206252</guid>
      <dc:creator>Michel Helsdingen</dc:creator>
      <dc:date>2004-12-02T09:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Cant change kernel parameter dbc_max_pct</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433966#M206253</link>
      <description>I was to fast. I was still able to give you 10 points :) Thanks again!</description>
      <pubDate>Thu, 02 Dec 2004 09:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cant-change-kernel-parameter-dbc-max-pct/m-p/3433966#M206253</guid>
      <dc:creator>Michel Helsdingen</dc:creator>
      <dc:date>2004-12-02T09:37:18Z</dc:date>
    </item>
  </channel>
</rss>

