I've done the usual edit of /etc/sysctl.conf to include the parameter, but it just tosses errors. I haven't had to tune a kernel in a very long time, what's different about it nowadays (or have I simply forgotten how)?

edit:

Added "kernel.semmni = 2048" to the tail of /etc/sysctl.conf and then ran "sysctl -p". End result is an unknown key error (apparently kernel.semmni isn't the valid name anymore?).

link|improve this question

79% accept rate
What hasn't changed is that you're unlikely to get helpful replies if you don't include the contents of the offending configuration file and the error messages in your question. – Gilles Sep 13 '10 at 19:50
I guess I can stick 'em in there if you think it's necessary, but what I'm really looking for is a "here's how it's done now" and I didn't want to contaminate that by having the old way and having a bunch of other old-timers say "yeah, that SHOULD work". :-) – Brian Knoblauch Sep 13 '10 at 19:55
OK, this doesn't work under Oracle Enterprise Linux either. There's got to be a way to change the number of system wide semaphores available, the default 128 is ridiculously low. Any more ideas? – Brian Knoblauch Sep 24 '10 at 13:04
feedback

2 Answers

You can see the list of valid sysctl params with sysctl -a. I'd run that, see if it's changed in your newer kernel

link|improve this answer
Helpful, I was completely overlooking that option. "semmni" is not a valid option on this kernel. Rather unfortunate, since the software I'm trying to install says that I need to bump it from 128 up to 2048... Argh. – Brian Knoblauch Sep 14 '10 at 15:00
feedback
up vote 0 down vote accepted

Finally got it. Desipite what everything I found on Google suggested, semaphores aren't individually settable, they're all bundled together under "kernel.sem". Added:

kernel.sem=250 32000 100 2048

to my /etc/sysctl.conf and I'm in business!

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.