Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TTcJs-0006Wk-Bh for pgsql-bugs@postgresql.org; Wed, 31 Oct 2012 17:43:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TTcJn-0008Ij-0i for pgsql-bugs@postgresql.org; Wed, 31 Oct 2012 17:43:12 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q9VHguh1013137; Wed, 31 Oct 2012 13:42:56 -0400 (EDT) From: Tom Lane To: robj@hightouchinc.com cc: 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? In-reply-to: References: Comments: In-reply-to robj@hightouchinc.com message dated "Wed, 31 Oct 2012 14:59:47 -0000" Date: Wed, 31 Oct 2012 13:42:56 -0400 Message-ID: <13136.1351705376@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201210/253 X-Sequence-Number: 34553 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