@@ -308,51 +308,7 @@ Core Options
308
308
- Set :option:`--bind_ip_all` to ``true``.
309
309
310
310
311
- .. option:: --listenBacklog <number>
312
-
313
- *Default*: Target system ``SOMAXCONN`` constant
314
-
315
- .. versionadded:: 3.6
316
-
317
- The maximum number of connections that can exist in the listen
318
- queue.
319
-
320
- .. warning ::
321
-
322
- Consult your local system's documentation to understand the
323
- limitations and configuration requirements before using this
324
- parameter.
325
-
326
- .. important::
327
-
328
- To prevent undefined behavior, specify a value for this
329
- parameter between ``1`` and the local system ``SOMAXCONN``
330
- constant.
331
-
332
- The default value for the ``listenBacklog`` parameter is set at
333
- compile time to the target system ``SOMAXCONN`` constant.
334
- ``SOMAXCONN`` is the maximum valid value that is documented for
335
- the *backlog* parameter to the *listen* system call.
336
-
337
- Some systems may interpret ``SOMAXCONN`` symbolically, and others
338
- numerically. The actual *listen backlog* applied in practice may
339
- differ from any numeric interpretation of the ``SOMAXCONN`` constant
340
- or argument to ``--listenBacklog``, and may also be constrained by
341
- system settings like ``net.core.somaxconn`` on Linux.
342
-
343
- Passing a value for the ``listenBacklog`` parameter that exceeds the
344
- ``SOMAXCONN`` constant for the local system is, by the letter of the
345
- standards, undefined behavior. Higher values may be silently integer
346
- truncated, may be ignored, may cause unexpected resource
347
- consumption, or have other adverse consequences.
348
-
349
- On systems with workloads that exhibit connection spikes, for which
350
- it is empirically known that the local system can honor higher
351
- values for the *backlog* parameter than the ``SOMAXCONN`` constant,
352
- setting the ``listenBacklog`` parameter to a higher value may reduce
353
- operation latency as observed by the client by reducing the number
354
- of connections which are forced into a backoff state.
355
-
311
+ .. include:: /includes/parameter-listenbacklog.rst
356
312
357
313
358
314
.. option:: --maxConns <number>
0 commit comments