Kernel configuration

WebSphere® MQ uses semaphores, shared memory, and file descriptors, and it is probable that the default kernel configuration is not adequate.

Before installation, review the machine's configuration. To do this type the following commands as root:
modload -p sys/msgsys
modload -p sys/shmsys
modload -p sys/semsys
sysdef 
Compare the output with the values below.
Figure 1. Setting kernel parameter values on a Solaris system

Values for Solaris 9

  set shmsys:shminfo_shmmax=4294967295
  set semsys:seminfo_semmni=1024
  set semsys:seminfo_semaem=16384
  set semsys:seminfo_semvmx=32767
  set semsys:seminfo_semmns=16384
  set semsys:seminfo_semmsl=100
  set semsys:seminfo_semopm=100
  set semsys:seminfo_semmnu=16384
  set semsys:seminfo_semume=256

Start of changeAdditional values for Solaris 8End of change

  set shmsys:shminfo_shmseg=1024
  set semsys:seminfo_semmap=1026
To change the values, add a set parameter=value lines to the /etc/system file as shown above and reboot the system. For further information on setting up the system, see the Solaris Tunable Parameters Reference Manual for your release of Solaris.
Note:
  1. These values are suitable for running WebSphere MQ, other products on the system may require higher values.
  2. Do not change the value of shmmin from the system default value.
  3. Semaphore and swap usage does not vary significantly with message rate or persistence.
  4. WebSphere MQ queue managers are generally independent of each other. Therefore system kernel parameters, for example shmmni, semmni, semmns, and semmnu need to allow for the number of queue managers in the system.

System Resource Limits

Set the system resource limit for data segment and stack segment to unlimited using the following commands in a command prompt:
unlimit -d unlimited
unlimit -s unlimited