From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079034715772.tru64-unix-managers.marc@archive.invalid> From: smcfa () hcia ! com Date: Fri, 22 Jan 1999 18:01:37 +0000 To: tru64-unix-managers Subject: SUMMARY: How can I increase the max # of semaphores per id? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079034715772 Thanks for the quick responses to my original question: Dale Inman Keith Strange Alan Davis Laurent Deniel All said that the /etc/sysconfig file contains those relevant ipc parameters. I could either update the file with vi (after backing it up), or use the sysconfigdb command to update those relevant parameters. All also said to check out the man pages for sysconfig, sysconfigtab, and sysconfigdb or the tuning manual. A reboot would be need to have the new settings take effect. Michael Watson said that they were running Ingres, and that they had added lines into the /sys/conf/'MACHINENAME' configuration file. I agree that we also UNFORTUNATELY run Ingres as well, but only version 6.4/06 (there is a fear of too much work to upgrade to OpenIngres 2.x). Thanks again for the quick responses. Original question: Managers, I just upgraded a DEC 3000/600 to DU4.0d from DU4.0b (including patch kit #2). However, now when the Ingres database attempts to start it fails with not enough semaphores per id. This system does not have a graphics monitor, so I am not running CDE. If I was I know I could go through the system admin utilities to update this semmsl parameter. How can I increase this parameter without CDE? Please e-mail me at smcfa@hcia.com with any suggestions. Thanks in advance, - SDM Complete responses: 1) look in /etc/sysconfigtab look at the man pages for sysconfig and sysconfigtab. sysconfig -Q ipc will give you all the different parameters and their min max values sysconfig -q ipc will give you the present values. WARNING: Make a copy of the sysconfigtab before you modify it. A reboot is required to pickup the new parameters. Good Luck Dale Inman UNIX Systems Mgr Aladdin Industries LLC Nashville TN USA 2) vi the /etc/sysconfigtab, all settings are at the bottom semmsl= ??? Keith Strange 3) You may use the sysconfigdb command to modify the /etc/ sysconfigtab file. See the man page for sysconfig, sysconfigdb, sysconfigtab, and the system tuning manual. Alternatively, you may manually edit the sysconfigtab file using any text editor. Manual edits should be checked carefully and keep a backup copy of the unmodified file to fall back on. Alan Davis Digital Unix Consultant 4) In /etc/sysconfigtab: ipc: sem-msl= Then reboot -- Laurent DENIEL | Email: deniel@worldnet.fr Thomson-CSF - AIRSYS ATM | Laurent.Deniel@fr.airsysatm.thomson-csf.com Paris, FRANCE | WWW : http://www.worldnet.fr/~deniel 5) We run Ingres (unfortunately) here, and we always vi the config file in /sys/conf/'MACHINENAME'. In order to get Ingres to run (we're using OpenIngres 2.0, but have run 6.4), we add the following parameters to the file, in the same area as 'maxusers': semmni 100 semmns 1000 semmsl 50 semopm 10 semume 10 semvmx 32767 semaem 16384 shmmax 447152128 shmmin 1 shmmni 100 shmseg 10 You may want to look at your tuning book to decipher what these do, as (for example) shmmax may be much larger than your needs dictate. Hope this helps. =================================================== Michael Watson Unix Systems Administrator U.S. Coast Guard Aircraft Repair and Support Center CGAS Elizabeth City, NC 252.334.5269 n6wav@yahoo.com mjwatson@livenet.net ===================================================