Linux - How to set semaphore values settings , Increse the semaphores
How to set semaphore values settings
To increase or set the semaphores follow the bellow steps.To list the semaphores use the command ipcs
[localhost/]# ipcs -ls ------ Semaphore Limits -------- max number of arrays = 128 max semaphores per array = 250 max semaphores system wide = 32000 max ops per semop call = 32 semaphore max value = 32767
To change semaphore setting use the below commands
# vi /etc/sysctl.confAdd the below line into the file /etc/sysctl.conf
kernel.sem = 250 256000 32 1024
The below command will make the semaphore setting permanently to take effect without rebooting the machine.
# sysctl -p
[localhost/]# ipcs -ls ------ Semaphore Limits -------- max number of arrays = 1024 max semaphores per array = 250 max semaphores system wide = 256000 max ops per semop call = 32 semaphore max value = 32767
The topic on Linux - How to set semaphore values settings is posted by - Math
Hope you have enjoyed, Linux - How to set semaphore values settings Thanks for your time