<?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: Kernel panic after tuning kernel parameters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562836#M525316</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;max_async_ports represent the maximum&lt;BR /&gt;number of processes that can open /dev/async&lt;BR /&gt;concurrently.&lt;BR /&gt;&lt;BR /&gt;As a result, the maximum is nproc, which is&lt;BR /&gt;the limit on the number of processes that&lt;BR /&gt;can run on your system at any given time.&lt;BR /&gt;&lt;BR /&gt;Set this parameter to the sum of 'processes'&lt;BR /&gt;from init.ora + number of background processes.&lt;BR /&gt;I believe the background processes&lt;BR /&gt;started at instance startup will open&lt;BR /&gt;/dev/async twice.&lt;BR /&gt;&lt;BR /&gt;If max_async_ports is reached, subsequent&lt;BR /&gt;processes will use synchronous I/O.&lt;BR /&gt;&lt;BR /&gt;If lsof is installed you may check the current status using it on /dev/async.&lt;BR /&gt;&lt;BR /&gt;# lsof /dev/async&lt;BR /&gt;&lt;BR /&gt;Actually you may want to run the full check:&lt;BR /&gt;&lt;BR /&gt;# lsof /dev/async | wc -l&lt;BR /&gt;&lt;BR /&gt;# kctune max_async_ports&lt;BR /&gt;&lt;BR /&gt;# kctune nproc&lt;BR /&gt;&lt;BR /&gt;Some of the HP and Oracle documentation state that it should be at least 1024.&lt;BR /&gt;Albeit, I have also seen sites with values&lt;BR /&gt;up to 6000.&lt;BR /&gt;&lt;BR /&gt;Maybe this helps you!&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
    <pubDate>Wed, 13 Jan 2010 10:13:48 GMT</pubDate>
    <dc:creator>VK2COT</dc:creator>
    <dc:date>2010-01-13T10:13:48Z</dc:date>
    <item>
      <title>Kernel panic after tuning kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562832#M525312</link>
      <description>For oracle we need to tune some tuneables:&lt;BR /&gt;&lt;BR /&gt;kctune max_async_ports=27000&lt;BR /&gt;kctune max_thread_proc=3000&lt;BR /&gt;kctune maxdsiz=3221225472&lt;BR /&gt;kctune maxdsiz_64bit=274877906944&lt;BR /&gt;kctune maxfiles_lim=8192&lt;BR /&gt;kctune maxfiles=8192&lt;BR /&gt;kctune maxssiz=134217728&lt;BR /&gt;&lt;BR /&gt;Here are the screenlogs &lt;BR /&gt;&lt;BR /&gt;Vpux1:/ # kctune max_async_ports=27000&lt;BR /&gt;NOTE:    The configuration being loaded contains the following change(s)&lt;BR /&gt;         that cannot be applied immediately and which will be held for&lt;BR /&gt;         the next boot:&lt;BR /&gt;      -- The tunable max_async_ports cannot be changed in a dynamic&lt;BR /&gt;         fashion.&lt;BR /&gt;WARNING: The automatic 'backup' configuration currently contains the&lt;BR /&gt;         configuration that was in use before the last reboot of this&lt;BR /&gt;         system.&lt;BR /&gt;     ==&amp;gt; Do you wish to update it to contain the current configuration&lt;BR /&gt;         before making the requested change? y&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;       * The requested changes have been saved, and will take effect at&lt;BR /&gt;         next boot.&lt;BR /&gt;Tunable                       Value  Expression&lt;BR /&gt;max_async_ports  (now)           50  Default&lt;BR /&gt;                 (next boot)  27000  27000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vpux1:/ # kctune max_thread_proc=3000&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;       * The requested changes have been applied to the currently&lt;BR /&gt;         running system.&lt;BR /&gt;Tunable                    Value  Expression  Changes&lt;BR /&gt;max_thread_proc  (before)    256  Default     Immed&lt;BR /&gt;                 (now)      3000  3000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vpux1:/ # kctune maxdsiz=3221225472&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;       * The requested changes have been applied to the currently&lt;BR /&gt;         running system.&lt;BR /&gt;Tunable                 Value  Expression  Changes&lt;BR /&gt;maxdsiz  (before)  1073741824  Default     Immed&lt;BR /&gt;         (now)     3221225472  3221225472&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vpux1:/ # kctune maxdsiz=3221225472&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;       * The requested changes have been applied to the currently&lt;BR /&gt;         running system.&lt;BR /&gt;Tunable                 Value  Expression  Changes&lt;BR /&gt;maxdsiz  (before)  1073741824  Default     Immed&lt;BR /&gt;         (now)     3221225472  3221225472&lt;BR /&gt;Vpux1:/ # kctune maxdsiz_64bit=274877906944&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;       * The requested changes have been applied to the currently&lt;BR /&gt;         running system.&lt;BR /&gt;Tunable                         Value  Expression    Changes&lt;BR /&gt;maxdsiz_64bit  (before)    4294967296  Default       Immed&lt;BR /&gt;               (now)     274877906944  274877906944&lt;BR /&gt;&lt;BR /&gt;Vpux1:/ # kctune maxfiles_lim=8192&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;       * The requested changes have been applied to the currently&lt;BR /&gt;         running system.&lt;BR /&gt;Tunable                 Value  Expression  Changes&lt;BR /&gt;maxfiles_lim  (before)   4096  Default     Immed&lt;BR /&gt;              (now)      8192  8192&lt;BR /&gt;Vpux1:/ # kctune maxfiles=8192&lt;BR /&gt;NOTE:    The configuration being loaded contains the following change(s)&lt;BR /&gt;         that cannot be applied immediately and which will be held for&lt;BR /&gt;         the next boot:&lt;BR /&gt;      -- The tunable maxfiles cannot be changed in a dynamic fashion.&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;       * The requested changes have been saved, and will take effect at&lt;BR /&gt;         next boot.&lt;BR /&gt;Tunable                       Value  Expression&lt;BR /&gt;max_async_ports  (now)           50  Default&lt;BR /&gt;                 (next boot)  27000  27000&lt;BR /&gt;maxfiles         (now)         2048  Default&lt;BR /&gt;                 (next boot)   8192  8192&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Vpux1:/ # kctune maxssiz=134217728&lt;BR /&gt;       * The automatic 'backup' configuration has been updated.&lt;BR /&gt;NOTE:    No change to 'maxssiz' was needed.&lt;BR /&gt;Tunable      Value  Expression  Changes&lt;BR /&gt;maxssiz  134217728  134217728   Immed&lt;BR /&gt;&lt;BR /&gt;After the reboot:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Seconds left till autoboot -   3&lt;BR /&gt;[Read only - use Ctrl-Ecf for console write access.]                           0&lt;BR /&gt;AUTOBOOTING...&amp;gt; System Memory = 20474 MB&lt;BR /&gt;loading section 0&lt;BR /&gt;.......................................................... (complete)&lt;BR /&gt;loading section 1&lt;BR /&gt;............... (complete)&lt;BR /&gt;loading symbol table&lt;BR /&gt;loading System Directory (boot.sys) to MFS&lt;BR /&gt;....&lt;BR /&gt;loading MFSFILES directory (bootfs) to MFS&lt;BR /&gt;...............&lt;BR /&gt;Launching /stand/vmunix&lt;BR /&gt;SIZE: Text:29449K + Data:7430K + BSS:5930K = Total:42810K&lt;BR /&gt;Console is on Serial COM1&lt;BR /&gt;Booting kernel...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Stored message buffer up to panic:&lt;BR /&gt;Found adjacent data tr.  Growing size.  0x32f1000 -&amp;gt; 0x72f1000.&lt;BR /&gt;Pinned PDK malloc pool: base: 0xe000000100d0f000  size=117700K&lt;BR /&gt;Loaded ACPI revision 2.0 tables.&lt;BR /&gt;&lt;BR /&gt;MFS is defined: base= 0xe000000100d0f000  size= 1444 KB&lt;BR /&gt;WARNING pdk_malloc: rmalloc returned 0.&lt;BR /&gt;Call was pdk_malloc (0x4e7c000, 0x11, 0x10000000).&lt;BR /&gt;pinned_pdk_malloc_avail_contig(): 0x6e1d480&lt;BR /&gt;&lt;BR /&gt;System Panic:&lt;BR /&gt;&lt;BR /&gt;panic: pdk_malloc: not enough free memory to allocate&lt;BR /&gt;Stack Trace:&lt;BR /&gt;  IP                  Function Name&lt;BR /&gt;  0xe000000000cbd0e0  pdk_malloc+0x280&lt;BR /&gt;  0xe000000001c6d880  hdl_boottime_alloc+0x40&lt;BR /&gt;  0xe0000000006f89f0  get_kmem+0x170&lt;BR /&gt;  0xe00000000072db80  kmem_arena_xlarge_alloc+0x100&lt;BR /&gt;  0xe00000000069adb0  kmem_arena_varalloc+0x230&lt;BR /&gt;  0xe00000000154a630  ktune_alloc_memory+0x50&lt;BR /&gt;  0xe000000000b96980  io_init_tunables+0x1a0&lt;BR /&gt;  0xe000000000944e30  kc_dispatch+0x460&lt;BR /&gt;  0xe00000000154a5a0  rm_tunable_init+0x60&lt;BR /&gt;  0xe000000001604ff0  DoCalllist+0x3a0&lt;BR /&gt;End of Stack Trace&lt;BR /&gt;&lt;BR /&gt;linkstamp:          Thu Jun 25 14:11:04 METDST 2009&lt;BR /&gt;_release_version:   @(#) $Revision: vmunix:    B11.23_LR FLAVOR=perf Fri Aug 29 22:35:38 PDT 2003 $&lt;BR /&gt;&lt;BR /&gt;*** A system crash has occurred. (See the above messages for details.)&lt;BR /&gt;*** The system is now preparing to dump physical memory to disk, for use&lt;BR /&gt;*** in debugging the crash.&lt;BR /&gt;&lt;BR /&gt;ERROR:  Your system crashed before I/O and dump configuration was complete.&lt;BR /&gt;        This system does not support a crash dump under these circumstances.&lt;BR /&gt;        Contact your HP support representative for assistance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jan 2010 13:35:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562832#M525312</guid>
      <dc:creator>Jan vd Vlugt</dc:creator>
      <dc:date>2010-01-12T13:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel panic after tuning kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562833#M525313</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Oracle has led you down the garden path.&lt;BR /&gt;&lt;BR /&gt;I think this one is a problem:&lt;BR /&gt;&lt;BR /&gt;kctune max_async_ports=27000&lt;BR /&gt;&lt;BR /&gt;the system seemed stable with the other dynamically changed parameters.&lt;BR /&gt;&lt;BR /&gt;To back this out, you will probably need to either boot your system off of install media and put the previous kernel into production. You an also boot single user mode.&lt;BR /&gt;&lt;BR /&gt;cd /stand&lt;BR /&gt;mv vmunix.prev vmunix&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then boot. replace vmunix with whatever the backup file name was for the previous kernel.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 12 Jan 2010 14:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562833#M525313</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-01-12T14:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel panic after tuning kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562834#M525314</link>
      <description>Try to boot into tunable maintenance mode:&lt;BR /&gt;&lt;BR /&gt;EFI&amp;gt; hpux -tm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;from man page:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;Boot the system in tunable maintenance mode, also known as "failsafe boot" mode. This option will disregard the tunable settings and module settings in the kernel configuration, and boot with known good settings instead.&lt;BR /&gt;&lt;BR /&gt;...</description>
      <pubDate>Tue, 12 Jan 2010 14:23:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562834#M525314</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-01-12T14:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel panic after tuning kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562835#M525315</link>
      <description>Thanks for replying!&lt;BR /&gt;&lt;BR /&gt;Steven you are right! &lt;BR /&gt;it's the max_async_ports value! I'm recovering the system again.&lt;BR /&gt;&lt;BR /&gt;Hp support has the following options:&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;_init_tunables is allocating space for several things including max_async_ports, which is on the list of tunables that oracle recommended be bumped.  Once I saw that I remembered seeing this problem before so I went hunting and found QXCR1000817755, which came about via wtec call 4000165477.  That's the good news.  The bad news, perhaps, is that that customer was planning an upgrade to 11.31 where this is not an issue, so an official patch was never cut.  However, an UNOF was created as a stopgap until the upgrade and that UNOF is still accessible.  From that&lt;BR /&gt;call:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;System: lan.cup.hp.com&lt;BR /&gt;  Patch:  ~ftp/pub_tmp/asyncdsk_amdocs_11iv2/UNOF_AsyncMaxPortFix.depot&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;The patch can be installed as follows:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;  # swinstall -x autoreboot=true -x patch_match_target=true \&lt;BR /&gt;    -s /tmp/UNOF_AsyncMaxPortFix.depot&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;If you read through the call, you'll see why no official patch was done for 11.23.  So, the customer has 3 choices&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;1) Don't set max_async_ports so high (that really is a huge value!)&lt;BR /&gt;2) Install the UNOF&lt;BR /&gt;3) upgrade HPVM and run 11.31 guests (I suspect this one is not a viable&lt;BR /&gt;   option)&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;I don't like "UNOF's" and upgrading to 11.31 is not an option. So what's a nice "recommended value" for max_async_ports?</description>
      <pubDate>Tue, 12 Jan 2010 15:15:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562835#M525315</guid>
      <dc:creator>Jan vd Vlugt</dc:creator>
      <dc:date>2010-01-12T15:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel panic after tuning kernel parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562836#M525316</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;max_async_ports represent the maximum&lt;BR /&gt;number of processes that can open /dev/async&lt;BR /&gt;concurrently.&lt;BR /&gt;&lt;BR /&gt;As a result, the maximum is nproc, which is&lt;BR /&gt;the limit on the number of processes that&lt;BR /&gt;can run on your system at any given time.&lt;BR /&gt;&lt;BR /&gt;Set this parameter to the sum of 'processes'&lt;BR /&gt;from init.ora + number of background processes.&lt;BR /&gt;I believe the background processes&lt;BR /&gt;started at instance startup will open&lt;BR /&gt;/dev/async twice.&lt;BR /&gt;&lt;BR /&gt;If max_async_ports is reached, subsequent&lt;BR /&gt;processes will use synchronous I/O.&lt;BR /&gt;&lt;BR /&gt;If lsof is installed you may check the current status using it on /dev/async.&lt;BR /&gt;&lt;BR /&gt;# lsof /dev/async&lt;BR /&gt;&lt;BR /&gt;Actually you may want to run the full check:&lt;BR /&gt;&lt;BR /&gt;# lsof /dev/async | wc -l&lt;BR /&gt;&lt;BR /&gt;# kctune max_async_ports&lt;BR /&gt;&lt;BR /&gt;# kctune nproc&lt;BR /&gt;&lt;BR /&gt;Some of the HP and Oracle documentation state that it should be at least 1024.&lt;BR /&gt;Albeit, I have also seen sites with values&lt;BR /&gt;up to 6000.&lt;BR /&gt;&lt;BR /&gt;Maybe this helps you!&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 13 Jan 2010 10:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-panic-after-tuning-kernel-parameters/m-p/4562836#M525316</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2010-01-13T10:13:48Z</dc:date>
    </item>
  </channel>
</rss>

