summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2008-01-06 13:49:42 +0000
committerjmc <jmc@openbsd.org>2008-01-06 13:49:42 +0000
commit91107b69999c1b872b34f2654fe88044b2136c54 (patch)
tree4e28ae803c62894c5a12301551adb4798de3fbdb /usr.sbin/inetd
parentmake the descriptions of roundrobin and loadbalance more consistent, (diff)
downloadwireguard-openbsd-91107b69999c1b872b34f2654fe88044b2136c54.tar.xz
wireguard-openbsd-91107b69999c1b872b34f2654fe88044b2136c54.zip
- document what happens when a service exceeds its max spawn rate. this is
based on a diff from reed@netbsd, but i chose a different fix - whilst here, make the descriptions of -R and .max more consistent ok sthen sobrado(in part, at least)
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.825
1 files changed, 16 insertions, 9 deletions
diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8
index f39d9985ca3..33cab08b515 100644
--- a/usr.sbin/inetd/inetd.8
+++ b/usr.sbin/inetd/inetd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inetd.8,v 1.30 2007/05/31 19:20:25 jmc Exp $
+.\" $OpenBSD: inetd.8,v 1.31 2008/01/06 13:49:42 jmc Exp $
.\" Copyright (c) 1985, 1991 The Regents of the University of California.
.\" All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)inetd.8 6.7 (Berkeley) 3/16/91
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: January 6 2008 $
.Dt INETD 8
.Os
.Sh NAME
@@ -65,6 +65,11 @@ Turns on debugging.
.It Fl R Ar rate
Specify the maximum number of times a service can be invoked
in one minute; the default is 256.
+If a service exceeds this limit,
+.Nm
+will log the problem
+and stop servicing requests for the specific service for ten minutes.
+See also the wait/nowait configuration fields below.
.El
.Pp
Upon execution,
@@ -251,13 +256,15 @@ suffix (separated from
.Dq wait
or
.Dq nowait
-by a dot) specifies the maximum number of server instances that may be
-spawned from
-.Nm inetd
-within an interval of 60 seconds.
-When omitted,
-.Dq max
-defaults to 256.
+by a dot) specifies the maximum number of times a service can be invoked
+in one minute; the default is 256.
+If a service exceeds this limit,
+.Nm
+will log the problem
+and stop servicing requests for the specific service for ten minutes.
+See also the
+.Fl R
+option above.
.Pp
Stream servers are usually marked as
.Dq nowait