SUMMARY: semaphore and shared memory

From: Vincent Shan (vshan@sprint.net)
Date: Mon Jan 06 1997 - 10:18:52 CST


Thanks for all who have responded to my question. Part of the answer is
in Solaris2 FAQ. However, one has to make sure to use "set" to set the desired
values in /etc/system. My problem was caused by default values (0 for all
semaphore and shared memory variables). The responses from

Glenn Satchell <Glenn.Satchell@uniq.com.au>
Casper Dik <casper@holland.Sun.COM>
Jos Speck <Jos.Speck@asml.nl>
Jeff Wasilko <jeffw@smoe.org>
"K.Ravi" <RAVKRISH.IN.ORACLE.COM.ofcmail@in.oracle.com>
Russell David <russell@mds.lmco.com>
Alex Finkel <afinkel@pfn.com>
Sydney Weinstein <syd@myxa.com>
Johnie Stafford <js@cctechnol.com>
Trevor Paquette <tpaquett@aec.ca>
Garry Robbins <Garry.Robbins@labatt.com>
 
are sumarized below:

1. set the values to your preferred settings

set shmsys:shminfo_shmmax=51200000
set shmsys:shminfo_shmmni=512
set shmsys:shminfo_shmseg=150
set semsys:seminfo_semmap=350
set semsys:seminfo_semmni=350
set semsys:seminfo_semmns=1000
set semsys:seminfo_semmnu=700
set semsys:seminfo_semume=100

2. The modules will not be loaded until referenced. You can
   force it to load by "modload" command or put the following
   in /etc/system and reboot.

forceload: sys/msgsys
forceload: sys/semsys
forceload: sys/shmsys

--
Vincent Shan                        Sprint Internet Services
Sr. Network Technical Engineer      Mailstop: VAHRNA0402
Phone: 703-904-2084                 13221 Woodland Park Road
Fax:   703-904-2292                 Herndon, VA 22071



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:42 CDT