pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: PostgreSQL 10.5 : Logical replication timeout results in PANIC in pg_wal "No space left on device"
Date: Wed, 21 Nov 2018 08:03:57 +0200
Message-ID: <b34279c0-14ea-bf3b-61a4-109792059e09@matrix.gatewaynet.com> (raw )
In-Reply-To: <14A9158A-B487-4DB6-84FC-0B04F08D69A2@crazybean.net >
References: <ae8812c3-d138-73b7-537a-a273e15ef6e1@matrix.gatewaynet.com >
<838a3914-a078-88eb-ee5e-4059b7d14620@matrix.gatewaynet.com >
<0BBC4BB3-4A59-4040-B065-82D09268A4F7@crazybean.net >
<48415b2a-ea0f-cf5e-1145-17e8797a6e79@matrix.gatewaynet.com >
<739822AC-E20F-493B-8B4F-8AF78A8276D0@crazybean.net >
<c0651fcb-95e9-3fe8-ce34-122c5090c826@matrix.gatewaynet.com >
<946FBD41-7BAF-4414-8FB9-C0F16A0680F6@crazybean.net >
<fae91c5d-3c64-a968-2ab5-95bd59442b09@matrix.gatewaynet.com >
<14A9158A-B487-4DB6-84FC-0B04F08D69A2@crazybean.net >
On 20/11/18 10:48 μ.μ., Rui DeSousa wrote:
>
>
>> On Nov 20, 2018, at 3:34 PM, Achilleas Mantzios
>> <achill@matrix.gatewaynet.com <mailto:achill@matrix.gatewaynet.com>>
>> wrote:
>>
>> Hey, I was reading the docs, it seems it means :
>>
>> net.ipv4.tcp_keepalive_time + net.ipv4.tcp_keepalive_intvl *
>> net.ipv4.tcp_keepalive_probes = 2hrs 11 Mins 15 Secs, rather than 18 Hrs
>
> Yeah, that’s correct. I wonder why it didn’t terminate.
Most probably because there was another created clone, cloud migration
magic, that's my theory, albeit not confirmed by the provider. Logical
worker (walreceiver) was still alive and happy even after the primary
crushed. I have the logs from the other standby and it immediately
detected the problem (PANIC on the primary) and retried. No firewall
dropping packets, in every test I did, the logical bgworker detects any
problems *instantly*, and retries after 5 secs by default.
view thread (25+ messages) latest in thread
Message-ID: <b34279c0-14ea-bf3b-61a4-109792059e09@matrix.gatewaynet.com>
Permalink: ../b34279c0-14ea-bf3b-61a4-109792059e09@matrix.gatewaynet.com/
Also on: postgresql.org/message-id/b34279c0-14ea-bf3b-61a4-109792059e09@matrix.gatewaynet.com
copy link · copy postgr.es
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: achill@matrix.gatewaynet.com, pgsql-admin@lists.postgresql.org
Subject: Re: PostgreSQL 10.5 : Logical replication timeout results in PANIC in pg_wal "No space left on device"
In-Reply-To: <b34279c0-14ea-bf3b-61a4-109792059e09@matrix.gatewaynet.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