Re: tcp_keepalives_idle ignored

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "henry" <henry(at)zen(dot)co(dot)za>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tcp_keepalives_idle ignored
Date: 2008-01-14 15:44:12
Message-ID: 14268.1200325452@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"henry" <henry(at)zen(dot)co(dot)za> writes:
> WRT the origional question: why is tcp_keepalives_idle being ignored
> (whether with SET or in postgresql.conf)? - ie, SHOW ALL says it's 0 no
> matter what I do.

I think you're looking at it in a session that's connecting over a Unix
socket. You need to be connected over TCP in order for the variable
to be meaningful. It'll read as 0 in a socket connection.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-01-14 15:46:07 Re: tcp_keepalives_idle ignored
Previous Message Tom Lane 2008-01-14 15:39:17 Re: ERROR: shared buffer hash table corrupted