Re: Why are a lot of ROLLBACK queries in idle state

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Why are a lot of ROLLBACK queries in idle state
Date: 2016-11-20 07:58:26
Message-ID: o0rl2u$8co$1@blaine.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

rajan schrieb am 20.11.2016 um 07:38:
> thanks for the reply.
>
> how do I kill these idle sessions? And if I do, will it cause any issues?

Why do you think you need to kill them?

An idle connection is not really a problem and keeping them around for re-use is exactly what connection pools are doing.

If you think those connections are a problem, you should rather investigate why your applications doesn't close, not blindly kill them.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2016-11-20 16:32:14 Re: Re: vacuum full is not reclaiming the space and showing non-removable rows
Previous Message rajan 2016-11-20 06:44:53 Re: vacuum full is not reclaiming the space and showing non-removable rows