mq_overview.7: Update details for 'queues_max' limit

Things changed in Linux 3.5.
See https://bugs.launchpad.net/bugs/1155695

Reported-by: Arto Bendiken <arto@bendiken.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-03-17 15:20:40 +01:00
parent 81020547cb
commit 40502a2842
1 changed files with 13 additions and 4 deletions

View File

@ -202,12 +202,21 @@ ceiling is enforced for privileged processes.
.I /proc/sys/fs/mqueue/queues_max
This file can be used to view and change the system-wide limit on the
number of message queues that can be created.
Only privileged processes
.RB ( CAP_SYS_RESOURCE )
can create new message queues once this limit has been reached.
The default value for
.I queues_max
is 256; it can be changed to any value in the range 0 to INT_MAX.
is 256.
Before Linux 3.5,
this limit could be changed to any value in the range 0 to
.RB INT_MAX ;
since Linux 3.5, the ceiling for this limit is 1024
.RB ( HARD_QUEUESMAX ).
Privileged processes
.RB ( CAP_SYS_RESOURCE )
can exceed the
.I queues_max
limit, but since Linux 3.5, the
.BR HARD_QUEUESMAX
limit is enforced even for privileged processes.
.SS Resource limit
The
.B RLIMIT_MSGQUEUE