Some Solaris kernel values are typically too small for
a WebSphere® ESB installation.
Learn how to set selected kernel parameters to higher values.
About this task
Use the following procedure to set kernel parameters.
Procedure
- If you are not already logged into the host workstation
as root, do so.
- Review the workstation configuration.
Do
this by entering the following command:
sysdef -i
- Set the kernel values. The kernel parameters
you must change and the way you do so differ depending on which version
on Solaris you have installed.
- If you have Solaris 9 installed, do the following:
- Edit the /etc/system file. Use the values shown in the
following example:
set shmsys:shminfo_shmmax = 4294967295
set shmsys:shminfo_shmseg = 1024
set shmsys:shminfo_shmmni = 1024
set semsys:seminfo_semaem = 16384
set semsys:seminfo_semmni = 1024
set semsys:seminfo_semmap = 1026
set semsys:seminfo_semmns = 16384
set semsys:seminfo_semmsl = 100
set semsys:seminfo_semopm = 100
set semsys:seminfo_semmnu = 2048
set semsys:seminfo_semume = 256
set msgsys:msginfo_msgmap = 1026
set msgsys:msginfo_msgmax = 65535
set rlim_fd_cur = 1024
- Reboot the operating system.
- If you have Solaris 10 installed, do the following:
- Alter the value of shmmax in the etc/project file
by using the projmod command, as follows:
# projmod -a -K "project.max-shm-memory=(priv,4G,deny)" default
- Reboot the operating system.
What to do next
For more information about setting up the Solaris system,
see the administration documentation on the Sun Web site at http://docs.sun.com.