> -----Original Message-----
> From: Oliver Jowett [mailto:oliver@opencloud.com]
> Sent: Monday, May 02, 2005 3:06 PM
> To: Chuck McDevitt
> Cc: Tom Lane; andrew@supernews.com; pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Feature freeze date for 8.1
>
> Chuck McDevitt wrote:
>
> > Why not just use SO_KEEPALIVE on the TCP socket?
>
> We already do, but the default keepalive interval makes it next to
useless.
>
> -O
So, change the default. On Linux it's in
/proc/sys/net/ipv4/tcp_keepalive_time
Admittedly, this isn't a great solution, but it had the advantage of
being simple.