mirror of https://github.com/mkerrisk/man-pages
mq_overview.7: Update queues_max details for Linux 3.14
And in general rework the text a little. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
82f92a9e7c
commit
1052e1fbcc
|
@ -265,18 +265,36 @@ number of message queues that can be created.
|
||||||
The default value for
|
The default value for
|
||||||
.I queues_max
|
.I queues_max
|
||||||
is 256.
|
is 256.
|
||||||
|
The semantics of this limit have changed across kernel versions as follows:
|
||||||
|
.RS
|
||||||
|
.IP * 3
|
||||||
Before Linux 3.5,
|
Before Linux 3.5,
|
||||||
this limit could be changed to any value in the range 0 to
|
this limit could be changed to any value in the range 0 to
|
||||||
.RB INT_MAX ;
|
.RB INT_MAX ,
|
||||||
since Linux 3.5, the ceiling for this limit is 1024
|
but privileged processes
|
||||||
|
.RB ( CAP_SYS_RESOURCE )
|
||||||
|
can exceed the limit.
|
||||||
|
.IP * 3
|
||||||
|
Since Linux 3.5, there is a ceiling for this limit of 1024
|
||||||
.RB ( HARD_QUEUESMAX ).
|
.RB ( HARD_QUEUESMAX ).
|
||||||
Privileged processes
|
Privileged processes
|
||||||
.RB ( CAP_SYS_RESOURCE )
|
.RB ( CAP_SYS_RESOURCE )
|
||||||
can exceed the
|
can exceed the
|
||||||
.I queues_max
|
.I queues_max
|
||||||
limit, but since Linux 3.5, the
|
limit, but the
|
||||||
.BR HARD_QUEUESMAX
|
.BR HARD_QUEUESMAX
|
||||||
limit is enforced even for privileged processes.
|
limit is enforced even for privileged processes.
|
||||||
|
.IP *
|
||||||
|
Starting with Linux 3.14,
|
||||||
|
.\" commit f3713fd9cff733d9df83116422d8e4af6e86b2bb
|
||||||
|
the
|
||||||
|
.B HARD_QUEUESMAX
|
||||||
|
ceiling is removed: no ceiling is imposed on the
|
||||||
|
.IR queues_max
|
||||||
|
limit, and privileged processes
|
||||||
|
.RB ( CAP_SYS_RESOURCE )
|
||||||
|
can exceed the limit.
|
||||||
|
.RE
|
||||||
.SS Resource limit
|
.SS Resource limit
|
||||||
The
|
The
|
||||||
.B RLIMIT_MSGQUEUE
|
.B RLIMIT_MSGQUEUE
|
||||||
|
|
Loading…
Reference in New Issue