Re: server crash => libpq poll() hangs forever (Linux)

From: björn lundin <b(dot)f(dot)lundin(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: server crash => libpq poll() hangs forever (Linux)
Date: 2010-06-09 20:17:57
Message-ID: 4f6cf893-1c98-46ad-a8b6-e1d681ec876e@w31g2000yqb.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9 Juni, 16:37, t(dot)(dot)(dot)(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) wrote:
> Marinos Yannikos <m(dot)(dot)(dot)(at)geizhals(dot)at> writes:
> > It seems that poll() never receives a connection closed notification under Linux
> > (https://lists.linux-foundation.org/pipermail/bugme-new/2003-April/008...-
> > very old report,
>
> "very old report" is right.  What makes you think that has anything to
> do with modern kernel versions?

Interesting. The bug report includes a short code snippet which
compiles to a c program,
that shows the bug is still present. I'm on

bnl(at)tova:~$ uname -a
Linux tova 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 00:22:23 UTC
2010 i686 GNU/Linux

is it really so, that the bug is still valid, or does the code snippet
show something else?

/Björn

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aljosa Mohorovic 2010-06-09 20:45:43 pgcon 2010 videos?
Previous Message Szymon Guz 2010-06-09 19:17:58 Re: calculating distance between longitude and latitude