Salesforce

How can I set SHMMAX SHMMNI SEMSML SEMMNI SEMOPM on Solaris 10 ?

« Go Back

Information

 
TitleHow can I set SHMMAX SHMMNI SEMSML SEMMNI SEMOPM on Solaris 10 ?
URL NameP121737
Article Number000148057
EnvironmentProduct: Progress
Version: 9.1E
Product: OpenEdge
Version: 10.x,11.x
OS: Sun Solaris SPARC 10
Other: RDBMS
Question/Problem Description
Where can I find SHMMAX SHMMNI kernel parameters on Solaris 10?
How can I set SHMMAX SHMMNI SEMSML SEMMNI SEMOPM on Solaris 10?
Where can I set SEMSML SEMMNI SEMOPM kernel parametes on Solaris 10?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution

On Solaris 10:

- project.max-sem-ids (Maximum semaphore IDs for a project) replaces SEMMNI
- process.max-sem-nsems (Maximum number of semaphores allowed per semaphore set) replaces SEMMSL
- process.max-sem-ops (Maximum number of semaphore operations allowed per semop) replaces SEMOPM

Solaris 10 only uses the SEMMNI (max-sem-ids), SEMMSL (mx-sem-nsems) and SEMOPM (max-sem-ops) parameters as other parameters are dynamic within the Solaris 10 IPC model.

- project.max-shm-ids (Maximum shared memory IDs for a project) replaces SHMMNI
- project.max-shm-memory (Total amount of shared memory allowed for a project) replaces SHMMAX

In order to change the parameters for the particular user, first we need to identify, what project is the user member of:

1) log to the Solaris box as user you want to use to start database(s) with

2) "id -p"
uid=1057(user name) gid=300(support) projid=3(default)

3) log in as a root and use following commands to change the parameter (example:)

projmod -s -K 'process.max-sem-nsems=(privileged,1024,deny)' default
projmod -s -K 'project.max-sem-ids=(privileged,1024,deny)' default

4) RE-LOGIN the user from step 1) and run "prctl $$" in order to verify the settings, rebooting of the box is not required.

Workaround
Notes
For more information, check http://www.princeton.edu/~unix/Solaris/troubleshoot/resmgmt.html (a copy of the page is attached to this article)
Keyword Phrase
Last Modified Date9/13/2015 5:01 AM

Powered by