From: Tom Lane <tgl@sss.pgh.pa.us>
To: mitu.verma@ericsson.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #10888: application is getting hanged in the poll() function of libpq.so.
Date: Mon, 07 Jul 2014 10:54:10 -0400
Message-ID: <22456.1404744850@sss.pgh.pa.us> (raw)
In-Reply-To: <20140707054645.2775.15941@wrigleys.postgresql.org>
References: <20140707054645.2775.15941@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, mitu.verma@ericsson.com
Subject: Re: BUG #10888: application is getting hanged in the poll() function of libpq.so.
In-Reply-To: <22456.1404744850@sss.pgh.pa.us>
References: <20140707054645.2775.15941@wrigleys.postgresql.org> <22456.1404744850@sss.pgh.pa.us>
* 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