Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eovT1-00039e-IQ for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Feb 2018 18:19:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eovT0-0003tj-JM for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Feb 2018 18:19:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eovT0-0003ta-DJ for pgsql-bugs@lists.postgresql.org; Thu, 22 Feb 2018 18:19:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eovSr-0007Ar-JS for pgsql-bugs@lists.postgresql.org; Thu, 22 Feb 2018 18:19:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w1MIJREN022120; Thu, 22 Feb 2018 13:19:27 -0500 From: Tom Lane To: "Kolla, Mahesh" cc: Eric Radman , "pgsql-bugs@lists.postgresql.org" Subject: Re: BUG #15078: Unable to receive data from WAL Stream Error In-reply-to: <28c9086b7fe148ffa8fbc0a381a99ea7@transunion.com> References: <151932012944.3881.5301513372480676421@wrigleys.postgresql.org> <20180222172758.GD24978@vm2.eradman.com> <28c9086b7fe148ffa8fbc0a381a99ea7@transunion.com> Comments: In-reply-to "Kolla, Mahesh" message dated "Thu, 22 Feb 2018 17:36:45 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22118.1519323567.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 22 Feb 2018 13:19:27 -0500 Message-ID: <22119.1519323567@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Kolla, Mahesh" writes: > Thank you for the response. Primary is accepting the ssl connections .St= and by is in sync with primary all the time but we receive FATALS sometime= s 3 to 4 times a day which make us worry if having any data corruption = I doubt this is a PG bug; it sounds more like a networking problem. Maybe there's a router or firewall in between that is timing out your connections too easily. If you can't adjust the network infrastructure, you could try enabling TCP keepalives (with a shorter repeat interval than the default) on the replication connections. regards, tom lane