diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-01-06 13:49:43 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-01-06 13:49:43 +0000 |
commit | 3c0cb34dc4c5ed4c9617cb461a27a1370727a7c7 (patch) | |
tree | cc7185578c1eff46dfd9abf5866b5163fe9fc7c1 /usr.sbin | |
parent | b605978f372a25cfa2f6d3664b2d7a42ebcad6f7 (diff) |
- 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')
-rw-r--r-- | usr.sbin/inetd/inetd.8 | 25 |
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 |