mq_overview.7: Document /proc/sys/fs/mqueue/msgsize_default

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-03-17 15:34:49 +01:00
parent 8ebedd6c29
commit 247d9cfdcf
1 changed files with 27 additions and 0 deletions

View File

@ -198,6 +198,33 @@ since Linux 3.5,
.\" commit 5b5c4d1a1440e94994c73dddbad7be0676cd8b9a
it is 65,536.
.TP
.IR /proc/sys/fs/mqueue/msgsize_default " (since Linux 3.5)"
This file defines the value used for a new queue's
.I mq_msgsize
setting when the queue is created with a call to
.BR mq_open (3)
where
.I attr
is specified as NULL.
The default value for this file is 8192.
The minimum and maximum are as for
.IR /proc/sys/fs/mqueue/msgsize_max .
If
.IR msgsize_default
exceeds
.IR msgsize_max ,
a new queue's default
.I mq_msgsize
value is capped to the
.I msgsize_max
limit.
Up until Linux 2.6.28, the default
.I mq_msgsize
was 8192;
from Linux 2.6.28 to Linux 3.4, the default was the value defined for the
.I msgsize_max
limit.
.TP
.I /proc/sys/fs/mqueue/msgsize_max
This file can be used to view and change the ceiling on the
maximum message size.