pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Rajesh Kumar <rajeshkumar.dba09@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Handling idle connections
Date: Sun, 24 Sep 2023 06:54:52 -0600
Message-ID: <CF42B9B4-89EC-4F5C-A49B-A3F9A48F24F2@elevated-dev.com> (raw)
In-Reply-To: <CAJk5Ata=NXO46e7RcS-CxEXvroz=-fojS+XzpW-Bty+G-sx51A@mail.gmail.com>
References: <CAJk5Ata=NXO46e7RcS-CxEXvroz=-fojS+XzpW-Bty+G-sx51A@mail.gmail.com>

> On Sep 24, 2023, at 1:27 AM, Rajesh Kumar <rajeshkumar.dba09@gmail.com> wrote:
> 
> Hi
> 
> What is the best way to handle idle connections other than manually killing idle connections if I do not have connection pooler.

1) configure idle timeouts

2) figure out where they're coming from and fix the client




view thread (15+ messages)  latest in thread

Message-ID: <CF42B9B4-89EC-4F5C-A49B-A3F9A48F24F2@elevated-dev.com>
Permalink:  ../CF42B9B4-89EC-4F5C-A49B-A3F9A48F24F2@elevated-dev.com/
Also on:    postgresql.org/message-id/CF42B9B4-89EC-4F5C-A49B-A3F9A48F24F2@elevated-dev.com

 · 

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: scott_ribe@elevated-dev.com, rajeshkumar.dba09@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Handling idle connections
  In-Reply-To: <CF42B9B4-89EC-4F5C-A49B-A3F9A48F24F2@elevated-dev.com>

* 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