Doc: document possible need to raise kernel's somaxconn limit.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Aug 2022 13:55:37 +0000 (09:55 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Aug 2022 14:15:06 +0000 (10:15 -0400)
commitba94dfd4c4f63cf8663f16e427bcc6fac35a4428
tree905ec9cad5a7c570923010e36a8397db8139ce07
parent4ee6740167b6a311660a1e8752447a496dd0d235
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