pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kolla, Mahesh <Mahesh.Kolla@transunion.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Eric Radman <ericshane@eradman.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: RE: BUG #15078: Unable to receive data from WAL Stream Error
Date: Thu, 22 Feb 2018 18:43:38 +0000
Message-ID: <83fe5de9207d46fc9ab5b500da71a99b@transunion.com> (raw)
In-Reply-To: <22119.1519323567@sss.pgh.pa.us>
References: <151932012944.3881.5301513372480676421@wrigleys.postgresql.org>
	<20180222172758.GD24978@vm2.eradman.com>
	<28c9086b7fe148ffa8fbc0a381a99ea7@transunion.com>
	<22119.1519323567@sss.pgh.pa.us>

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 
> > 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] 
Sent: Thursday, February 22, 2018 12:19 PM
To: Kolla, Mahesh <Mahesh.Kolla@transunion.com>
Cc: Eric Radman <ericshane@eradman.com>; pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15078: Unable to receive data from WAL Stream Error

"Kolla, Mahesh" <Mahesh.Kolla@transunion.com> writes:
> Thank you for the response. Primary is accepting the ssl connections 
> .Stand by is in sync with primary all the time but we receive FATALS 
> sometimes 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

Attachments:

  PGP.sig (application/pgp-signature, 474B) download

view thread (8+ messages)  latest in thread

Message-ID: <83fe5de9207d46fc9ab5b500da71a99b@transunion.com>
Permalink:  ../83fe5de9207d46fc9ab5b500da71a99b@transunion.com/
Also on:    postgresql.org/message-id/83fe5de9207d46fc9ab5b500da71a99b@transunion.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: Mahesh.Kolla@transunion.com, tgl@sss.pgh.pa.us, ericshane@eradman.com
  Subject: Re: BUG #15078: Unable to receive data from WAL Stream Error
  In-Reply-To: <83fe5de9207d46fc9ab5b500da71a99b@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>

* 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