Skip site navigation (1) Skip section navigation (2)

Re: R: BUG #6342: libpq blocks forever in "poll" function

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Andrea Grassi <andreagrassi(at)sogeasoft(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: R: BUG #6342: libpq blocks forever in "poll" function
Date: 2011-12-17 06:19:14
Message-ID: 4EEC3462.80702@ringerc.id.au (view raw or flat)
Thread:
Lists: 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

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2011-12-18 04:04:43
Subject: Re: fatal flex error in guc-file.l kills the postmaster
Previous:From: Noah MischDate: 2011-12-16 17:22:58
Subject: fatal flex error in guc-file.l kills the postmaster

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group