1832212 Members
2437 Online
110041 Solutions
New Discussion

Re: About the semaphores

 
SOLVED
Go to solution
peterchu
Super Advisor

About the semaphores

How do I know the the existing SEMMSL and SEMMNS setting in my RH system ? thx
3 REPLIES 3
Ivajlo Yanakiev
Respected Contributor
Solution

Re: About the semaphores

Huc_1
Honored Contributor

Re: About the semaphores

To change it on the active kernel

$ echo 'your value' >/proc/sys/kernel/shmall
$ echo 'your value' >/proc/sys/kernel/shmmax

To change it so it survives the next reboot edit /etc/sysctl.conf and modify the following

kernel.shmall = 'your value'
kernel.shmmax = 'your value'

Hope this helps.

Jean-Pierre
Smile I will feel the difference
NiCK_76
Respected Contributor

Re: About the semaphores

use "sysctl kernel.shmall" to view value of shmall
and use
"sysctl -w kernel.shmall=111111" to set value of shmall
just for fun