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

From: Rob Johnson <robj(at)hightouchinc(dot)com>
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?
Date: 2012-10-31 18:05:33
Message-ID: A5D03C8F7DFDCB4393CE3CF936B42EDB65CA4092@htmail10.hightouchinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>
> robj(at)hightouchinc(dot)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

You are correct. In a TCP session, I see the values that were set in postgresql.conf.
Thank you for the quick answer.

"This message may contain confidential and/or privileged
information. If you are not the addressee or authorized to
receive this for the addressee, you must not use, copy,
disclose, or take any action based on this message or any
information herein. If you have received this message in error,
please advise the sender immediately by reply e-mail and delete
this message. Thank you for your cooperation."

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-10-31 18:09:12 Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?
Previous Message Tom Lane 2012-10-31 17:42:56 Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?