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

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

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: andreagrassi(at)sogeasoft(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6342: libpq blocks forever in "poll" function
Date: 2011-12-16 08:24:36
Message-ID: 4EEB0044.4090907@ringerc.id.au (view raw or flat)
Thread:
Lists: pgsql-bugs
On 12/16/2011 03:45 PM, andreagrassi(at)sogeasoft(dot)com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6342
> Logged by:          Andrea Grassi
> Email address:      andreagrassi(at)sogeasoft(dot)com
> PostgreSQL version: 8.4.8
> Operating system:   SUSE SLES 10 SP4 64 BIT
> Description:
>
> Hi,
> I have a big and strange problem. Sometimes, libpq remains blocked in “poll”
> function even if the server has already answered to the query. If I attach
> to the process using kdbg I found this stack:
>
> __kernel_vsyscall()
> poll()                          from /lib/libc.so.6
>
Actually, even better, can you show the full kernel stack of your test 
program when it's blocked? cat /proc/$pid/stack .

In response to

pgsql-bugs by date

Next:From: Hans-Henrik FuxeliusDate: 2011-12-16 08:43:17
Subject: Re: BUG #6340: to_timestamp() miscalculates
Previous:From: Craig RingerDate: 2011-12-16 08:23:34
Subject: Re: BUG #6342: libpq blocks forever in "poll" function

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