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