Re: server crash => libpq poll() hangs forever (Linux) - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: server crash => libpq poll() hangs forever (Linux)
Date
Msg-id 1276118514-sup-8808@alvh.no-ip.org
Whole thread Raw
In response to Re: server crash => libpq poll() hangs forever (Linux)  (björn lundin <b.f.lundin@gmail.com>)
List pgsql-general
Excerpts from björn lundin's message of mié jun 09 16:17:57 -0400 2010:
> On 9 Juni, 16:37, t...@sss.pgh.pa.us (Tom Lane) wrote:
> > Marinos Yannikos <m...@geizhals.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@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-general by date:

Previous
From: uaca man
Date:
Subject: Re: Queues Problem
Next
From: Lew
Date:
Subject: Re: Cognitive dissonance