pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: stale WAL files?
Date: Tue, 26 Mar 2019 09:50:37 -0600
Message-ID: <599C6022-1DA1-477D-895C-7E217D350B85@gmail.com> (raw)
In-Reply-To: <3dccbbe4-e115-11ab-2d78-74c3cc9e2e43@aklaver.com>
References: <10FF70E2-9F70-4469-A4F4-4081988F0204@gmail.com>
	<3dccbbe4-e115-11ab-2d78-74c3cc9e2e43@aklaver.com>



> On Mar 26, 2019, at 8:08 AM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
> 
> On 3/25/19 5:10 PM, Rob Sargent wrote:
>> PG10.7, Centos7
>> On Mar15 we filled our default tablespace/WAL partition.  Cleaned up some old dumps and restarted. pg_wal had apparently exploded but cleaned itself up by the next day. On Mar16 I ran CHECKPOINT in all databases on that server (except template0).  All seems fine except for 271 WALs from MAR16 going nowhere fast.  Of course we see transient WALS come and go every day.  We did a restart of the server last Friday (Mar22) without issue.
>> -rw-------. 1 postgres postgres 16777216 Mar 16 16:32 0000000100000CE9000000DD
>>  ...(269 others)
>> -rw-------. 1 postgres postgres 16777216 Mar 16 17:01 0000000100000CEA000000E9
>> What’s keeping these alive.  Or can they be deleted? Any normal admin routine likely to clean these up?
> 
> wal_keep_segments?
Commented out in postgres.conf
> 
> Do you have replication set up and replication slots in use?
No, sorry I should have said that up front. We’re simple folk.

view thread (22+ messages)  latest in thread

Message-ID: <599C6022-1DA1-477D-895C-7E217D350B85@gmail.com>
Permalink:  ../599C6022-1DA1-477D-895C-7E217D350B85@gmail.com/
Also on:    postgresql.org/message-id/599C6022-1DA1-477D-895C-7E217D350B85@gmail.com

 · 

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: robjsargent@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: stale WAL files?
  In-Reply-To: <599C6022-1DA1-477D-895C-7E217D350B85@gmail.com>
  References: <10FF70E2-9F70-4469-A4F4-4081988F0204@gmail.com> <3dccbbe4-e115-11ab-2d78-74c3cc9e2e43@aklaver.com> <599C6022-1DA1-477D-895C-7E217D350B85@gmail.com>

* 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