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:07 +0000 (09:56 -0400)
commit04056e9268be5584ac55c0009687ee38022fb007
tree7fafcf7b2ce63dcca6e742846b54ce9c9268c325
parentd0371f190a1f58f233febeee347ea18790786e84
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