IBM Tivoli Composite Application Manager for Application Diagnostics, Version 7.1.0.1

Kernel settings for HP-UX

Several HP-UX kernel values are typically too small for IBM WAS.

To adjust the kernel values:

  1. Log into the host server as root.

  2. Determine the physical memory, which know to avoid setting certain kernel parameters above the physical capacity:

    1. Start the HP-UX System Administration Manager (SAM) utility:
      sam
      This starts a text-based GUI interface. Use tab and arrow keys to move around in the interface.

    2. Click Performance Monitors > System Properties > Memory.

    3. Note the value for Physical Memory and click OK.

  3. Click Kernel Configuration > Tunables.

  4. Set maxfiles and maxfiles_lim to values of 8000 and 8196, respectively.

  5. Set new kernel parameter values:

    1. For each of the parameters in the following table, perform this procedure:

      1. Highlight the parameter to change.

      2. Click m.

      3. Type the new value in the Enter Value/Expression field.

      4. Click OK.

    Typical kernel settings for running IBM WAS are displayed in the following table:


    Typical kernel settings for running IBM WAS

    Parameter Value
    dbc_max_pct 25
    maxdsiz 805306358
    maxdsiz 2048000000 (when running multiple profiles on the same system)
    maxfiles_lim 8196 (Change this one before maxfiles.)
    maxfiles 8000
    maxssiz 8388608
    maxswapchunks 8192
    max_thread_proc 3000
    maxuprc 512
    maxusers 512
    msgmap 2048
    msgmax 65535
    msgmax 131070 (when running multiple profiles on the same system)
    msgmnb 65535
    msgmnb 131070 (when running multiple profiles on the same system)
    msgmni 50
    msgseg 32767
    msgssz 32
    msgtql 2046
    nfile 58145
    nflocks 3000
    ninode 60000
    nkthread 7219
    nproc 4116
    npty 2024
    nstrpty 1024
    nstrtel 60
    sema 1
    semaem 16384
    semmap 514
    semmni 2048
    semmns 16384
    semmnu 1024
    semume 200
    semvmx 32767
    shmmax 2147483647
    shmem 1
    shmmni 1024
    shmseg 1024
    STRMSGSZ 65535

    When IBM WAS and IBM DB2 are on the same server, some kernel values are higher than those shown in the preceding table.

  6. Click Actions > Process New Kernel.

  7. Click Yes on the information panel to confirm your decision to restart the server. Follow the on-screen instructions to restart your server and to enable the new settings.

  8. Exit from the SAM utility.

  9. If you plan to redirect displays to non-HP servers before running the IBM WAS installation wizard:

    1. Issue the following command to obtain information on all the public locales that are accessible to your application:
      # locale -a

    2. Choose a value for your system from the output that is displayed and set the LANG environment variable to this value. This is an example command that sets the value of LANG to en_US.iso88591:
      # export LANG=en_US.iso8859

  10. Reboot your server, for these changes to take effect.


Parent topic:

HP-UX and Solaris: kernel settings for WAS

+

Search Tips   |   Advanced Search