Re: BUG #10888: application is getting hanged in the poll() function of libpq.so.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mitu(dot)verma(at)ericsson(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #10888: application is getting hanged in the poll() function of libpq.so.
Date: 2014-07-07 14:54:10
Message-ID: 22456.1404744850@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

mitu(dot)verma(at)ericsson(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G Johnston 2014-07-07 15:25:26 Re: BUG #10889: Cannot add 2 floats from regular expression
Previous Message jakub.vrbas 2014-07-07 13:58:24 BUG #10889: Cannot add 2 floats from regular expression