pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-admin@lists.postgresql.org
Subject: Re: PostgreSQL(v9.6.5) not releasing old/inactive IDLE connections
Date: Wed, 8 Dec 2021 12:24:46 +0100
Message-ID: <da132b1a-a3b1-cd67-87bc-e05d143587e1@gmx.net> (raw)
In-Reply-To: <c0ed0cc7-1212-c34c-65ab-139936bdf785@pscs.co.uk>
References: <OS3PR01MB581659FF3F8020F174751B4BA76F9@OS3PR01MB5816.jpnprd01.prod.outlook.com>
	<c0ed0cc7-1212-c34c-65ab-139936bdf785@pscs.co.uk>

Paul Smith schrieb am 08.12.2021 um 10:18:
>> I'm facing "Too many clients already" error frequently with my
>> PostgreSQL (v9.6.5) container (i.e. being used along with CKAN
>> application i.e. A open source data management system
>> <https://ckan.org/; ), I have observed that PostgreSQL is not
>> releasing IDLE connections from their end. I have set
>> "max_connetions = 100" in postgresql.
>>
> It is the responsibility of the client software to release
> connections when they are no longer needed. The server won't just
> time-out idle connections unless it is told to do so

Automatically closing idle sessions is only available since Postgres 14





view thread (5+ messages)  latest in thread

Message-ID: <da132b1a-a3b1-cd67-87bc-e05d143587e1@gmx.net>
Permalink:  ../da132b1a-a3b1-cd67-87bc-e05d143587e1@gmx.net/
Also on:    postgresql.org/message-id/da132b1a-a3b1-cd67-87bc-e05d143587e1@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: shammat@gmx.net, pgsql-admin@lists.postgresql.org
  Subject: Re: PostgreSQL(v9.6.5) not releasing old/inactive IDLE connections
  In-Reply-To: <da132b1a-a3b1-cd67-87bc-e05d143587e1@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox