msgget.2: Add details of MSGMNI default value

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-29 12:18:53 +01:00
parent faeaa68cca
commit a75f73c22a
1 changed files with 8 additions and 4 deletions

View File

@ -210,10 +210,14 @@ The following is a system limit on message queue resources affecting a
call:
.TP
.B MSGMNI
System-wide limit on the number of message queues: policy
dependent
(on Linux, this limit can be read and modified via
.IR /proc/sys/kernel/msgmni ).
System-wide limit on the number of message queues.
Before Linux 3.19,
.\" commit 0050ee059f7fc86b1df2527aaa14ed5dc72f9973
the default value for this limit was calculated using a formula
based on available system memory.
Since Linux 3.19, the default value is 32,000.
On Linux, this limit can be read and modified via
.IR /proc/sys/kernel/msgmni .
.SS Linux notes
Until version 2.3.20, Linux would return
.B EIDRM