Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uREKs-008qYs-GZ for pgsql-general@arkaria.postgresql.org; Mon, 16 Jun 2025 18:13:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uREKq-002QKv-JJ for pgsql-general@arkaria.postgresql.org; Mon, 16 Jun 2025 18:13:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uREKp-002QKm-Sl for pgsql-general@lists.postgresql.org; Mon, 16 Jun 2025 18:13:32 +0000 Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uREKo-002PK4-1X for pgsql-general@lists.postgresql.org; Mon, 16 Jun 2025 18:13:32 +0000 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id A4300114010C; Mon, 16 Jun 2025 14:13:28 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Mon, 16 Jun 2025 14:13:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1750097608; x=1750184008; bh=Dp9xHnUQu5QmAsbrC1205rBo126oQJoRm+3ikORePzs=; b= YLdctA5vsUvTlgicMWVgmCVjsfQmyF6LQYiwIsWm+vt8ypRa3kAtP0i9Ecw1ZvnA ozBX4bgsw2Zj3QtSjtT9TeBbVU/rYb9onS0gW7BLXIzN7KyrufNkbsoRPPqzGLwT 8w/ztaspGpc4rmWwocmXe8wf19wvovkaPScdIfOOi7prl1kbaP3Y4uNwTVN71tgp PS3isA9ZkgLDjjmU8sCJYxAindzRrO0kS/uPf7nzBsCJ3oqFIKDWnUUXAXL5fPNz 19UwS93ZJOiWV48XWo5o6+jhAzuMtUCgfeRo4Mv3InRJBepEvZGx/JBvkE7SD1b1 rUpPZL7Fs9OfQPbGxYZp9w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1750097608; x= 1750184008; bh=Dp9xHnUQu5QmAsbrC1205rBo126oQJoRm+3ikORePzs=; b=A m2mXFSxgKcEJ8bHgKzB9TUXlSLPtJjGIX2LaDJ5EpdvrnJfVr+iIdTg3R9rjEPtw su6tXst8S+YaYC0m0yfWIlMH0lUAcRAu3Ps2putYzL5OfrtV0eSMTHl04UUjLeoK U8j/mVIrjQUN4XnNb7LDFm7WSppPtkDO1G7aib9x2ef6RwoXTFNiY2bxF9VOIHrv +LfI1h7QwZYTJ5u5ynFjdNd12PnQvrqLwjSeVagNNy3poI1uEU2bxnchnszOS6ws /uwh3m+f1/5q4sbU8tjKhNbUWAGK9t0RJznfZb+GErFguH9+mj0u0sUIQZFGLzle S2utITJfM3mxk237HyqRQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugddvjedvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddv jeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeefgeefieeutdfggfet gefgheekjeehteeileeigfetieekjedvieeviefgheevtdenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegr khhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopegurghvihgurdhgrdhjohhhnhhsthhonhesghhmrghilhdrtghomhdp rhgtphhtthhopegrugholhhfohhflhhorhgvshdvvdduudesghhmrghilhdrtghomhdprh gtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhq lhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Jun 2025 14:13:27 -0400 (EDT) Message-ID: <9b002550-887e-49b0-98e4-6df5f0759af0@aklaver.com> Date: Mon, 16 Jun 2025 11:13:25 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Getting error "too many clients already" despite having a db connection limit set To: "David G. Johnston" Cc: adolfo flores , pgsql-general@lists.postgresql.org References: <484c43a4-962d-44ed-af87-e5abde63bd04@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/16/25 11:09 AM, David G. Johnston wrote: > > > > I am not understanding the above. The connection limit from the > database > side is going to be the value for max_connections. It is not clear > to me > what "...  connection limit of 30% of the max_connections setting" is > referring to? > > > See "alter database ... set" Aah, forgot about that. > > David J. > > -- Adrian Klaver adrian.klaver@aklaver.com