Skip site navigation (1) Skip section navigation (2)

Re: Implement support for TCP_KEEPCNT, TCP_KEEPIDLE, TCP_KEEPINTVL

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Implement support for TCP_KEEPCNT, TCP_KEEPIDLE, TCP_KEEPINTVL
Date: 2005-07-04 10:43:14
Message-ID: 42C912C2.1050600@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Bruce Momjian wrote:
> Is this patch being worked on?

Here's an updated version. It compiles and appears to work as expected
under Linux (supports TCP_KEEPIDLE etc) and Solaris 9 (no support).

Main changes:

- removed the tcp_keepalives GUC, SO_KEEPALIVE is now always on (as in
current CVS)
- {get,set}sockopt calls are only done when absolutely necessary (no
extra syscalls during backend startup in a default configuration).

I still haven't had a chance to glue in support for the TCP_KEEPALIVE
(Solaris-style) option, but that should be fairly painless to add later.

-O

Attachment: pgsql-support-tcp-keepalives-v2.txt
Description: text/plain (16.1 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Marko KreenDate: 2005-07-04 11:07:46
Subject: Re: [PATCH] pgcrypto: pgp_encrypt v3
Previous:From: Dave PageDate: 2005-07-04 07:38:26
Subject: Re: [HACKERS] Dbsize backend integration

pgsql-patches by date

Next:From: Marko KreenDate: 2005-07-04 11:07:46
Subject: Re: [PATCH] pgcrypto: pgp_encrypt v3
Previous:From: Marko KreenDate: 2005-07-04 08:26:26
Subject: Re: contrib/pgcrypto patch for OpenSSL 0.9.8

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group