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 1eowt0-0000Db-Gc for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Feb 2018 19:50:34 +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 1eowsz-0006Ma-I8 for pgsql-bugs@arkaria.postgresql.org; Thu, 22 Feb 2018 19:50:33 +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 1eovqQ-00011f-Vg for pgsql-bugs@lists.postgresql.org; Thu, 22 Feb 2018 18:43:51 +0000 Received: from mx0a-00030c01.pphosted.com ([148.163.156.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eovqN-0007oy-7q for pgsql-bugs@lists.postgresql.org; Thu, 22 Feb 2018 18:43:49 +0000 Received: from pps.filterd (m0103492.ppops.net [127.0.0.1]) by mx0a-00030c01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1MIhTdX009387 for ; Thu, 22 Feb 2018 12:43:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=transunion.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=tuppdkim; bh=Tpc6+2CY+XV3lNyCb0zbLE6cwP0ENw3FYQ2U/L1CEDM=; b=GaMFb+2mfMIzRIMfOuRPNVZu7loI8iVHEdZbPRTERDUytCQ6TNgfD9zxxyFuI5SNFK46 KLE+BZN/8dcbgoDA0uvVVaFPT1wN3J7F4OZmOP1XkYsaPZQuGUGYjtMYrWBHNX7rgfrX ki1Yc8tQ1yaxBRmYtB5C6XFmk6ryTdRvsTT785EXZlrGN2aVSI46GMWzOtQdVsTFWvQ+ JHo4GamE6pE8J3YOV5X+P9aA4zreUF5+tY56OsMQYxxaH2AQVRjRH2+ViszwF1IiTPnO dafBzxZMPceqiN4yzksbQXaVfshz+yNgNkd5M5WGr0vDVLZh5kXsRA1OoRvnbBTayHwk ng== Received: from chu1x9dlp01.cust.transunion.com ([66.175.240.251]) by mx0a-00030c01.pphosted.com with ESMTP id 2ga2hnr5wv-8 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 22 Feb 2018 12:43:41 -0600 X-AuditID: 0adc1a49-955419800000700c-bd-5a8f09cb1cd0 Received: from cho1w9mx02.corp.transunion.com (chu1w9ap03.cust.transunion.com [10.220.26.59]) by (Symantec Messaging Gateway) with SMTP id E8.A9.28684.BC90F8A5; Thu, 22 Feb 2018 12:19:55 -0600 (CST) Received: from cho3w9mx09.corp.transunion.com (10.216.40.174) by cho1w9mx02.corp.transunion.com (10.219.26.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.669.32; Thu, 22 Feb 2018 12:43:39 -0600 Received: from cho3w9mx10.corp.transunion.com (10.216.40.175) by CHO3W9MX09.corp.transunion.com (10.216.40.174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Thu, 22 Feb 2018 12:43:38 -0600 Received: from cho3w9mx10.corp.transunion.com ([fe80::ec8d:8ebf:4f5b:2e84]) by CHO3W9MX10.corp.transunion.com ([fe80::ec8d:8ebf:4f5b:2e84%12]) with mapi id 15.01.0669.032; Thu, 22 Feb 2018 12:43:38 -0600 From: "Kolla, Mahesh" To: Tom Lane CC: Eric Radman , "pgsql-bugs@lists.postgresql.org" Subject: RE: BUG #15078: Unable to receive data from WAL Stream Error Thread-Topic: BUG #15078: Unable to receive data from WAL Stream Error Thread-Index: AQHTrAJ85CJuNdIYC0Sn2UuwGhaKhaOwu2I5gAAAvDA= Date: Thu, 22 Feb 2018 18:43:38 +0000 Message-ID: <83fe5de9207d46fc9ab5b500da71a99b@transunion.com> References: <151932012944.3881.5301513372480676421@wrigleys.postgresql.org> <20180222172758.GD24978@vm2.eradman.com> <28c9086b7fe148ffa8fbc0a381a99ea7@transunion.com> <22119.1519323567@sss.pgh.pa.us> In-Reply-To: <22119.1519323567@sss.pgh.pa.us> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-pgp-mapi-encoding-version: 2.5.0 x-pgp-encoding-version: 2.0.2 x-pgp-encoding-format: MIME x-originating-ip: [10.216.40.11] Content-Type: multipart/signed; boundary="PGP_Universal_9B08A94A_09307DC3_8CB3EB5F_23518092"; protocol="application/pgp-signature"; micalg=pgp-sha256 MIME-Version: 1.0 X-CrossPremisesHeadersFilteredBySendConnector: cho1w9mx02.corp.transunion.com X-OrganizationHeadersPreserved: cho1w9mx02.corp.transunion.com X-CFilter-Loop: Reflected X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrIIsWRmVeSWpSXmKPExsXCdUfKWvc0Z3+UwZJmDYsNz9IdGD2ONhUG MEZx2aSk5mSWpRbp2yVwZTzsO85UsFqoYtHBuywNjNf4uxg5OSQETCR2ntvEBmILCZxklPjR BGRzAdnNTBIX+7+wQDgtTBLrj65mh3DOM0pcvdvFDtLCJmAscWfxQRYQW0RAQaLvwTuwOLNA nsSvG8+ZQWxhAVeJyfdXMHYxcgDVuEks/KEBUW4lcWfDQSYQm0VAVeLN6kOsIDavgK3EpdV/ oXadZZTY9WEj2HmcAroSu3qeghUxCohJfD+1hglil7jErSfzmSDeEZF4ePE0G4QtKvHy8T9W kL0SAkoSax/6QoRlJc5de84KYUtLtCy5xw5hK0jMnbMU7HtmgZmMEm/+b2CHOEhQ4uTMJyyQ INKQ+Ni6E2qmr8SKFxwQvXYSL75uZYSwJSUOrrjBMoFRdhaS62YhGzsLyViIIm2Jpzefwtn3 b7axQdjmEjvWToWKy0ssn/2YFcI2lng16wHrAkaOVYzyyRmlhhWWKTkFBoZ6yaXFJXolRYl5 xaV5mfl5esn5uZsYIWnEcwfjzjb/Q4wCHIxKPLwKqyaFC7EmlhVX5h5ilOZgURLnvbX1TriQ QHpiSWp2ampBalF8UWlOavEhRiYOTqkGxh07j3/12Pq7+o6NjNrt85+slzk+ib3+c9szU4d5 97dMntbhrtq8Qyt0wy2rTTZT1bZohnBkbt4k3jAl+uqnTl+JiocH9j7en7DEzGrmuxdTuGbd f8O+NmqqxQOnp1NeFfAt/7EmwL5Vzr55TYnOpEehe/wuaLAWvlY9LzNtWtEafZamiN3NDBuU WIozEg21mIuKEwHlQEXPBAMAAA== X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-22_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=956 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802220236 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --PGP_Universal_9B08A94A_09307DC3_8CB3EB5F_23518092 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: QUOTED-PRINTABLE Hello Tom , Please let me know why we are getting below associated LOGS saying invalid = resource manager with the FATAL message Unable to receive data from WAL = Stream Error > sh: dev/null: No such file or directory > sh: dev/null: No such file or directory < 2018-02-19 01:37:48.860 CST=20 > > LOG: invalid resource manager ID 48 at > 15/2D69E848 Please kindly suggest us a value for tcp_keepalives_idle as it is presently= set to 0 Thank you Mahesh Kolla -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us]=20 Sent: Thursday, February 22, 2018 12:19 PM To: Kolla, Mahesh Cc: Eric Radman ; pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15078: Unable to receive data from WAL Stream Error "Kolla, Mahesh" writes: > Thank you for the response. Primary is accepting the ssl connections=20 > .Stand by is in sync with primary all the time but we receive FATALS=20 > sometimes 3 to 4 times a day which make us worry if having any data=20 > 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 conne= ctions too easily. If you can't adjust the network infrastructure, you cou= ld try enabling TCP keepalives (with a shorter repeat interval than the def= ault) on the replication connections. regards, tom lane --PGP_Universal_9B08A94A_09307DC3_8CB3EB5F_23518092 Content-Type: application/pgp-signature; name="PGP.sig" Content-Transfer-Encoding: 7BIT Content-Disposition: attachment; filename="PGP.sig" -----BEGIN PGP SIGNATURE----- Version: 10.4.1 (Build 620) iQEVAwUBWo8PWZcLS9e4RC7zAQinDgf/YTWetvjxVRbNuAR/2ysfPzSrUxCbxKD8 qyho+OSlxTgYE8DXPyQOD5l/jKYmrQs5dCiu619JtWkDOg9FTnqzo0DUCr9z0/LH 4DMZKHHtmSbL6BRatQUgA/X4Xdb39wP3MPp1QwAa0DY++at6Vz0Md2m1ymLlj98C 6enernP6wJxBh3s0umkFkXI/xm2ii8BTwFI31sXqkHjnVORSCG554UPwCVrPABZW 7ApeTb5FOY3VUd5t+UGWECs4a/0RcO0SeUPovXowg42nBzm+X0lNACD9J0sMOkY4 V7a8sRBNnx4r9frHP7Ig/vrEGF8xVwEnzDPCWfmTSKA/Gd/jhPPnlA== =9M2G -----END PGP SIGNATURE----- --PGP_Universal_9B08A94A_09307DC3_8CB3EB5F_23518092--