Kernel parameters on Solaris 10

On Oracle Solaris 10, all System V IPC facilities are either automatically configured or can be controlled by resource controls.

The following kernel parameters are removed or commented out from /etc/system.

semsys:seminfo_semmap
semsys:seminfo_semmns
semsys:seminfo_semmnu
semsys:seminfo_semume
shmsys:shminfo_shmmin
shmsys:shminfo_shmseg

The following obsolete IPC tunables are replaced by their resource controls with the new default values:

semsys:seminfo_semmsl
semsys:seminfo_semmni
shmsys:shminfo_shmmax
shmsys:shminfo_shmmni

The default value for the resource control names related to above four IPC tunables on Solaris 10 are:

process.max-sem-nsems     512
project.max-sem-ids       128
project.max-shm-memory    1/4 of physical memory
project.max-shm-ids       128

The project.max-shm-memory resource control limits the total amount of shared memory of one project. Previously, the shmsys:shminfo_shmmax parameter limited the size of a single shared memory segment.

On systems that have zones enabled, zone-wide resource controls are specified in the zone configuration. See the rctladm(1m) man page for more information about available resource controls.

If you have problems creating and starting multiple Informix® servers on the same Solaris 10 host and you receive share memory create errors, try adjusting default project value of the project.max-shm-memory kernel parameter.


Feedback