<?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: about dynamic kernel parameter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-dynamic-kernel-parameter/m-p/2813646#M84919</link>
    <description>Dynamic tunables are not preserved after a reboot. DocId: UKRNKBRC00010259   Updated: 8/2/02 4:57:00 AM &lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;Using kmtune or Sam to set dynamic kernel parameters is losing the&lt;BR /&gt;value after a reboot.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;# kmtune -s shmmax=0x40000000&lt;BR /&gt;&lt;BR /&gt;# kmtune -u&lt;BR /&gt;The kernel's value of shmmax has been set to 1073741824 (0x40000000).&lt;BR /&gt;&lt;BR /&gt;# kmtune -l -q shmmax&lt;BR /&gt;Parameter:      shmmax&lt;BR /&gt;Current:        0x40000000&lt;BR /&gt;Planned:        0x40000000&lt;BR /&gt;Default:        0X4000000&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        Yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Everything appears to work, but when the system is rebooted with&lt;BR /&gt;shutdown -r, the values revert back to a previous setting.&lt;BR /&gt;&lt;BR /&gt;What is going on?&lt;BR /&gt;RESOLUTION&lt;BR /&gt;In this case, the krsd daemon was not running so the configuration&lt;BR /&gt;files in /stand/krs/ were not getting updated.  The krsd daemon should be&lt;BR /&gt;started in /etc/inittab as follows:&lt;BR /&gt;&lt;BR /&gt;krsd:123456:respawn:/sbin/krsd -i&lt;BR /&gt;&lt;BR /&gt;If this is not there, it should be added.  Then do init q.&lt;BR /&gt;&lt;BR /&gt;Once the daemon is restarted, the files in /stand/krs should be rebuilt.  This&lt;BR /&gt;can be done with the kmtune command.  In this example shmmax is being modified,&lt;BR /&gt;but using kmtune -s on any dynamic parameter would work:&lt;BR /&gt;&lt;BR /&gt;# mv /stand/krs/* /tmp&lt;BR /&gt;# kmtune -s shmmax=0x40000000&lt;BR /&gt;# kmtune -u&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Using cksum on the new files in /stand/krs will probably show&lt;BR /&gt;different sizes than the original ones.  This is because the new values have&lt;BR /&gt;now been set correctly.&lt;BR /&gt;&lt;BR /&gt;# cksum /stand/krs/*&lt;BR /&gt;4067031556 65048 /stand/krs/_stand_vmunix.krs&lt;BR /&gt;3908630881 24 /stand/krs/system.krs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The kernel parameter value should now survive a reboot.&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Sep 2002 00:52:20 GMT</pubDate>
    <dc:creator>Animesh Chakraborty</dc:creator>
    <dc:date>2002-09-26T00:52:20Z</dc:date>
    <item>
      <title>about dynamic kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-dynamic-kernel-parameter/m-p/2813644#M84917</link>
      <description>There are some dynamic kernel parameters on 11i.I know the machine have not to reboot if I change dynamic parameter,but when the machine reboot,why dynamic parameter is changed to the value before?&lt;BR /&gt;(l2000,11i)</description>
      <pubDate>Thu, 26 Sep 2002 00:31:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-dynamic-kernel-parameter/m-p/2813644#M84917</guid>
      <dc:creator>hongjing_zhang</dc:creator>
      <dc:date>2002-09-26T00:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: about dynamic kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-dynamic-kernel-parameter/m-p/2813645#M84918</link>
      <description>Are you using sam?&lt;BR /&gt;if not then use sam!&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Jannik</description>
      <pubDate>Thu, 26 Sep 2002 00:50:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-dynamic-kernel-parameter/m-p/2813645#M84918</guid>
      <dc:creator>Telia BackOffice</dc:creator>
      <dc:date>2002-09-26T00:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: about dynamic kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-dynamic-kernel-parameter/m-p/2813646#M84919</link>
      <description>Dynamic tunables are not preserved after a reboot. DocId: UKRNKBRC00010259   Updated: 8/2/02 4:57:00 AM &lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;Using kmtune or Sam to set dynamic kernel parameters is losing the&lt;BR /&gt;value after a reboot.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;# kmtune -s shmmax=0x40000000&lt;BR /&gt;&lt;BR /&gt;# kmtune -u&lt;BR /&gt;The kernel's value of shmmax has been set to 1073741824 (0x40000000).&lt;BR /&gt;&lt;BR /&gt;# kmtune -l -q shmmax&lt;BR /&gt;Parameter:      shmmax&lt;BR /&gt;Current:        0x40000000&lt;BR /&gt;Planned:        0x40000000&lt;BR /&gt;Default:        0X4000000&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        Yes&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Everything appears to work, but when the system is rebooted with&lt;BR /&gt;shutdown -r, the values revert back to a previous setting.&lt;BR /&gt;&lt;BR /&gt;What is going on?&lt;BR /&gt;RESOLUTION&lt;BR /&gt;In this case, the krsd daemon was not running so the configuration&lt;BR /&gt;files in /stand/krs/ were not getting updated.  The krsd daemon should be&lt;BR /&gt;started in /etc/inittab as follows:&lt;BR /&gt;&lt;BR /&gt;krsd:123456:respawn:/sbin/krsd -i&lt;BR /&gt;&lt;BR /&gt;If this is not there, it should be added.  Then do init q.&lt;BR /&gt;&lt;BR /&gt;Once the daemon is restarted, the files in /stand/krs should be rebuilt.  This&lt;BR /&gt;can be done with the kmtune command.  In this example shmmax is being modified,&lt;BR /&gt;but using kmtune -s on any dynamic parameter would work:&lt;BR /&gt;&lt;BR /&gt;# mv /stand/krs/* /tmp&lt;BR /&gt;# kmtune -s shmmax=0x40000000&lt;BR /&gt;# kmtune -u&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Using cksum on the new files in /stand/krs will probably show&lt;BR /&gt;different sizes than the original ones.  This is because the new values have&lt;BR /&gt;now been set correctly.&lt;BR /&gt;&lt;BR /&gt;# cksum /stand/krs/*&lt;BR /&gt;4067031556 65048 /stand/krs/_stand_vmunix.krs&lt;BR /&gt;3908630881 24 /stand/krs/system.krs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The kernel parameter value should now survive a reboot.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Sep 2002 00:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-dynamic-kernel-parameter/m-p/2813646#M84919</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2002-09-26T00:52:20Z</dc:date>
    </item>
  </channel>
</rss>

