1833131 Members
3634 Online
110051 Solutions
New Discussion

sem* parameters.

 
SOLVED
Go to solution
Hell.Leader
Occasional Advisor

sem* parameters.

What's stand for "semmni,semmnu,semmns,semume,semvmx" kernel parameters?
HPcert
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: sem* parameters.

That is short for 'semaphore'. Specifically 'P' and 'V' semaphores that are used for process synchronization. The underlying principle is that the operations must be atomic. That is a request to lock a semaphore must also be able to lock the semaphore if it is free in one operation.

You can use, ipcs -sa command to look at current semaphores.

Clay
If it ain't broke, I can fix that.
Michael Tully
Honored Contributor

Re: sem* parameters.

Hi,

*sem* stands for semaphores. You can see the meaning of these in /var/sam/boot.config.

To view the active ones, have a look at 'ipcs -s'

HTH
-Michael
Anyone for a Mutiny ?
James R. Ferguson
Acclaimed Contributor

Re: sem* parameters.

Hi:

You may find some more information here (including the internal links to the individual kernel parameters):

http://docs.hp.com/hpux/onlinedocs/os/KCparam.SemaParmsOverview.html

Regards!

...JRF...


Uday_S_Ankolekar
Honored Contributor

Re: sem* parameters.

Hi,

These are semaphores. Some of the useful ipcs and ipcrm

ipcs -moba gives more details about shared memory
man ipcs for more information

The link James mentioned give you more details on semaphore settings
-USA..
Good Luck..
Sanjay_6
Honored Contributor

Re: sem* parameters.

Hi,

Take a look at the thread below for info on the kernel parameters,

http://docs.hp.com//hpux/onlinedocs/os/11i/kcparams/KCparams.OverviewAll.html

Hope this helps.

Regds
Mary Ann Lipa
Valued Contributor
Solution

Re: sem* parameters.

These are Configurable IPC-Semaphore Parameters

The following eight kernel parameters control System V IPC semaphore operating limits:

sema
(Series 700 only). Enable or disable IPC semaphores at system boot time.

semaem
Maximum value by which a semaphore can be changed in a semaphore "undo" operation.

semmap
Size of free-semaphores resource map for allocating requested sets of semaphores.

semmni
Maximum number of sets of IPC semaphores allowed on the system at any given time.

semmns
Total system-wide number of individual IPC semaphores available to system users.

semmnu
Maximum number processes that can have undo operations pending on any given IPC semaphore on the system.

semume
Maximum number of IPC semaphores that a given process can have undo operations pending on.

semvmx
Maximum value any given IPC semaphore is allowed to reach (prevents undetected overflow conditions).

For reference you can check it out at:
http://docs.hp.com/hpux/onlinedocs/os/KCparam.SemaphoreParamsList.html
Which is worse, smoking or picking your nose in a public place?