From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-admin@postgresql.org
Subject: Re: Why are a lot of ROLLBACK queries in idle state
Date: Sun, 20 Nov 2016 08:58:26 +0100
Message-ID: <o0rl2u$8co$1@blaine.gmane.org> (raw)
In-Reply-To: <1479623888550-5931144.post@n3.nabble.com>
References: <1479462927604-5930917.post@n3.nabble.com>
<o0mkvn$d1p$1@blaine.gmane.org>
<1479470163236-5930934.post@n3.nabble.com>
<o0mu37$bnq$1@blaine.gmane.org>
<1479623888550-5931144.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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: spam_eater@gmx.net
Subject: Re: Why are a lot of ROLLBACK queries in idle state
In-Reply-To: <o0rl2u$8co$1@blaine.gmane.org>
* 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