No mention about somaxconn

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: No mention about somaxconn
Date: 2020-03-03 01:48:56
Message-ID: 20200303.104856.428069491336830601.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Fujii Masao 2020-03-03 03:29:12 Re: First WAL segment file that initdb creates
Previous Message Adrian Klaver 2020-03-02 21:11:19 Re: Detecting which columns a query will modify in a function called by a trigger