Doc: document possible need to raise kernel's somaxconn limit.
authorTom Lane
Tue, 23 Aug 2022 13:55:37 +0000 (09:55 -0400)
committerTom Lane
Tue, 23 Aug 2022 13:55:44 +0000 (09:55 -0400)
commit2c63b0930aee1bb5c265fad4a65c9d0b62b1f9da
tree05b8f55356dcace8e0472ac9e14261288e3d090e
parentd53ff6a44b32c15dd150c383ffbe4b0f5dd13037
Doc: document possible need to raise kernel's somaxconn limit.

On fast machines, it's possible for applications such as pgbench
to issue connection requests so quickly that the postmaster's
listen queue overflows in the kernel, resulting in unexpected
failures (with not-very-helpful error messages).  Most modern OSes
allow the queue size to be increased, so document how to do that.

Per report from Kevin McKibbin.

Discussion: https://postgr.es/m/CADc_NKg2d+oZY9mg4DdQdoUcGzN2kOYXBu-3--RW_hEe0tUV=g@mail.gmail.com
doc/src/sgml/runtime.sgml