mq_overview.7: Update details on defaults and ceiling for 'msgsize_max' limit

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-03-17 15:10:43 +01:00
parent 2d5cee6b4e
commit 81020547cb
1 changed files with 13 additions and 4 deletions

View File

@ -184,11 +184,20 @@ is 8192 bytes.
The minimum value is 128 (8192 in kernels before 2.6.28).
The upper limit for
.I msgsize_max
is 1,048,576 (in kernels before 2.6.28, the upper limit was
has varied across kernel versions:
before Linux 2.6.28, the upper limit was
.BR INT_MAX ;
that is, 2,147,483,647 on Linux/86).
This limit is ignored for privileged processes
.RB ( CAP_SYS_RESOURCE ).
(that is, 2,147,483,647 on Linux/86);
starting with Linux 2.6.38, the limit was 1,048,576;
since Linux 3.5, the limit is 16,777,216
.RB ( HARD_MSGSIZEMAX ).
The
.I msgsize_max
limit is ignored for privileged process
.RB ( CAP_SYS_RESOURCE ),
but, since Linux 3.5, the
.BR HARD_MSGSIZEMAX
ceiling is enforced for privileged processes.
.TP
.I /proc/sys/fs/mqueue/queues_max
This file can be used to view and change the system-wide limit on the