Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

SEMMNS

SlopeZ
Frequent Advisor

SEMMNS

Hi all,

i found in a BEA TUxedo documentatión de Kernel parameter SEMMNS: maximum system semaphores for TRU64 but i can't find this parameter on my system Kernel.

Can anyone explain me what it's and where i can find it?

What it's the difference with SEMMNI and SEMMSL?

Thanks in advance!

Regards,
Saints
7 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: SEMMNS

Hi,

you find them with
sysconfig -q ipc
see man sys_attr_ipc

greetings,

Michael
sem_mni
Maximum number of System V semaphores that can be used on the system at
one time.

Default value: 10 (semaphores) (The system rounds the number to the
value associated with the next higher power of two; for example, 16.)

Minimum value: 0

Maximum value: INT_MAX

sem_msl
Maximum number of System V semaphores that can be used by a single pro-
cess at one time.

Default value: 25 (semaphores)

Minimum value: 0

Maximum value: INT_MAX
Hein van den Heuvel
Honored Contributor

Re: SEMMNS

I'm sure you already saw how to read the current semaphore configuration:

sysconfig -q ipc (or -Q ipc)


You can find parameter explanation in

man sys_attrs_ipc

sem_mni
"Maximum number of System V semaphores that can be used on the system at one time."

sem_msl
"Maximum number of System V semaphores that can be used by a single process at one time."



hth,
Hein.

Hein van den Heuvel
Honored Contributor

Re: SEMMNS

Ooops, reply collision. Exact same answer from two different continents. Grins,
Hein.
Michael Schulte zur Sur
Honored Contributor

Re: SEMMNS

Hein,

can happen :-)
Sometimes I do research am happy I found something post it and discover that someone else had the same idea.
I saw now that I missed an s in the man command, it is sys_attrs_ipc

greetings,

Michael

SlopeZ
Frequent Advisor

Re: SEMMNS

Hi all,

Michael this is the right way to find de MEMNS, sysconfig -q ipc but there is no reference to this parameter.

I've checked on 3 machines and no one has the parameter..

About semmni and semmsl i have all the information now. Thanks.

Regards.
Saints.
Michael Schulte zur Sur
Honored Contributor

Re: SEMMNS

Hi,

check on these two links:
http://e-docs.bea.com/tuxedo/tux71/html/inspds3.htm
http://e-docs.bea.com/tuxedo/tux80/install/inspds.htm
depending on your os release. I could find no reference to your parameter. I assume it to be a typoe and it actually refers to num_of_sems, which is obsoleted somewhere in 5.x

greetings,

Michael
SlopeZ
Frequent Advisor

Re: SEMMNS

thanks to all.