Re: tcp_keepalives_idle setting

From: "Fujii Masao" <masao(dot)fujii(at)gmail(dot)com>
To: "Maximilian Tyrtania" <mty(at)fischerappelt(dot)de>
Cc: "PostgreSQL pg-general List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: tcp_keepalives_idle setting
Date: 2008-12-11 01:23:31
Message-ID: 3f0b79eb0812101723h26eff728w52c161032c76caac@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On Wed, Dec 10, 2008 at 7:26 PM, Maximilian Tyrtania
<mty(at)fischerappelt(dot)de> wrote:
> Hi,
>
> recently Tom Lane wrote:
>
> "henry" writes:
>>> I have tried setting tcp_keepalives_idle = 120 (eg), then restarting PG,
>>> but SHOW ALL; shows tcp_keepalives_idle=0 (ignoring my setting).
>
>>Just FYI, this is the expected behavior on platforms where the kernel
>>doesn't allow adjustment of the TCP keepalive parameters from
>>userspace.
>
> I'm running pg 8.3.3 on Mac OS 10.4.11 and I'm seeing the same behaviour as
> Henry.
> I'm trying to find out if Mac OS belongs to those platforms that doesn't
> allow adjustment of the TCP keepalive parameters from userspace, and if so,
> how i can change the systems settings as root.

Do you use TCP/IP socket when you execute SHOW ALL? Those parameters
are ignored via Unix-domain socket.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guy Rouillier 2008-12-11 01:28:19 Re: Ubuntu for servers (was TurnKey PostgreSQL)
Previous Message David Fetter 2008-12-11 00:32:19 Re: Multi-table CHECK constraint