Skip to content

Commit bc06cfa

Browse files
committed
administration: networking: document new net.backlog option
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 4912091 commit bc06cfa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

administration/networking.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ For example, if you have five workers and `net.max_worker_connections` is set
7171
to 10, a maximum of 50 connections is allowed. If the limit is reached, the output
7272
plugin issues a retry.
7373

74+
### Listener backlog
75+
76+
When Fluent Bit listens for incoming connections (for example, in input plugins like HTTP, TCP, OpenTelemetry, Forward, Syslog, etc.), the operating system maintains a queue of pending connections. The `net.backlog` option controls the maximum number of pending connections that can be queued before new connection attempts are refused. Increasing this value can help Fluent Bit handle bursts of incoming connections more gracefully. The default value is `128`.
77+
78+
> **Note:** On Linux, the effective backlog value may be capped by the kernel parameter `net.core.somaxconn`. If you need to allow a higher number of pending connections, you may need to increase this system setting.
79+
7480
## Configuration options
7581

7682
The following table describes the network configuration properties available and
@@ -89,6 +95,7 @@ that rely on networking I/O:
8995
| `net.keepalive_max_recycle` | Set maximum number of times a keepalive connection can be used before it's retired. | `2000` |
9096
| `net.max_worker_connections` | Set maximum number of TCP connections that can be established per worker. | `0` (unlimited) |
9197
| `net.source_address` | Specify network address to bind for data traffic. | _none_ |
98+
| `net.backlog` | Set the maximum number of pending connections for listening sockets. This option is vailable on versions >= 4.0.4. | `128` |
9299

93100
## Example
94101

0 commit comments

Comments
 (0)