Re: prevent WAL replication to fill filesystem

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: basti <mailinglist(at)unix-solution(dot)de>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: prevent WAL replication to fill filesystem
Date: 2021-08-31 08:53:45
Message-ID: 7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jehan-Guillaume de Rorthais 2021-08-31 09:37:52 Re: prevent WAL replication to fill filesystem
Previous Message Laurenz Albe 2021-08-31 08:52:10 Re: vacuumlo