Re: Some sql query got stuck in poll.

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Pavan <pavan(dot)pandey(at)globallogic(dot)com>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Some sql query got stuck in poll.
Date: 2014-09-26 18:24:50
Message-ID: 5425AF72.1010105@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Pavan Pandey 2014-09-27 06:07:36 Re: Some sql query got stuck in poll.
Previous Message Pavan 2014-09-25 10:42:34 Some sql query got stuck in poll.