| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: inetd.8,v 1.56 2009/10/24 12:23:47 reed Exp $ | | 1 | .\" $NetBSD: inetd.8,v 1.57 2011/04/25 22:12:05 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1998 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 1998 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, | | 7 | .\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, |
8 | .\" NASA Ames Research Center. | | 8 | .\" NASA Ames Research Center. |
9 | .\" | | 9 | .\" |
10 | .\" Redistribution and use in source and binary forms, with or without | | 10 | .\" Redistribution and use in source and binary forms, with or without |
11 | .\" modification, are permitted provided that the following conditions | | 11 | .\" modification, are permitted provided that the following conditions |
12 | .\" are met: | | 12 | .\" are met: |
13 | .\" 1. Redistributions of source code must retain the above copyright | | 13 | .\" 1. Redistributions of source code must retain the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer. | | 14 | .\" notice, this list of conditions and the following disclaimer. |
| @@ -320,28 +320,31 @@ The optional | | | @@ -320,28 +320,31 @@ The optional |
320 | suffix (separated from | | 320 | suffix (separated from |
321 | .Dq wait | | 321 | .Dq wait |
322 | or | | 322 | or |
323 | .Dq nowait | | 323 | .Dq nowait |
324 | by a dot or a colon) specifies the maximum number of server instances that may | | 324 | by a dot or a colon) specifies the maximum number of server instances that may |
325 | be spawned from | | 325 | be spawned from |
326 | .Nm | | 326 | .Nm |
327 | within an interval of 60 seconds. | | 327 | within an interval of 60 seconds. |
328 | When omitted, | | 328 | When omitted, |
329 | .Dq max | | 329 | .Dq max |
330 | defaults to 40. | | 330 | defaults to 40. |
331 | If it reaches this maximum spawn rate, | | 331 | If it reaches this maximum spawn rate, |
332 | .Nm | | 332 | .Nm |
333 | will log the problem (via the syslogger using the LOG_DAEMON | | 333 | will log the problem (via the syslogger using the |
334 | facility and LOG_ERR level) | | 334 | .Dv LOG_DAEMON |
| | | 335 | facility and |
| | | 336 | .Dv LOG_ERR |
| | | 337 | level) |
335 | and stop handling the specific service for ten minutes. | | 338 | and stop handling the specific service for ten minutes. |
336 | .Pp | | 339 | .Pp |
337 | Stream servers are usually marked as | | 340 | Stream servers are usually marked as |
338 | .Dq nowait | | 341 | .Dq nowait |
339 | but if a single server process is to handle multiple connections, it may be | | 342 | but if a single server process is to handle multiple connections, it may be |
340 | marked as | | 343 | marked as |
341 | .Dq wait . | | 344 | .Dq wait . |
342 | The master socket will then be passed as fd 0 to the server, which will then | | 345 | The master socket will then be passed as fd 0 to the server, which will then |
343 | need to accept the incoming connection. | | 346 | need to accept the incoming connection. |
344 | The server should eventually time | | 347 | The server should eventually time |
345 | out and exit when no more connections are active. | | 348 | out and exit when no more connections are active. |
346 | .Nm | | 349 | .Nm |
347 | will continue to | | 350 | will continue to |