From: Gnanakumar <gnanam@zoniac.com>
To: 'Albe Laurenz' <laurenz.albe@wien.gv.at>
To: pgsql-admin@postgresql.org
Subject: Re: Very long "<IDLE> in transaction" query
Date: Fri, 4 May 2012 15:22:47 +0530
Message-ID: <008001cd29db$ab24ba60$016e2f20$@com> (raw)
In-Reply-To: <D960CB61B694CF459DCFB4B0128514C207D4FFA7@exadv11.host.magwien.gv.at>
References: <008101cd2916$1c023b20$5406b160$@com>
<D960CB61B694CF459DCFB4B0128514C207D4FFA7@exadv11.host.magwien.gv.at>
> SELECT application_name, client_addr, client_hostname, client_port
> FROM pg_stat_activity
> WHERE procpid = 14740;
> (Replace 14740 of the process ID of the "idle in transaction" backend).
> Look on the client machine and find the process that holds TCP port
> "client_port" open (on Linux you can use "lsof" for that).
Ours is a web-based application and all calls are made "only" from where the
web server is running. No external calls are allowed in my case. Hence,
the "only" client machine in my case is the web server.
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: gnanam@zoniac.com, laurenz.albe@wien.gv.at
Subject: Re: Very long "<IDLE> in transaction" query
In-Reply-To: <008001cd29db$ab24ba60$016e2f20$@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