msgmni(5)msgmni(5)NAMEmsgmni - maximum number of system-wide System V IPC message queues
(IDs) allowed
VALUES
Default
Failsafe
Allowed Values
DESCRIPTION
The tunable specifies the maximum number of system-wide System V IPC
message queue identifiers (one per queue). Each message queue created
has an identifier (ID) and there is an upper limit of identifiers.
Applications use the system call to create new queues. If all IDs have
been used, will return
If a process acquires a message queue, but the process terminates with‐
out removing it, the queue and all its messages remain. Abandoned mes‐
sage queues can be removed with the command. Message queue status can
be monitored using the command.
For more information about System V message queues, refer to the sec‐
tion of the mesg(5) manpage.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
This tunable is dynamic. Changes to to this tunable take effect imme‐
diately.
When Should the Value of This Tunable Be Raised?
Raise this tunable when applications require more queues.
When Should the Value of This Tunable Be Lowered?
Lower this tunable when the requirement for queues has diminished.
What are the Side Effects of Lowering the Value?
Lowering the value increases the risk of application failure due to the
inability to create more message queues. Lowering the tunable has no
effect on any active message queues, even if the new tunable value is
less than the number of queues created in the system. However, no new
queues may be created until the number of active queues falls below the
setting of
What Other Tunable Values Should Be Changed at the Same Time?
All the System V message queue tunables are interrelated and should be
treated as independent variables. The set must be evaluated as a sys‐
tem to ensure the tunables reflect the application requirements. The
message tunables include and Specifically, and tunables may need
adjustment along with changes to the tunable.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parame‐
ter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may
cause changes to tunable parameter values. After installation, some
tunable parameters may no longer be at the default or recommended val‐
ues. For information about the effects of installation on tunable val‐
ues, consult the documentation for the kernel software being installed.
For information about optional kernel software that was factory
installed on your system, see at
AUTHOR
was developed by AT&T.
SEE ALSOipcrm(1), ipcs(1), msgget(2), mesg(5), msgmnb(5), msgtql(5), msgmbs(5).
Tunable Kernel Parameters msgmni(5)