From: Andres Freund <andres@anarazel.de>
To: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: No mention about somaxconn
Date: Fri, 6 Mar 2020 10:06:57 -0800
Message-ID: <20200306180657.fybtyz72lyxjn4kr@alap3.anarazel.de> (raw)
In-Reply-To: <20200303.104856.428069491336830601.t-ishii@sraoss.co.jp>
References: <20200303.104856.428069491336830601.t-ishii@sraoss.co.jp>
Hi,
On 2020-03-03 10:48:56 +0900, Tatsuo Ishii wrote:
> Currently there's no mention about net.core.somaxconn parameter needs
> to be adjusted if max_connections is large and UNIX domain socket is
> used for connection. Since the default for the kernel parameter is
> small (typically 128), it is easy to hit the limitation and you will
> get errors something like:
>
> could not connect to server: Resource temporarily unavailable
>
> I don't know if this should be applied to other OS as well though.
Yea, that'd be good. Care to suggest a patch?
Greetings,
Andres Freund
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-docs@postgresql.org
Cc: andres@anarazel.de, ishii@sraoss.co.jp, pgsql-docs@lists.postgresql.org
Subject: Re: No mention about somaxconn
In-Reply-To: <20200306180657.fybtyz72lyxjn4kr@alap3.anarazel.de>
* 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