HOW TO SET Linux kernel settings :SEMAPHORE -SHAREDMEMORY
Posted in 2000
Topics: Server Administration, Platform-Specific Issues
"Laurent REVEL" <lrevel@reef.com> wrote: > SO MY QUESTIONS ARE : > 1-Do we only have to run : echo 33554432 > /proc/sys/kernel/shmmax > and restart the Linux That will work; I usually like double quotes around the number. As far as I know, you don't even have to restart Linux. > 2-Or Do we have to rebuild the Kernel ?? No. > 3-What command must be ran to set SEMAPHORE ( SEMMNI ) ??? I don't know. I've tried cruising the Net, looking for documentation of the Linux /proc system, and I haven't found anything systematic. I use Caldera Linux and their documentation is nominal. Isn't it fun using an undocumented operating system?
Like I set up a New INFORMIX.2000 9.20.UC1 on Linux MANDRAKE 7.1 I can not find any infos to know how to set up all the Informix recommandations ( for Shared Memory -- Semaphore .. ) Like the Releases Notes Mentions it ( IDS_9.2 file ) Informix Dynamic Server Shared Memory Parameters and Kernel Parameters: ============================================================================== Kernel Parameters: ======================================================================= SHMMAX: 33554432 SHMMIN: 1 SHMMNI: 128 SHMSEG: 128 SEMMNI: 128 SEMMNS: 4096 SEMMNU: 4096 SEMUME: 32 SEMMSL: 32 SEMMAP: 4096 I see some contribution on comp.database.informix giving the commadn : SO MY QUESTIONS ARE : 1-Do we only have to run : echo 33554432 > /proc/sys/kernel/shmmax and restart the Linux 2-Or Do we have to rebuild the Kernel ?? 3-What command must be ran to set SEMAPHORE ( SEMMNI ) ??? THANKS for any informations. ----- REVEL Laurent / DBA Engineer ----- REEF - 116, rue du Faubourg St Martin - 75010 PARIS Office Tel: 33 (0)1-55-26-53-53 and ask : 5404