Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iG4o8-0002zt-MR for pgsql-general@arkaria.postgresql.org; Thu, 03 Oct 2019 17:22:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iG4o7-0004P0-Fk for pgsql-general@arkaria.postgresql.org; Thu, 03 Oct 2019 17:22:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iG4o7-0004Of-2P for pgsql-general@lists.postgresql.org; Thu, 03 Oct 2019 17:22:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iG4o3-0008Vu-BF for pgsql-general@lists.postgresql.org; Thu, 03 Oct 2019 17:22:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x93HMIPW005869; Thu, 3 Oct 2019 13:22:18 -0400 From: Tom Lane To: bhargav kamineni cc: Adrian Klaver , pgsql-general@lists.postgresql.org Subject: Re: PMChildFlags array In-reply-to: References: <3909bd80-97e0-9365-fe98-86b62683a400@aklaver.com> Comments: In-reply-to bhargav kamineni message dated "Thu, 03 Oct 2019 21:23:01 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <5867.1570123338.1@sss.pgh.pa.us> Date: Thu, 03 Oct 2019 13:22:18 -0400 Message-ID: <5868.1570123338@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk bhargav kamineni writes: > Postgres was rejecting a bunch of connections from a user who is having a > connection limit set. that was the the FATAL error that i could see in log > file. > FATAL,53300,"too many connections for role ""user_app""" > db=\du user_app > List of roles > Role name | Attributes | Member of > --------------+-------------------------------+-------------------- > user_app | No inheritance +| {application_role} > | 100 connections +| > | Password valid until infinity | Hm, what's the overall max_connections limit? (I'm wondering in particular if it's more or less than 100.) regards, tom lane