pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Johnson <robj@hightouchinc.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?
Date: Wed, 31 Oct 2012 18:05:33 +0000
Message-ID: <A5D03C8F7DFDCB4393CE3CF936B42EDB65CA4092@htmail10.hightouchinc.com> (raw)
In-Reply-To: <13136.1351705376@sss.pgh.pa.us>
References: <E1TTZlj-00049B-0Z@wrigleys.postgresql.org>
	<13136.1351705376@sss.pgh.pa.us>

> 
> 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

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."




view thread (4+ messages)  latest in thread

Message-ID: <A5D03C8F7DFDCB4393CE3CF936B42EDB65CA4092@htmail10.hightouchinc.com>
Permalink:  ../A5D03C8F7DFDCB4393CE3CF936B42EDB65CA4092@htmail10.hightouchinc.com/
Also on:    postgresql.org/message-id/A5D03C8F7DFDCB4393CE3CF936B42EDB65CA4092@htmail10.hightouchinc.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: robj@hightouchinc.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #7631: tcp_keepalives_* parameters ignored in postgresql.conf - related to 9.0.10 or 9.0.9 patch?
  In-Reply-To: <A5D03C8F7DFDCB4393CE3CF936B42EDB65CA4092@htmail10.hightouchinc.com>
  References: <E1TTZlj-00049B-0Z@wrigleys.postgresql.org> <13136.1351705376@sss.pgh.pa.us> <A5D03C8F7DFDCB4393CE3CF936B42EDB65CA4092@htmail10.hightouchinc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox