Re: WAL files not being recycled - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: WAL files not being recycled
Date
Msg-id 20160516224450.GA123161@alvherre.pgsql
Whole thread Raw
In response to WAL files not being recycled  (Scott Moynes <scott@vmfarms.com>)
Responses Re: WAL files not being recycled  (Scott Moynes <scott@vmfarms.com>)
List pgsql-general
Scott Moynes wrote:
> I have a PostgreSQL server that is not recycling WAL files. Log files are
> continually created and no old log files are ever removed.
>
> Running PostgreSQL v 9.4.8 with archive settings:
>
>     archive_mode = on
>     archive_command = /bin/true
>
> Checkpoint logging is enabled and does not record any logs being recycled:

See the wal_keep_segments option, as well as existance of any
replication slot (select * from pg_replication_slots).

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-general by date:

Previous
From: Scott Moynes
Date:
Subject: WAL files not being recycled
Next
From: Adrian Klaver
Date:
Subject: Re: WAL files not being recycled