From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Pavan <pavan.pandey@globallogic.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Some sql query got stuck in poll.
Date: Fri, 26 Sep 2014 21:24:50 +0300
Message-ID: <5425AF72.1010105@vmware.com> (raw)
In-Reply-To: <1411641754892-5820447.post@n5.nabble.com>
References: <1411641754892-5820447.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On 09/25/2014 01:42 PM, Pavan wrote:
> Hi,
>
> I have application running in multi-threaded architecture and application
> updates DB from data in cache periodically . But unfortunately we are
> getting some query got stuck in poll for indefinite time. This behavior is
> happened some time with application but not any particular scenario. We can
> not reproduce it always it's random issue. We have design to restart
> application if it got stuck for more than specified time period.
>
> I have attached some back trace for query processing as below:
It looks like the driver is waiting for a reply from the server. In
other words, it looks like the server is busy executing the query, and
the client is waiting for it. How long did you wait? Did you check
what's happening in the server when that happens?
- Heikki
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: hlinnakangas@vmware.com, pavan.pandey@globallogic.com
Subject: Re: Some sql query got stuck in poll.
In-Reply-To: <5425AF72.1010105@vmware.com>
References: <1411641754892-5820447.post@n5.nabble.com> <5425AF72.1010105@vmware.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