Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kp6WN-00026n-A1 for pgsql-admin@arkaria.postgresql.org; Tue, 15 Dec 2020 09:21:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kp6WM-0000il-8B for pgsql-admin@arkaria.postgresql.org; Tue, 15 Dec 2020 09:21:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kp6WM-0000id-0s for pgsql-admin@lists.postgresql.org; Tue, 15 Dec 2020 09:21:26 +0000 Received: from jakobs.com ([85.214.83.89] helo=rs.plausibolo.de) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kp6WK-0007T4-0x for pgsql-admin@lists.postgresql.org; Tue, 15 Dec 2020 09:21:25 +0000 Received: from localhost (localhost [127.0.0.1]) by rs.plausibolo.de (Postfix) with ESMTP id 055DD3804C7; Tue, 15 Dec 2020 10:21:23 +0100 (CET) Received: from rs.plausibolo.de ([IPv6:::1]) by localhost (h2367442.stratoserver.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id YbJNdfEzX-QT; Tue, 15 Dec 2020 10:21:22 +0100 (CET) Received: from [192.168.178.86] (p5b2496b4.dip0.t-ipconnect.de [91.36.150.180]) by rs.plausibolo.de (Postfix) with ESMTPSA id 99E62380320; Tue, 15 Dec 2020 10:21:22 +0100 (CET) Subject: Re: PostgreSQL: Number of waiting connections too high To: pgsql-admin@lists.postgresql.org References: From: Holger Jakobs Message-ID: Date: Tue, 15 Dec 2020 10:21:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7eWbk67HXlY3OQZGlL8rl9QIoIgxiQ7dV" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7eWbk67HXlY3OQZGlL8rl9QIoIgxiQ7dV Content-Type: multipart/mixed; boundary="PgitLy6C9wa5wpOv51o7gNt1rDdKkJKJz"; protected-headers="v1" From: Holger Jakobs To: pgsql-admin@lists.postgresql.org Message-ID: Subject: Re: PostgreSQL: Number of waiting connections too high References: In-Reply-To: --PgitLy6C9wa5wpOv51o7gNt1rDdKkJKJz Content-Type: multipart/alternative; boundary="------------3CDC9E06D23F414269DA4F32" Content-Language: de-DE This is a multi-part message in MIME format. --------------3CDC9E06D23F414269DA4F32 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi, TCP maintains a backlog of waiting connections if a server application=20 doesn't accept or deny connections. PostgreSQL has a setting max_connections, so it won't accept any more. So there are two solutions: * Lower the number of concurrent clients * Increase the max_connections setting in postgresql.conf Regards, Holger Am 15.12.20 um 10:15 schrieb Atul Kumar: > HI, > > I have postgres with 11.8 version. > > I am getting below error of > PostgreSQL: Number of waiting connections too high. > > Please help me in solving this situation. > > > > Regards, > Atul > > --=20 Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012 --------------3CDC9E06D23F414269DA4F32 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi,

TCP maintains a backlog of waiting connections if a server application doesn't accept or deny connections.

PostgreSQL has a setting max_connections, so it won't accept any more.

So there are two solutions:

  • Lower the number of concurrent clients
  • Increase the max_connections setting in postgresql.conf

Regards,

Holger

Am 15.12.20 um 10:15 schrieb Atul Kumar:
HI,

I have postgres with 11.8 version.

I am getting below error of
PostgreSQL: Number of waiting connections too high.

Please help me in solving this situation.



Regards,
Atul


--=20
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012
--------------3CDC9E06D23F414269DA4F32-- --PgitLy6C9wa5wpOv51o7gNt1rDdKkJKJz-- --7eWbk67HXlY3OQZGlL8rl9QIoIgxiQ7dV Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQScuJCxWJK1p5BOebGKV5yTsxlhugUCX9iAEQUDAAAAAAAKCRCKV5yTsxlhuund AKDCXr1/1y4WsMzHPfMAG8CcSAT94wCgtjXkycl8q08TBvF4Y1jigHq4AME= =tyDA -----END PGP SIGNATURE----- --7eWbk67HXlY3OQZGlL8rl9QIoIgxiQ7dV--