Improve text describing /proc/sys/fs/mqueue/* files

This commit is contained in:
Michael Kerrisk 2005-07-25 16:35:56 +00:00
parent 7dc020ccf4
commit 7b2534620b
1 changed files with 10 additions and 2 deletions

View File

@ -1063,9 +1063,12 @@ argument given to
.BR mq_open (3).
The default and minimum value for
.I msg_max
is 10; the upper limit is
.IR "(131072 / sizeof(void\ *))"
is 10; the upper limit is HARD_MAX:
.IR "(131072\ /\ sizeof(void\ *))"
(32768 on Linux/86).
This limit is ignored for privileged processes
.RB ( CAP_SYS_RESOURCE ),
but the HARD_MAX ceiling is nevertheless imposed.
.TP
.I /proc/sys/fs/mqueue/msgsize_max
This file can be used to view and change the ceiling on the
@ -1078,10 +1081,15 @@ The default and minimum value for
.I msgsize_max
is 8192 bytes; the upper limit is INT_MAX
(2147483647 on Linux/86).
This limit is ignored for privileged processes
.RB ( CAP_SYS_RESOURCE ).
.TP
.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.