Solaris Inter-Process Communication (IPC) Question:
Download Questions PDF

Explain shmmni (max-shm-ids in Solaris 10+)?

Answer:

Maximum number of shared memory identifiers at any given time. This parameter is used by kernel memory allocation to determine how much size to put aside for shmid_ds structures. Each of these is 112 bytes and requires an additional 8 bytes for a mutex lock; if it is set too high, memory useage can be a problem. The maximum setting for this variable in Solaris 2.5.1 and 2.6 is 2147483648 (2GB), and the default is 100. For Solaris 10, the default is 128 and the maximum is MAXINT.

Download Solaris IPC Interview Questions And Answers PDF

Previous QuestionNext Question
What is shmmin?What is shmseg?