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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: björn lundin <b(dot)f(dot)lundin(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: server crash => libpq poll() hangs forever (Linux)
Date: 2010-06-09 21:22:19
Message-ID: 1276118514-sup-8808@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Excerpts from björn lundin's message of mié jun 09 16:17:57 -0400 2010:
> 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

That test program uses UDP sockets.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lew 2010-06-10 00:18:51 Re: Cognitive dissonance
Previous Message uaca man 2010-06-09 20:50:51 Re: Queues Problem