Re: PostgreSQL(v9.6.5) not releasing old/inactive IDLE connections - Mailing list pgsql-admin

From Thomas Kellerer
Subject Re: PostgreSQL(v9.6.5) not releasing old/inactive IDLE connections
Date
Msg-id da132b1a-a3b1-cd67-87bc-e05d143587e1@gmx.net
Whole thread Raw
In response to Re: PostgreSQL(v9.6.5) not releasing old/inactive IDLE connections  (Paul Smith <paul@pscs.co.uk>)
List pgsql-admin
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



pgsql-admin by date:

Previous
From: "Dischner, Anton"
Date:
Subject: AW: postgresql long running query
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: PostgreSQL(v9.6.5) not releasing old/inactive IDLE connections