mirror of https://github.com/mkerrisk/man-pages
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:
parent
2d5cee6b4e
commit
81020547cb
|
@ -184,11 +184,20 @@ is 8192 bytes.
|
||||||
The minimum value is 128 (8192 in kernels before 2.6.28).
|
The minimum value is 128 (8192 in kernels before 2.6.28).
|
||||||
The upper limit for
|
The upper limit for
|
||||||
.I msgsize_max
|
.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 ;
|
.BR INT_MAX ;
|
||||||
that is, 2,147,483,647 on Linux/86).
|
(that is, 2,147,483,647 on Linux/86);
|
||||||
This limit is ignored for privileged processes
|
starting with Linux 2.6.38, the limit was 1,048,576;
|
||||||
.RB ( CAP_SYS_RESOURCE ).
|
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
|
.TP
|
||||||
.I /proc/sys/fs/mqueue/queues_max
|
.I /proc/sys/fs/mqueue/queues_max
|
||||||
This file can be used to view and change the system-wide limit on the
|
This file can be used to view and change the system-wide limit on the
|
||||||
|
|
Loading…
Reference in New Issue