Several HP-UX kernel values are typically too small for a WebSphere Process Server installation.
You must set selected kernel parameters to higher values.
Why and when to perform this task
To set kernel parameters, perform the following steps:
Steps for this task
- If you are not already logged into the host machine as root, do
so.
- Determine the physical memory, which you must know to avoid setting
certain kernel parameters above the physical capacity. To determine the physical
memory, perform the following steps:
- Start the HP-UX System Administration Manager (SAM)
utility with the /usr/sbin/sam command.
- Select Performance Monitors > System Properties > Memory.
- Note the value for Physical Memory and select OK.
- Exit from the SAM utility.
- Because you need to set certain parameters such as maxfiles and maxfiles_lim to
values higher than 4096, you must first edit the /usr/conf/master.d/core-hpux file,
so the SAM utility can set values greater than 2048. To edit this file, perform
the following steps:
- Open the /usr/conf/master.d/core-hpux file in a text
editor.
- Change the line "*range maxfiles<=2048" to "*range
maxfiles<=60000".
- Change the line "*range maxfiles_lim<=2048" to "*range
maxfiles_lim<=60000".
- Save and close the file.
Because old values might
be stored in the
/var/sam/boot.config file, you must force the SAM
utility to create a new
boot.config file by performing the following
steps:
- Move the existing version of the /var/sam/boot.config file to
another location, such as the /tmp directory.
- Start the SAM utility.
- Select Kernel Configuration > Configurable Parameters. When the
Kernel Configuration window opens, a new boot.config file exists.
Alternatively, rebuild the
boot.config file with the
following command:
# /usr/sam/lbin/getkinfo -b
- Set the new kernel parameter values by doing the following:
- Start the SAM utility with the /usr/sbin/sam command.
- In the SAM utility, select Kernel Configuration > Configurable
Parameters.
- For each of the parameters in the following table, perform this
procedure:
- Highlight the parameter to change.
- Select Actions > Modify Configurable Parameter.
- Type the new value in the Formula/Value field.
- Select OK.
Change typical kernel settings for running WebSphere Process
Server in the order shown in
Table 1.
Table 1. Recommended kernel settings for WebSphere Process ServerParameter |
Value |
STRMSGSZ |
65535 |
dbc_max_pct |
25 |
maxdsiz |
805306358 (0x30000000) |
maxdsiz |
2048000000 (when running multiple
profiles on the same system) |
maxfiles_lim |
8196 (Change this one before maxfiles.) |
maxfiles |
8000 |
maxssiz |
8388608 |
maxswapchunks |
8192 |
maxusers |
512 |
nkthread |
7219 |
max_thread_proc |
3000 |
nproc |
4116 (Change this one before maxuprc.) |
maxuprc |
512 |
msgtql |
2046 |
msgmap |
2048 |
msgssz |
32 (Change this one before msgmax.) |
msgseg |
32767 (Change this one before msgmax.) |
msgmnb |
65535 (0x10000) (Change this one before msgmax.) |
msgmnb |
131070 (when running multiple profiles on the
same system) |
msgmax |
65535 (0x10000) |
msgmax |
131070 (when running multiple profiles
on the same system) |
msgmni |
50 |
nfile |
58145 |
nflocks |
3000 |
ninode |
60000 |
npty |
2024 |
nstrpty |
1024 |
nstrtel |
60 |
sema |
1 |
semaem |
16384 (0x4000) |
semmns |
16384 (0x4000) (Change this one before semmap.) |
semmni |
2048 (Change this one before semmap.) |
semmap |
514 |
semmnu |
1024 |
semume |
200 |
semvmx |
32767 |
shmem |
1 |
shmmax |
2147483647 (0x7FFFFFFF) |
shmmni |
1024 |
shmseg |
1024 |
When WebSphere Process Server and
IBM DB2 are on the same machine, some kernel values are higher than those
shown in Table 1.
See the recommended HP-UX kernel configuration
parameters for DB2 Universal Database, version 8.x, in the DB2 information
center: http://publib.boulder.ibm.com/infocenter/db2help/index.jsp.
- Select Actions > Process New Kernel.
- Select Yes on the information window to confirm your decision
to restart the machine.
Follow the on-screen instructions to
restart your machine and to enable the new settings.
- If you plan to redirect displays to non-HP machines, perform the
following steps before running the WebSphere Process Server Installation wizard:
- Issue the following command to obtain information on all the
public locales that are accessible to your application:
# locale -a
- Choose a value for your system from the output that is displayed
and set the LANG environment variable to this value. Here is an example command
that sets the value of LANG to en_US.iso88591:
# export LANG=en_US.iso88591
Last updated: Wed 01 Nov 2006 07:47:12
(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)