How to change shared memory and semaphore config on RHL9?
I am installing Oracle Applications 11.5.8 on RHL9 (which uses Oracle 8.1.7.4). Although I have experience with other flavors of UNIX I am new to Linux. To set shared memory and semaphore kernel parameters on other flavors of UNIX such as Sun Solaris you edit /etc/system and reboot. How do you do this on RH Linux?
I found a reference to /etc/sysctl.conf and changed the value of “kernel.shmmax” to the desired value and ran “/sbin/sysctl –p” which seems to have worked. Was this the correct way to set shared memory values? I tried adding “kernel.semopm = 100” but it returned an error when I ran “/sbin/sysctl –p” after making that change. From this I can only assume there is a different process for setting semaphore values??? Any help would be greatly appreciated. |
Thanks but, forget about it. I found the answer which is:
To set semaphore values in RHL (appears to be all versions of RHL, not just 9 although not 100% sure on that) you change /etc/sysctl.conf just like you do for shared memory values. The format is: kernel.sem = <SEMMSL> <SEMMNS> <SEMOPM> <SEMMNI> You can then either reboot OR execute "/sbin/sysctl -p". Executing "/sbin/sysctl -a" will list all parameters that can be set in /etc/sysctl.conf and the current values set for those paramaters. Thanks, Sean |
All times are GMT -5. The time now is 10:52 AM. |