Consultor Eletrônico



Kbase P4027: How to tune semaphore and/or shared-memory kernel settings on Solaris 9 and earlier ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

GOAL:

How to find and change Solaris 9 kernel parameters ?

GOAL:

How to tune semaphore kernel settings on Solaris 9 ?

GOAL:

How to tune shared memory kernel settings on Solaris 9 ?

GOAL:

How to tune semaphore kernel settings on Solaris 9 ?

FACT(s) (Environment):

Solaris SPARC 2.6 32-bit
Solaris SPARC 7
Solaris SPARC 8
Solaris SPARC 9

FIX:

In order to modify semaphore and/or shared-memory kernel settings on Solaris, please edit /etc/system file.

WARNING: Since changing these values involves modifying an important system file, the recommendation should be directed at System Administrators instead of the end-users, because if a modification is incorrect, this could cause the system to be unbootable.

Before changing these values, first make a backup copy of the /etc/system file. After your modifications are complete, the reboot of the box is needed in order to populate new kernel settings.

Example of settings in /etc/system file:

set semsys:seminfo_semmap=100
set semsys:seminfo_semmni=300
set semsys:seminfo_semmns=10000
set semsys:seminfo_semmnu=5000
set semsys:seminfo_semmsl=500
set shmsys:shminfo_shmmax=98304000
set shmsys:shminfo_shmmni=1200
set shmsys:shminfo_shmseg=80
set shmsys:shminfo_shmmin=1