Re: No response from the backend

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: "feng(dot)zhou" <feng(dot)zhou(at)wellintech(dot)com>
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: No response from the backend
Date: 2011-12-07 13:25:47
Message-ID: 4EDF695B.1010008@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 12/07/2011 07:27 PM, feng.zhou wrote:
> Hi
> There are some questions when using progreSQL8.4.2. I don't sure this
> problem is bug.The detail is following:
> I make a client program that communicate with progreSQL by ODBC on
> Windows7. After running serveral months, this client program is hung
> at 00:01 in 2011-11-26 , and become OK after 8 hours.When becoming OK,
> client program log message is following:
> 2011/11/26 08:38:05.527, : SQL ERROR: GetSelectRowNum:
> No response from the backend;
> No response from the backend
> 2011/11/26 08:38:05.527, : SQL ERROR: GetSelectRowNum: State:42601,Native:26
> 2011/11/26 08:38:05.527, : SQL ERROR: GetSelectRowNum:
> Could not send Query(connection dead);
> Could not send Query(connection dead)
> I don't know how to solve this problem. Someone can explain this
> problem cause.Thanks

I'd say you had a connectivity drop-out, and it only recovered when your
TCP/IP connection timed out. Reduce your TCP/IP timeouts and/or enable
keepalives if you have an unreliable network connection between client
and server.

If that's not the case, then more detail please. Where do the client and
server run (same machine?)? How are they connected? etc.

--
Craig Ringer

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Raj Mathur ( राज =?utf-8?b?IOCkruCkvuCkpeClgeCksA==?=) 2011-12-07 14:34:29 Correlating Asterisk CDRs
Previous Message feng.zhou 2011-12-07 11:27:14 No response from the backend