Re: BUG #15078: Unable to receive data from WAL Stream Error

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: "Kolla, Mahesh" <Mahesh(dot)Kolla(at)transunion(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Eric Radman <ericshane(at)eradman(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15078: Unable to receive data from WAL Stream Error
Date: 2018-02-26 00:44:32
Message-ID: 01692319-7c0a-ee7a-9225-41b20a8ab5f7@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


On 02/22/2018 07:43 PM, Kolla, Mahesh wrote:
> 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
>

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 whatsoever.

> Please kindly suggest us a value for tcp_keepalives_idle as it is
> presently set to 0
>

That really depends on your networking configuration, but you can try this:

tcp_keepalives_idle = 60
tcp_keepalives_interval = 15
tcp_keepalives_count = 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 gone after 3 failures.

But it's unclear if this really is a networking issue, so hard to say if
this improves the situation.

regards

--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tomas Vondra 2018-02-26 00:54:01 Re: BUG #15088: Can create subquery with duplicate column names
Previous Message PG Bug reporting form 2018-02-26 00:34:14 BUG #15088: Can create subquery with duplicate column names