msgmnb

msgmnb specifies the maximum total size, in bytes, of all messages that can be queued simultaneously on a message queue.

Acceptable Values:

Minimum
0
Maximum
65535 bytes
Default
16384 bytes

Specify integer value. For more information, see Specifying Parameter Values.

Description

msgmnb specifies the maximum total combined size, in bytes, of all messages queued in a given message queue at any one time.

Any msgsnd() system call that attempts to exceed this limit returns the error:

EAGAIN
If IPC_NOWAIT is set.

EINTR
If IPC_NOWAIT is not set.

Related Parameters

Additional Information