Friday 3 August 2012

oldie but a goodie… semmni & semmns

Ahh, that old chestnut coming up in the jdenet logs when starting a new copy of JDE on a linux box.  I know, I probably did not follow all of the guide exactly and that is why I’m getting this come up.  Why doesn’t the installer fix this for me?  That is what I want to know.  Why does it not warn me…  Oh well…

to find what the kernel parameters are set to:

[root@E1ENT ~]# sysctl -a |grep sem
kernel.sem = 250       32000   100     128

vi /etc/sysctl.conf

find the line kernel.sem=

# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 1073741824
fs.file-max = 327679
kernel.msgmni = 2878
kernel.sem = 250 32000 100 142
kernel.shmmni = 4096
net.core.rmem_default = 262144

Add 1000 to the value, or set is to 1024 – like the guide says… 

kernel.sem = 1250 32000 100 142

save and exit

As root of course (all of this) sysctl –p to change all of the current values

then sysctl –a |grep sem to bask in the glory of your new values!

No comments: