Additional settings for installing on HP-UX
Before you install IBM® WebSphere® MQ on an HP-UX system, you must check that the kernel is configured correctly.
Kernel configuration
It is possible that the default kernel configuration is not adequate because IBM WebSphere MQ uses semaphores and shared memory.
Before installation, review the configuration of the machine and increase the values if necessary. Consider using the values of the tunable kernel parameters given in Figure 1. These values might need to be increased if you obtain any First Failure Support Technology ( FFST) records.
- Semaphore and swap usage do not vary significantly with message rate or message persistence.
-
WebSphere MQ queue managers are independent
of each other. Therefore system tunable kernel parameters, for example
shmmni
,semmni
,semmns
, andsemmnu
need to allow for the number of queue managers in the system.
You must restart the system after you change any of the tunable kernel parameters.
System resource limits
You can set global limits for the size of process data segments and the size of process stack segments for the whole system. These limits are set by altering the tunable kernel parameters.Parameter | What it controls | Consider minimum value |
---|---|---|
maxdsiz | Maximum size of the data segment for 32-bit processes | 1073741824 |
maxdsiz_64bit | Maximum size of the data segment for 64-bit processes | 1073741824 |
maxssiz | Maximum size of the stack segment for 32-bit processes | 8388608 |
maxssiz_64bit | Maximum size of the stack segment for 64-bit processes | 8388608 |
For the full documentation for these parameters see the HP-UX product documentation.
- Select and alter the parameters
- Process the new kernel
- Apply the changes and restart the system
The ulimit shell command
Switch | Meaning |
---|---|
-H | The hard limit |
-S | The soft limit |
-d | The data segments size |
-s | The stack segment size |
Verifying that the kernel settings are applied
ulimit -Ha
ulimit -Sa
Among the console output you can see:
data(kbytes) 1048576
stack(kbytes) 8192
If lower numbers are returned, then
a ulimit command has been issued in the current
shell to lower the limits. Consult with your system administrator
to resolve the issue.For more information on configuring your system, see How to configure UNIX and Linux® systems for WebSphere MQ.