pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Rene Romero Benavides <rene.romero.b@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: stale WAL files?
Date: Wed, 3 Apr 2019 12:58:54 -0600
Message-ID: <D8A92253-EEE0-46B4-B56F-8177E6D6A616@gmail.com> (raw)
In-Reply-To: <CANaGW08X652v9cJg=khQLfpzRwo-bZCcJ0eXfAJ-XYKZG3vOFg@mail.gmail.com>
References: <10FF70E2-9F70-4469-A4F4-4081988F0204@gmail.com>
	<3dccbbe4-e115-11ab-2d78-74c3cc9e2e43@aklaver.com>
	<599C6022-1DA1-477D-895C-7E217D350B85@gmail.com>
	<20190328133005.GB2558@paquier.xyz>
	<973f0fdf-e20f-a8a1-86c8-7f145eb31b70@gmail.com>
	<20190329125811.GF1954@paquier.xyz>
	<989E476E-D798-4F80-ADDE-3DA4EB9CAA3C@gmail.com>
	<6F2111AD-1CD9-4077-AA8B-F6E1F7AD809D@gmail.com>
	<CANaGW0--3RxzM9TKDJUCz3Dyiez9xY4BcotpE4z8a97fVeoxsQ@mail.gmail.com>
	<CANaGW08X652v9cJg=khQLfpzRwo-bZCcJ0eXfAJ-XYKZG3vOFg@mail.gmail.com>



> On Apr 1, 2019, at 9:20 PM, Rene Romero Benavides <rene.romero.b@gmail.com> wrote:
> 
> 
> On Mon, Apr 1, 2019 at 6:30 PM Rene Romero Benavides <rene.romero.b@gmail.com <mailto:rene.romero.b@gmail.com>> wrote:
> 
> On Sat, Mar 30, 2019 at 5:03 PM Gmail <robjsargent@gmail.com <mailto:robjsargent@gmail.com>> wrote:
> 
> 
> > On Mar 30, 2019, at 10:54 AM, Gmail <robjsargent@gmail.com <mailto:robjsargent@gmail.com>> wrote:
> > 
> > 
> >>>> On Mar 29, 2019, at 6:58 AM, Michael Paquier <michael@paquier.xyz <mailto:michael@paquier.xyz>> wrote:
> >>> 
> >>> On Thu, Mar 28, 2019 at 09:53:16AM -0600, Rob Sargent wrote:
> >>> This is pg10 so it's pg_wal.  ls -ltr
> >>> 
> >>> 
> >>> -rw-------. 1 postgres postgres 16777216 Mar 16 16:33
> >>> 0000000100000CEA000000B1
> >>> -rw-------. 1 postgres postgres 16777216 Mar 16 16:33
> >>> 0000000100000CEA000000B2
> >>> 
> >>> ... 217 more on through to ...
> >>> 
> >>> -rw-------. 1 postgres postgres 16777216 Mar 16 17:01
> >>> 0000000100000CEA000000E8
> >>> -rw-------. 1 postgres postgres 16777216 Mar 16 17:01
> >>> 0000000100000CEA000000E9
> >>> -rw-------. 1 postgres postgres 16777216 Mar 28 09:46
> >>> 0000000100000CEA0000000E
> > I’m now down to 208 Mar 16 WAL files so they are being processed (at least deleted).  I’ve taken a snapshot of the pg_wal dir such that I can see which files get processed. It’s none of the files I’ve listed previously
> 
> Two more have been cleaned up.  001C and 001D generated at 16:38 Mar 16
> 
> 
> 
> Please share your complete postgresql.conf file and the results from this query: 
> SELECT * FROM pg_settings;
> has someone in the past configured wal archiving?
> You've ran out of disk space as this log message you shared states:
> No space left on device
> what's the output of df -h
> 
> -- 
> El genio es 1% inspiración y 99% transpiración.
> Thomas Alva Edison
> http://pglearn.blogspot.mx/ <http://pglearn.blogspot.mx/;
> 
> 
> BTW , how spread apart are checkpoints happening? do you have stats on that? maybe they're too spread apart and that's why WAL files cannot be recycled rapidly enough?  
> -- 
> El genio es 1% inspiración y 99% transpiración.
> Thomas Alva Edison
> http://pglearn.blogspot.mx/ <http://pglearn.blogspot.mx/;
> 
I think my attempt to send postgresql.conf and pg_settings report ran afoul of the mailer. Here again by attachment.

Attachments:

  pg_settings.log (application/octet-stream, 459.3K) download

  postgresql.conf.hide (application/octet-stream, 23.1K) download

view thread (22+ messages)  latest in thread

Message-ID: <D8A92253-EEE0-46B4-B56F-8177E6D6A616@gmail.com>
Permalink:  ../D8A92253-EEE0-46B4-B56F-8177E6D6A616@gmail.com/
Also on:    postgresql.org/message-id/D8A92253-EEE0-46B4-B56F-8177E6D6A616@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, rene.romero.b@gmail.com, michael@paquier.xyz, adrian.klaver@aklaver.com
  Subject: Re: stale WAL files?
  In-Reply-To: <D8A92253-EEE0-46B4-B56F-8177E6D6A616@gmail.com>
  References: <10FF70E2-9F70-4469-A4F4-4081988F0204@gmail.com> <3dccbbe4-e115-11ab-2d78-74c3cc9e2e43@aklaver.com> <599C6022-1DA1-477D-895C-7E217D350B85@gmail.com> <20190328133005.GB2558@paquier.xyz> <973f0fdf-e20f-a8a1-86c8-7f145eb31b70@gmail.com> <20190329125811.GF1954@paquier.xyz> <989E476E-D798-4F80-ADDE-3DA4EB9CAA3C@gmail.com> <6F2111AD-1CD9-4077-AA8B-F6E1F7AD809D@gmail.com> <CANaGW0--3RxzM9TKDJUCz3Dyiez9xY4BcotpE4z8a97fVeoxsQ@mail.gmail.com> <CANaGW08X652v9cJg=khQLfpzRwo-bZCcJ0eXfAJ-XYKZG3vOFg@mail.gmail.com> <D8A92253-EEE0-46B4-B56F-8177E6D6A616@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