Re: BUG #10888: application is getting hanged in the poll() function of libpq.so. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #10888: application is getting hanged in the poll() function of libpq.so.
Date
Msg-id 22456.1404744850@sss.pgh.pa.us
Whole thread Raw
In response to BUG #10888: application is getting hanged in the poll() function of libpq.so.  (mitu.verma@ericsson.com)
Responses Re: BUG #10888: application is getting hanged in the poll() function of libpq.so.
List pgsql-bugs
mitu.verma@ericsson.com writes:
> Application gets hanged while making a query to the PostgreSql database.

> I reproduced the issues on our testbed by making a simple C program which
> makes a synchronous connection with the DB.

> Pstack is showing the following error when the application is hang (see
> below)

> Now as it looks that it is getting hanged in the poll() function of
> libpq.so.

That looks like it's just waiting for the server to respond.  You sure
you didn't simply issue a very long-running query?  Check to see if the
connected backend process is accumulating CPU time and/or I/O activity.

            regards, tom lane

pgsql-bugs by date:

Previous
From: mitu.verma@ericsson.com
Date:
Subject: BUG #10888: application is getting hanged in the poll() function of libpq.so.
Next
From: David G Johnston
Date:
Subject: Re: BUG #10889: Cannot add 2 floats from regular expression