3.56) How can I change the SYSV IPC parameters?

The following parameters can be used to change the number of semaphores, the amount of shared memory and the number of IPC messages. They're set in /etc/system, as usual.

set semsys:seminfo_semusz = <value>
set semsys:seminfo_semopm = <value>
set semsys:seminfo_semume = <value>
set semsys:seminfo_semaem = <value>
set semsys:seminfo_semmap = <value>
set semsys:seminfo_semvmx = <value>
set semsys:seminfo_semmsl = <value>
set semsys:seminfo_semmni = <value>
set semsys:seminfo_semmns = <value>
set semsys:seminfo_semmnu = <value>

set shmsys:shminfo_shmmin = <value>
set shmsys:shminfo_shmseg = <value>
set shmsys:shminfo_shmmax = <value>
set shmsys:shminfo_shmmni = <value>

set msgsys:msginfo_msgseg = <value>
set msgsys:msginfo_msgssz = <value>
set msgsys:msginfo_msgtql = <value>
set msgsys:msginfo_msgmap = <value>
set msgsys:msginfo_msgmax = <value>
set msgsys:msginfo_msgmnb = <value>
set msgsys:msginfo_msgmni = <value>

In Solaris 10 all of these tunables are gone; they have either been removed as non-sensical or they have been replaced with rctls. (And about time too!)

PREV INDEX NEXT