Re: R: BUG #6342: libpq blocks forever in "poll" function - Mailing list pgsql-bugs

From Craig Ringer
Subject Re: R: BUG #6342: libpq blocks forever in "poll" function
Date
Msg-id 4EEC3462.80702@ringerc.id.au
Whole thread Raw
In response to R: BUG #6342: libpq blocks forever in "poll" function  ("Andrea Grassi" <andreagrassi@sogeasoft.com>)
Responses R: R: BUG #6342: libpq blocks forever in "poll" function
R: R: BUG #6342: libpq blocks forever in "poll" function
R: R: BUG #6342: libpq blocks forever in "poll" function
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: kojiro@hello-channel.com
Date:
Subject: BUG #6343: PGTYPES library missing qualifiers
Next
From: Tom Lane
Date:
Subject: Re: fatal flex error in guc-file.l kills the postmaster