[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]
>Could someone tell me how to increase the number of semaphores and shared-
>memory segments?
>I tried putting the following in the /etc/system file and rebooting, but it
>didn't seem to help. Could the "#" be a problem?
># set SHMSEG=15
Well, this syntax is totally bogus; the # would seem to indicate a
comment (but /etc/system uses *)
Here's the correct syntax.
The solaris FAQ says:
3.52) 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>
--- end of excerpt from the FAQ
Questions marked with a * or + have been changed or added since
the FAQ was last posted
The most recently posted version of the FAQ is available from
<http://www.wins.uva.nl/pub/solaris/solaris2/>
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.