Changes between Initial Version and Version 1 of Increasing_the_number_of_Shared_Memory_Rings_under_Solaris


Ignore:
Timestamp:
01/19/12 16:14:14 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Increasing_the_number_of_Shared_Memory_Rings_under_Solaris

    v1 v1  
     1{{{ 
     2April 16,2002 
     3 
     4SOLARIS: INCREASING THE NUMBER OF SHARED MEMORY RINGS 
     5Under Solaris 2.6 (and probably other versions as well), the maximum number  
     6of shared memory segments is six. This means that on an out-of-the-box machine 
     7you can only configure six rings. If you try to configure more than that, you 
     8will see a cryptic message from tport_create about too many open files.  The 
     9fix to this problem is to add the following lines to the /etc/system 
     10file, and then reboot the system. 
     11 
     12 set shmsys:shminfo_shmmax = 4294967295 
     13 set shmsys:shminfo_shmmin = 1 
     14 set shmsys:shminfo_shmmni = 100 
     15 set shmsys:shminfo_shmseg = 20 
     16 set semsys:seminfo_semmns = 200 
     17 set semsys:seminfo_semmni = 70 
     18 
     19This allows for 20 rings. 
     20}}}