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