Doc: document possible need to raise kernel's somaxconn limit.
authorTom Lane <[email protected]>
Tue, 23 Aug 2022 13:55:37 +0000 (09:55 -0400)
committerTom Lane <[email protected]>
Tue, 23 Aug 2022 13:56:13 +0000 (09:56 -0400)
commit1a9c3ffd64284041fed6e29b5c96d2cb3e0493a1
tree2ed9bbb96369524356e62504246ec3094b9a82ac
parenta0d87e2a92ea37d136b5ce69af2e8cd7c6127a35
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