v.25.7Improvement
Tune TCP servers queue
Tune TCP servers queue (64 by default) based on listen_backlog (4096 by default). #82045 (Azat Khuzhin).
Why it matters
This feature adjusts the TCP server's queue size to match thelisten_backlog value, improving the handling of incoming connection requests under high load and reducing connection drops or refusals.How to use it
Set thelisten_backlog parameter to the desired queue size, for example:SET listen_backlog = 4096The TCP server will then tune its queue size to this value automatically.