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 1eqQei-0006of-MN for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Feb 2018 21:49:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eqQeh-0003Wo-K5 for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Feb 2018 21:49:55 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqQeh-0003Vx-8w for pgsql-bugs@lists.postgresql.org; Mon, 26 Feb 2018 21:49:55 +0000 Received: from mx0a-00030c01.pphosted.com ([148.163.156.98]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eqQeT-0000n3-8x for pgsql-bugs@lists.postgresql.org; Mon, 26 Feb 2018 21:49:48 +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 w1QLnbNd023174 for ; Mon, 26 Feb 2018 15:49:38 -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=Z75Kxrq+vEmVTFbvHHcsy0MXe25qdU1D2QED8Tlpc4s=; b=XDz6ioGefg9Ad6acLDxqRS/2fwqagrdM7d2lnx55X6q3n2Q0iXY17FQexv1SaabBQ7rg 0cfZB0rLJmHuMqwqvMZPTWJNxgWhV3L9T/fCzPyvE1NhJVRfQeGriCHGERPLmHaBpgdz R05eNkB428aVkEBkljmPj8VPIkeXY/pLMoN973Va/p1KDwlI2eSpUfvDVF0/smKi7JDB KLMg1lycBx0r65Q+LQDiSsekyuB89T6xD9vGyJ5aJXrwKnnargtDZeaYksSAjN/ONJO5 txIgNQDn00qYIdb1EarzPsLTiWAQPDK1vwFY9vw8zTq1mwWERe/QpttACPYMU24uKbGz HQ== Received: from chu1x9dlp01.cust.transunion.com ([66.175.240.251]) by mx0a-00030c01.pphosted.com with ESMTP id 2gcstp83jg-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 26 Feb 2018 15:49:38 -0600 X-AuditID: 0adc1a49-577ff7000000700c-4b-5a947b4ec292 Received: from cho1w9mx02.corp.transunion.com (chu1w9ap03.cust.transunion.com [10.220.26.59]) by (Symantec Messaging Gateway) with SMTP id 5D.E3.28684.E4B749A5; Mon, 26 Feb 2018 15:25:37 -0600 (CST) Received: from cho3w9mx07.corp.transunion.com (10.216.40.172) 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; Mon, 26 Feb 2018 15:49:33 -0600 Received: from cho3w9mx10.corp.transunion.com (10.216.40.175) by cho3w9mx07.corp.transunion.com (10.216.40.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Mon, 26 Feb 2018 15:49:32 -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; Mon, 26 Feb 2018 15:49:33 -0600 From: "Kolla, Mahesh" To: Tomas Vondra 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: AQHTrAJ85CJuNdIYC0Sn2UuwGhaKhaOwu2I5gAUikvOAAV3iYA== Date: Mon, 26 Feb 2018 21:49:33 +0000 Message-ID: <5745a050aefd493f838a8c17516454a3@transunion.com> References: <151932012944.3881.5301513372480676421@wrigleys.postgresql.org> <20180222172758.GD24978@vm2.eradman.com> <28c9086b7fe148ffa8fbc0a381a99ea7@transunion.com> <22119.1519323567@sss.pgh.pa.us> <83fe5de9207d46fc9ab5b500da71a99b@transunion.com> <01692319-7c0a-ee7a-9225-41b20a8ab5f7@2ndquadrant.com> In-Reply-To: <01692319-7c0a-ee7a-9225-41b20a8ab5f7@2ndquadrant.com> 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_090CEAD0_DD68E6C2_9902DC04_350658E5"; 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+NgFvrIIsWRmVeSWpSXmKPExsXCdUfKWjewekqUQfceMYsNz9IdGD2ONhUG MEZx2aSk5mSWpRbp2yVwZRz/OYupYIV0xZMPRxgbGCeIdzFyckgImEh8uTOLuYuRi0NI4CSj xP55X9lBEkICzUwSk7foQiRamCQeXvvCBuGcZ5R4eXMvM0gVm4CxxJ3FB1lAbBEBfYm2ZYeY QGxmgTyJXzeeg9UIC7hKTL6/grGLkQOoxk1i4Q8NiHInic9Pv7OB2CwCqhKnf54AG8MrYCux uHsrE8SuXUwSbb29YBdxCjhL9L37CtbAKCAm8f3UGqhd4hK3nsxngnhHROLhxdNsELaoxMvH /1hB9koIKEmsfegLEZaVOHftOSuELS3RsuQeO4StIDF3zlKwH5kFZjJKrNu3mQniIEGJkzOf sEBCRUPiY+tOqJm+EitecED02km8+LqVEcKWlDi44gbLBEbZWUium4Vs7CwkYyGKtCWe3nwK Z9+/2cYGYZtL7Fg7FSouL7F89mNWCNtY4tWsB6wLGDlWMconZ5QaVlim5BQYGOollxaX6JUU JeYVl+Zl5ufpJefnbmKEpBHPHYw72/wPMQpwMCrx8CqsmhQuxJpYVlyZe4hRmoNFSZz31tY7 4UIC6YklqdmpqQWpRfFFpTmpxYcYmTg4pRoYwxdFbL95pu4Ph5A/z7yEDQwSN1ksbtdY7b+7 ZtUCl843VWaaXxjXOWx509d2rtT1+JGMMw7HzIwdtR+tOmzwqrKr8EO3/Vz+BL3zGp4ZgoIM wmf5yrs1+q0iOdTOr3Nplzx4zKdEdcXHmNjawOAmi4ValpmHLq6U27P/QtdNc8E9Pm53xNYo sRRnJBpqMRcVJwIA2qxbUAQDAAA= X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-26_07:,, 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=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802260274 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --PGP_Universal_090CEAD0_DD68E6C2_9902DC04_350658E5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: QUOTED-PRINTABLE Hello Tomas, Thank you for the suggestions.=20 We are not getting any other errors in our stand by database .This error i= s written directly to postgres.log by Logger process. We are not running an= y shell script for it . It is showing dev/null :no such file or directory may be because of this co= mmand=20 restore_command=3D'cp /archive/%f %p 2>/dev/null' in recovery.conf file=20 Please let me know whether it gives any clue to answer this problem Thank you Mahesh Kolla =20 -----Original Message----- From: Tomas Vondra [mailto:tomas.vondra@2ndquadrant.com]=20 Sent: Sunday, February 25, 2018 6:45 PM To: Kolla, Mahesh ; Tom Lane Cc: Eric Radman ; pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15078: Unable to receive data from WAL Stream Error On 02/22/2018 07:43 PM, Kolla, Mahesh wrote: > Hello Tom , >=20 > 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 >=20 >> sh: dev/null: No such file or directory >> sh: dev/null: No such file or directory < 2018-02-19 01:37:48.860 CST >>> LOG: invalid resource manager ID 48 at >> 15/2D69E848 >=20 I believe that essentially means the WAL is corrupted in some way, possibly= due to a network issue. I don't think I've seen such error message though,= so not sure. FWIW it's really hard to investigate issues when you only copy three lines= , two of which are errors in your shell script. That provides no context wh= atsoever. > Please kindly suggest us a value for tcp_keepalives_idle as it is=20 > presently set to 0 >=20 That really depends on your networking configuration, but you can try this: tcp_keepalives_idle =3D 60 tcp_keepalives_interval =3D 15 tcp_keepalives_count =3D 3 which essentially pings the server every 60 seconds, if the server does not= respond in 15 seconds it'll try again, and will consider the connection go= ne after 3 failures. But it's unclear if this really is a networking issue, so hard to say if th= is improves the situation. regards --=20 Tomas Vondra https://urldefense.proofpoint.com/v2/url?u=3D= http-3A__www.2ndQuadrant.com&d=3DDwICaQ&c=3D7gn0PlAmraV3zr-k385KhKAz9NTx0dw= ockj5vIsr5Sw&r=3DTA1Pdlc8dsrZZaPtMe1RtA9m8ljv1LsiVrnfONx6s5s&m=3Dv2w_MPC4qm= LjfQj0gSGkwxnfk_83kjpOcUuJqFeKjGY&s=3D52uy0dtmIjRjlwzoB12AEOPe0DQdw0sYU7Cor= W06OOc&e=3D PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --PGP_Universal_090CEAD0_DD68E6C2_9902DC04_350658E5 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) iQEVAwUBWpSA65cLS9e4RC7zAQgmwAf7B/jWBLL2qao8hP9DG9oIySL2Gr+ZjVXr LwucPL7k6tIrghjzRY+Xi4XUmed3pldiWeJqDe482Jeld1I0pPeGyPY+f97d4Kaq M97yI4EWMSIDp+fAAdakNGU0u2YzwyLbqOX9csegLOfD3MFyH4V7XGKWFeeTeu+P NoOM53lpY/yRbJbqyTVpQxmo4Agd45oorrQeWmd5iMeCuPp/7eRQRTXgYsFYQeJJ X/Y8wXdV2oHpwCdov03oSDcmj378HDKYtdxcCeN+63jTSKfwruSXsmykdjVKi4Jl qTsB1AfGqiNKBJcxG541YEr5At1lfFa9t2AN8xDebKXSc2YGSY2vWg== =pmOA -----END PGP SIGNATURE----- --PGP_Universal_090CEAD0_DD68E6C2_9902DC04_350658E5--