Solaris 5.10 IPC settings

From VVCWiki
Revision as of 14:32, 5 April 2010 by Vvc (talk | contribs) (added slashes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
  • 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
  • project.max-shm-memory: Maximum allowable shared memory segment size. Replaces shmmax
  • project.max-shm-ids: Maximum allowable number of shared memory segments. Replaces shmmni


 
prctl -n project.max-sem-ids $$
prctl -n process.max-sem-nsems $$
prctl -n process.max-sem-ops $$

Recommended Settings for IBM MQ Series users

projadd -c "WebSphere MQ default settings" \
  -K "process.max-file-descriptor=(basic,10000,deny)" \
  -K "project.max-shm-memory=(priv,8GB,deny)" \
  -K "project.max-shm-ids=(priv,1024,deny)" \
  -K "process.max-sem-nsems=(priv,4096,deny)" \
  -K "process.max-sem-ops=(priv,4096,deny)" \
  -K "project.max-sem-ids=(priv,1024,deny)" mqm

usermod -K project=mqm username