pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: andreagrassi@sogeasoft.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6342: libpq blocks forever in "poll" function
Date: Fri, 16 Dec 2011 16:23:34 +0800
Message-ID: <4EEB0006.7080205@ringerc.id.au> (raw)
In-Reply-To: <E1RbSUA-0003kd-Tb@wrigleys.postgresql.org>
References: <E1RbSUA-0003kd-Tb@wrigleys.postgresql.org>

On 12/16/2011 03:45 PM, andreagrassi@sogeasoft.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6342
> Logged by:          Andrea Grassi
> Email address:      andreagrassi@sogeasoft.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
Given all you described (thanks for all the detail!) then if client and 
server are on different hosts this could easily be a NIC driver or HW 
issue. It'd be interesting to see the output of:

ps -C testprogramname -o wchan:80=

--
Craig Ringer



view thread (3+ messages)  latest in thread

Message-ID: <4EEB0006.7080205@ringerc.id.au>
Permalink:  ../4EEB0006.7080205@ringerc.id.au/
Also on:    postgresql.org/message-id/4EEB0006.7080205@ringerc.id.au

 · 

reply

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: ringerc@ringerc.id.au, andreagrassi@sogeasoft.com
  Subject: Re: BUG #6342: libpq blocks forever in "poll" function
  In-Reply-To: <4EEB0006.7080205@ringerc.id.au>
  References: <E1RbSUA-0003kd-Tb@wrigleys.postgresql.org> <4EEB0006.7080205@ringerc.id.au>

* 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