Re: Wal files in /pgsql/14/main/pg_wal not removed - Mailing list pgsql-general

From Tom Lane
Subject Re: Wal files in /pgsql/14/main/pg_wal not removed
Date
Msg-id 1336159.1640535289@sss.pgh.pa.us
Whole thread Raw
In response to Wal files in /pgsql/14/main/pg_wal not removed  (Lucas <root@sud0.nz>)
Responses Re: Wal files in /pgsql/14/main/pg_wal not removed  (Lucas <root@sud0.nz>)
List pgsql-general
Lucas <root@sud0.nz> writes:
> My /pgsql/14/main/pg_wal directory is filling up. The server is not respecting the wal_keep_size = 100GB. I have no
replicationslots in this server, and I have already restarted PostgreSQL.  
> I don’t know what else to look for. Would appreciate any help.

> archive_mode = on
> archive_command = '/pgsql/pg-archive-wal-to-slaves.sh "%p"'

You have archive_mode on, so WAL files will not be removed until
your archive_command reports success.  Poke around in what that's
doing.

            regards, tom lane



pgsql-general by date:

Previous
From: amihay gonen
Date:
Subject: Re: storing zipped SQLite inside PG ?
Next
From: Lucas
Date:
Subject: Re: Wal files in /pgsql/14/main/pg_wal not removed