summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorHeikki Korpela <heko@cvs.openbsd.org>2001-08-07 18:58:43 +0000
committerHeikki Korpela <heko@cvs.openbsd.org>2001-08-07 18:58:43 +0000
commit84fee4bc3af298953ceffa8a6a70690cab1ece1e (patch)
tree97b4f18c9aedcb5789356adaf065e70487966d44 /share
parent0193970b594d0768ebd482e429013e1d3175ec44 (diff)
Document SEMMNI and SEMMNS kernel options as they are
referenced in the postgresql port README file. Also document the SEMUME and SEMMNU options (suggested by millert@). Ok millert@, peter@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/options.420
1 files changed, 19 insertions, 1 deletions
diff --git a/share/man/man4/options.4 b/share/man/man4/options.4
index 88ade39fa80..9c49f8e7de8 100644
--- a/share/man/man4/options.4
+++ b/share/man/man4/options.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: options.4,v 1.75 2001/08/07 14:19:44 heko Exp $
+.\" $OpenBSD: options.4,v 1.76 2001/08/07 18:58:42 heko Exp $
.\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $
.\"
.\" Copyright (c) 1998 Theo de Raadt
@@ -946,6 +946,24 @@ Default value is 1024 on most ports.
See
.Pa /usr/include/machine/vmparam.h
for the default.
+.It Cd option SEMMNI=value
+Number of semaphore identifiers (also called semaphore handles
+and semaphore sets) available in the system. Default value is 10.
+The kernel allocates memory for the control structures at startup,
+so you should avoid arbitrarily large values.
+.It Cd option SEMMNS=value
+Maximum number of semaphores in all sets in the system. Default
+value is 60. Cannot be greater than the SEMMNI value.
+.It Cd option SEMMNU=value
+Maximum number of semaphore undo structures in the system.
+Default value is 30.
+.It Cd option SEMUME=value
+Maximum number of per-process undo operation entries in the
+system. Semaphore undo operations are invoked by the kernel
+when
+.Xr semop 2
+is called with the SEM_UNDO flag and the process holding
+the semaphores terminates unexpectedly. Default value is 10.
.El
.Ss Operation Related Options
.Bl -ohang