From: Andrea Grassi <andreagrassi@sogeasoft.com>
To: 'Craig Ringer' <ringerc@ringerc.id.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: R: R: BUG #6342: libpq blocks forever in "poll" function
Date: Tue, 20 Dec 2011 10:01:55 +0100
Message-ID: <000601ccbef6$060820d0$12186270$@com> (raw)
In-Reply-To: <4EEC3462.80702@ringerc.id.au>
References: <E1RbSUA-0003kd-Tb@wrigleys.postgresql.org>
<4EEB0006.7080205@ringerc.id.au>
<001201ccbbfc$82c987a0$885c96e0$@com>
<4EEC3462.80702@ringerc.id.au>
Sorry if I insist, but now I have the case at hand (my test program is now blocked), so I can check and verify all what you want.
I would like to know if it can be a libpq bug or if you think the fault is due to a system bug or to a machine issue and in this case I would be grateful if you could give me a hint on what could be.
Regards, Andrea
-----Messaggio originale-----
Da: Craig Ringer [mailto:ringerc@ringerc.id.au]
Inviato: sabato 17 dicembre 2011 7.19
A: Andrea Grassi
Cc: pgsql-bugs@postgresql.org
Oggetto: Re: R: [BUGS] BUG #6342: libpq blocks forever in "poll" function
On 16/12/2011 10:10 PM, Andrea Grassi wrote:
> The client program and the postgres server are on the same host, client connects to 127.0.0.1.
> In the meantime, my original program blocks (not my example but very probably the reasons are the same).
>
> I typed "ps -C testprogramname -o wchan:80=" and the output was only a single dash ( "-" ).
That means it's not waiting in a kernel call right now. Was the program
in the hung state you've observed at the time you ran the command? Its
output would only be interesting when it's hung.
> I searched for the complete stack in /proc/$pid/stack (where $pid) was the pid of my process but this file doesn't exists !! Why ?
Old kernel, maybe? You're running on some kind of enterprise-y distro,
so who knows how ancient half the stuff in there is.
--
Craig Ringer
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: andreagrassi@sogeasoft.com, ringerc@ringerc.id.au, tgl@sss.pgh.pa.us
Subject: Re: R: R: BUG #6342: libpq blocks forever in "poll" function
In-Reply-To: <000601ccbef6$060820d0$12186270$@com>
References: <E1RbSUA-0003kd-Tb@wrigleys.postgresql.org> <4EEB0006.7080205@ringerc.id.au> <001201ccbbfc$82c987a0$885c96e0$@com> <4EEC3462.80702@ringerc.id.au> <000601ccbef6$060820d0$12186270$@com>
* 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