Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?
Date
Msg-id 13136.1351705376@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?  (robj@hightouchinc.com)
Responses Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?  (Rob Johnson <robj@hightouchinc.com>)
List pgsql-bugs
robj@hightouchinc.com writes:
> The last four lines in my postgresql.conf file, under
> /var/lib/pgsql/9.0/data, are:

> # (15 per hour * 6 hours = 90)
> tcp_keepalives_count=90
> tcp_keepalives_idle=240
> tcp_keepalives_interval=240

> I last changed this file on August 13th, 2012.  I remember that when I added
> these parameters to postgresql.conf, they showed the correct values when I
> ran "show all" at the psql command line.  However, they now all display 0
> values.

I believe those will read as zero in a session connected over a Unix
socket.  Try it in a session connected over TCP ...

            regards, tom lane

pgsql-bugs by date:

Previous
From: robj@hightouchinc.com
Date:
Subject: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?
Next
From: Tom Lane
Date:
Subject: Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?