Operating System - HP-UX
1829617 Members
2238 Online
109992 Solutions
New Discussion

maximum number of semaphores

 
SOLVED
Go to solution
robert nation
New Member

maximum number of semaphores

Hello,

we are trying to combine two applications, but have hit
a system-wide limit on the number of semaphores (as shown with command ipcs -s), that is causing trouble.

The system limit appears to be 64 semaphores, but we need about 70 total.

Is there a way to change the limit?

Robert Nation
robert.j.nation@lmco.com
BAE SYSTEMS
2 REPLIES 2
Rita C Workman
Honored Contributor

Re: maximum number of semaphores

Semaphores are set by kernel parms (semm*). Here's a thread that should help explain to you the basics on how to calculate and set these,

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x10ca6af52b04d5118fef0090279cd0f9,00.html

/rcw
James A. Donovan
Honored Contributor
Solution

Re: maximum number of semaphores

There are several parameters which control semaphores. You can use the SAM utility to adjust them to your needs. To increase the maximum number of semaphores the parameter you need to adjust is: semmni. You'll probably find that you'll want/need to increase other parameters as well.
Remember, wherever you go, there you are...