Mohr James wrote:
We have an application where the vendor says we need to increase the number of available semaphores. As far as I know, I could change the value /usr/src/linux/include/linux/tasks.h and then relink the kernel. However, I have seen things that indicate I *could* change them directly by changing the value of /proc/sys/kernel/shmmni. Granted this would need to be done everytime the system boots, but I see there are already a number of place in the rc-scripts that do just that.
So, the question is whether changing the /proc file is a legitimate way of increasing semaphores or is there a better way?
That's IMO exactly the way SuSE is using for Oracle Support. The orarun.rpm from SuSE just puts the values into /proc/... Perhaps you could put that in /etc/init.d/boot.local, so that it is executed during system boot? Andreas