From 3c0cb34dc4c5ed4c9617cb461a27a1370727a7c7 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Sun, 6 Jan 2008 13:49:43 +0000 Subject: - 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) --- usr.sbin/inetd/inetd.8 | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'usr.sbin/inetd') 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 -- cgit v1.2.3