Re: prevent WAL replication to fill filesystem - Mailing list pgsql-general

From Laurenz Albe
Subject Re: prevent WAL replication to fill filesystem
Date
Msg-id 7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at
Whole thread Raw
In response to prevent WAL replication to fill filesystem  (basti <mailinglist@unix-solution.de>)
Responses Re: prevent WAL replication to fill filesystem  (Jehan-Guillaume de Rorthais <jgdr@dalibo.com>)
List pgsql-general
On Tue, 2021-08-31 at 10:36 +0200, basti wrote:
>  have a old PG 9.6 with WAL replication.
> for some reason the rsync was failed and the filesystem was filled by
> pg_xlog files.
> As result PG stops working.
> 
> Is there a way to prevent WAL replication to fill filesystem by xlog
> files in case of failure?

Sure.

Upgrade to v13 and set "max_slot_wal_keep_size".

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




pgsql-general by date:

Previous
From: basti
Date:
Subject: prevent WAL replication to fill filesystem
Next
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: prevent WAL replication to fill filesystem