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 1mphN9-00008Q-LF for pgsql-general@arkaria.postgresql.org; Wed, 24 Nov 2021 01:46:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mphN8-0006p7-7e for pgsql-general@arkaria.postgresql.org; Wed, 24 Nov 2021 01:46:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mphN6-0006ox-Rt for pgsql-general@lists.postgresql.org; Wed, 24 Nov 2021 01:46:53 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mphN3-0000r0-TZ for pgsql-general@postgresql.org; Wed, 24 Nov 2021 01:46:51 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EBD2B5C00EB; Tue, 23 Nov 2021 20:46:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 23 Nov 2021 20:46:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=I FwYE7EoL6W/Ie96GBmRalezRUwhTs2TIvhqGHnsC3c=; b=EPxwLgopWUTz/3b+l kgA26p0/aWds7qaEQdO7bPAIjRQMNKlWsNwMmlozZKQbHqIVpjRJ9euCO3/nleXH fV+ZMtilsAvnSWyTAzrI2u1xaMuxmNSDk9YVbvaKsXJtm3lATFnuW9s2Gwwituis omh+bfrtFX/oXEZOovCdkElVK2nYPCAM5DMN+70zigW2BTQ0ihKbof1VQKpLLucs 35/QD8lezuikeSPTX25R7RGzJxLl7e1fZTN+indf0sRhI6wH2uknLXWf3arLQfLF 9ZqSDRciLYSHd5ragIY4D57ZNZ6luEfV3s0sGJbtJ7mtBWl38l7S6vbmtKiRymua 4OmiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=IFwYE7EoL6W/Ie96GBmRalezRUwhTs2TIvhqGHnsC 3c=; b=i3B0Z3V46GGJiwYbNPR6+bCsN1vRAnt+GqVl+JCNFaa7R5rVl/iUpvreE 7oYbqUWBxJd7ufpDtEuLBe4Vz6zVV3oLxZW+UXKImJtS7QClGdzuXmq3BGLybBvM 1Syv66T8E/cQo0Ux30ZMUkva5ouYIkoZs6xEcXjiyNQroWh5rO0IGCwpkXlqnaNB NigJ1h4KMvxkjHUKFeoG5Pp1trPLC3nTop0RrY7nyQWnQrb0L6mgVVPhUyqwWG1n gSApcOJqasHOojXa+VsJrA5RexbAOtvk7vYcs3AhoI/A1S3YbaxsC4PUIpf+fKe7 16KsHh3Qhh7eElgWkY+7aNlQnakuw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrgeejgdeflecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecuggftrfgrthhtvghrnhepvedvkeeihfduhffhtdekleegffduiefgteejgeffgffh teefleeludfgleelgeevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 23 Nov 2021 20:46:48 -0500 (EST) Message-ID: <6d4ca538-93b6-9e1b-07d1-e127771d1f92@aklaver.com> Date: Tue, 23 Nov 2021 17:46:47 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Max connections reached without max connections reached Content-Language: en-US To: James Sewell Cc: Tom Lane , pgsql-general References: <4176160.1637681607@sss.pgh.pa.us> <67613.1637709271@sss.pgh.pa.us> <866ce56c-1f11-c045-f74e-66ccb341bc31@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/23/21 16:58, James Sewell wrote: > > > re: EnterpriseDB yes it is - I'm having this same discussion with > them > > in parallel > > What version of theirs? > > PostgreSQL 11.9 (EnterpriseDB Advanced Server 11.9.18) on > x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat > 4.8.5-36), 64-bit > > > > re: rundeck, yes - but this is only one of many things > connecting. it's > > not doing anything special. > > Except sending a stream of connections to the server. > > Any idea what they are doing? > > > It's used to trigger ETL jobs. There are other bigger consumers of > connections - the issue isn't the stream of jobs, that works fine under > normal operation. The issue is that when jobs stay in "startup" and > don't enter pg_stat_activity the system spirals downwards and no new > connections are allowed. Is there a correlation to these ETL jobs or the other consumers? If so what are the consumers trying to do at that time? > > James > -- Adrian Klaver adrian.klaver@aklaver.com