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 19:38:22 +0000
Message-ID: <78e189efca37446b98eaacf2399ff1c2@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,
We got information from network team saying that primary and standby are communicating through a switch ,there is no firewall at all
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 as well. It looks like a bug
> 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
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
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: <78e189efca37446b98eaacf2399ff1c2@transunion.com>
References: <151932012944.3881.5301513372480676421@wrigleys.postgresql.org> <20180222172758.GD24978@vm2.eradman.com> <28c9086b7fe148ffa8fbc0a381a99ea7@transunion.com> <22119.1519323567@sss.pgh.pa.us> <78e189efca37446b98eaacf2399ff1c2@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