Re: Keepalive doubt.

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Francisco Olarte <folarte(at)peoplecall(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Keepalive doubt.
Date: 2013-11-05 09:56:59
Message-ID: CAOR=d=1=-eNPeHiJ_ZfHzK8+4kcGuBQ=Uf-31LuFcqCR5=q5eA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 5, 2013 at 2:29 AM, Francisco Olarte <folarte(at)peoplecall(dot)com> wrote:
> Hello everybody:
>
> I've found three server configuration parameters,
> tcp_keepalives_{idle,interval,count} which control keepalive
> behaviour. I know them, I know which my system defaults are, and I
> know their default values, and I suppose in my systems ( linux ) they
> correspond to setsockopt's of TCP_KEEP{INTVL,IDLE,CNT}.
>
> But I've been unable to find any parameter to enable or disable
> keepalives ( the equivalent of setsockopt with SO_KEEPALIVE ). I do
> not know if this is because it's always turned on or if there is a
> parameter for it which I've been unable to find.
>
> So, before resorting to my usual last ditch solution ( Use the Source,
> Luke ), I'll ask it here. Can anybody tell me if keepalives are
> enabled by the server by default in Linux, and, if not, how do I
> enable them?

They are enabled by default.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2013-11-05 11:04:50 Re: WITH RECURSIVE doesn't work properly for me
Previous Message Thomas Kellerer 2013-11-05 09:42:03 Re: Junk date getting uploaded into date field