Re: Streaming replication - 11.5 - Mailing list pgsql-general

From Nicola Contu
Subject Re: Streaming replication - 11.5
Date
Msg-id CAMTZZh1giJXj09aBYYfe0hxSYkqY3JRW3=OdoPKRzRVkOKDptA@mail.gmail.com
Whole thread Raw
In response to Re: Streaming replication - 11.5  (Nicola Contu <nicola.contu@gmail.com>)
Responses Re: Streaming replication - 11.5  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
So in the logs I now see this :

2020-03-13 11:03:42 GMT [10.150.20.22(45294)] [27804]: [1-1] db=[unknown],user=replicator LOG:  terminating walsender process due to replication timeout

So I tried increasing the wal_sender_timeout to 300s but it did not help

Il giorno gio 12 mar 2020 alle ore 15:56 Nicola Contu <nicola.contu@gmail.com> ha scritto:
The encryption is at os level. So the drives are encrypted with a password where the db saves data 

Il gio 12 mar 2020, 15:51 Adrian Klaver <adrian.klaver@aklaver.com> ha scritto:
On 3/12/20 4:31 AM, Nicola Contu wrote:
> The replicator is ok and the replicated as well.
> %Cpu(s):  0.2 us,  1.0 sy,  0.0 ni, 94.8 id,  4.0 wa,  0.0 hi,  0.0 si,
>   0.0 st
>
> CPU is really low on both.
>
> I am running pg_basebackup again everytime.
> Any other suggestions?
>

I have to believe their is a connection between changing to encrypting
the disks and your issues. Not sure what, but to help how is the
encryption being done and what program is being used?


--
Adrian Klaver
adrian.klaver@aklaver.com

pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: Re: PostgreSQL10.x client Vs. PostgreSQL 11.x server
Next
From: "Zwettler Markus (OIZ)"
Date:
Subject: vacuum full doubled database size