pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: document possible need to raise kernel's somaxconn limit.
Date: Tue, 23 Aug 2022 14:15:18 +0000
Message-ID: <E1oQUgX-000r5q-5l@gemulon.postgresql.org> (raw)

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3ccdeff7bf1971d4a4ecece02f3ba3ec64d4a3ad

Modified Files
--------------
doc/src/sgml/runtime.sgml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)



view thread (7+ messages)  latest in thread

Message-ID: <E1oQUgX-000r5q-5l@gemulon.postgresql.org>
Permalink:  ../E1oQUgX-000r5q-5l@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oQUgX-000r5q-5l@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: document possible need to raise kernel's somaxconn limit.
  In-Reply-To: <E1oQUgX-000r5q-5l@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox