semget.2: Note default value for SEMMNI and SEMMSL

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-29 12:42:32 +01:00
parent a75f73c22a
commit 8a3e6dc72f
1 changed files with 16 additions and 6 deletions

View File

@ -268,15 +268,25 @@ The following limits on semaphore set resources affect the
call:
.TP
.B SEMMNI
System-wide limit on the number of semaphore sets: policy dependent
(on Linux, this limit can be read and modified via the fourth field of
.IR /proc/sys/kernel/sem ).
System-wide limit on the number of semaphore sets.
On Linux systems before version 3.19,
the default value for this limit was 128.
Since Linux 3.19,
.\" commit e843e7d2c88b7db107a86bd2c7145dc715c058f4
the default value is 32,000.
On Linux, this limit can be read and modified via the fourth field of
.IR /proc/sys/kernel/sem .
.\" This /proc file is not available in Linux 2.2 and earlier -- MTK
.TP
.B SEMMSL
Maximum number of semaphores per semaphore ID: implementation dependent
(on Linux, this limit can be read and modified via the first field of
.IR /proc/sys/kernel/sem ).
Maximum number of semaphores per semaphore ID.
On Linux systems before version 3.19,
the default value for this limit was 250.
Since Linux 3.19,
.\" commit e843e7d2c88b7db107a86bd2c7145dc715c058f4
the default value is 32,000.
On Linux, this limit can be read and modified via the first field of
.IR /proc/sys/kernel/sem .
.TP
.B SEMMNS
System-wide limit on the number of semaphores: policy dependent