Carrying Case Owner's Manual
TimesTen Installation 31
ryps3# modload /kernel/sys/semsys
ryps3# modload /kernel/sys/shmsys
Increase
number of
semaphores
For Solaris 10 systems, the default semaphore settings should be 
sufficient without entries in
 /etc/system.
On other Solaris systems, you may need to increase the number of 
semaphores. TimesTen consumes 1 SEMMNI per active data store, plus 
one additional SEMMNI per TimesTen instance where Client/Server 
communication is done through shared memory.
For each data store, TimesTen consumes 100 SEMMSL if the 
Connections attribute is set to the default value (64), and one additional 
SEMMSL for each estimated connection above the default. We 
recommend that you increase the number of semaphores:
1. Log in as user 
root.
2. Set or add the following lines to 
/etc/system: 
set semsys:seminfo_semmni = 20
set semsys:seminfo_semmsl = 512
set semsys:seminfo_semmns = 2000
set semsys:seminfo_semmnu = 2000
Note: The values in this step are the minimum number of required 
semaphores. You can increase these numbers as needed. You can use the 
following formula as a guide, although in practice, SEMMNS and 
SEMMNU can be much less than SEMMNI * SEMMSL because not 
every program in the system needs semaphores.
SEMMNS=SEMMNU = (SEMMNI * SEMMSL).
3. Reboot your system.
4. To view the current limits, use:
% /usr/sbin/sysdef
This command displays the limits for SEMMSL, SEMMNS, SEMOPM, 
and SEMMNI, respectively.
SEMOPM is the maximum number of operations per semop call. It does 
not need to be reset.
Shared
memory IPC
client
connections
On Solaris, to have more than 6 ShmIpc-enabled Client DSN 
connections per process, you must make changes to the SHMSEG 
kernel parameter.
To access more than 6 data stores, you must make changes to the 
SHMSEG
 kernel parameter. For example, to allow a single process to 










