pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: basti <mailinglist@unix-solution.de>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: prevent WAL replication to fill filesystem
Date: Tue, 31 Aug 2021 10:53:45 +0200
Message-ID: <7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at> (raw)
In-Reply-To: <b29ef63e-9265-e4b1-afaf-453f3c254a6f@unix-solution.de>
References: <b29ef63e-9265-e4b1-afaf-453f3c254a6f@unix-solution.de>

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






view thread (5+ messages)  latest in thread

Message-ID: <7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at>
Permalink:  ../7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at/
Also on:    postgresql.org/message-id/7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, mailinglist@unix-solution.de
  Subject: Re: prevent WAL replication to fill filesystem
  In-Reply-To: <7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at>
  References: <b29ef63e-9265-e4b1-afaf-453f3c254a6f@unix-solution.de> <7dddc78919c491aa1b6f1e369ed8024ccba9f1be.camel@cybertec.at>

* 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