pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Fan Liu <fan.liu@ericsson.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #16317: max_wal_size does not remove WAL files, cause "no space left"
Date: Wed, 25 Mar 2020 16:04:30 +0100
Message-ID: <20200325150430.GA21159@depesz.com> (raw)
In-Reply-To: <HE1PR0701MB2569B5A6A1F2D084B201F9C49ECE0@HE1PR0701MB2569.eurprd07.prod.outlook.com>
References: <16317-b7ad5f27ad90aceb@postgresql.org>
	<20200325113830.GA25387@depesz.com>
	<HE1PR0701MB256901F49557F7F5A4CDDF069ECE0@HE1PR0701MB2569.eurprd07.prod.outlook.com>
	<HE1PR0701MB2569B5A6A1F2D084B201F9C49ECE0@HE1PR0701MB2569.eurprd07.prod.outlook.com>

On Wed, Mar 25, 2020 at 12:26:22PM +0000, Fan Liu wrote:
> >>postgres=# ps uwwxf | grep -C3 archive
> >>postgres-# \q
> >>ss7-db-pg-1:/ # ps uwwxf | grep -C3 archive

I asked for this ps/grep from shell of postgres. not from psql as
postgres, and not from root shell.

But it's not really important.

can you show me:

select pg_walfile_name( pg_current_wal_lsn());

and then, as postgres:
cd /var/lib/postgresql/data/pgdata/wal (or wherever wal is), and do:
ls -l

and show us the output (possiblky using some paste site).

Best regards,

depesz






view thread (7+ messages)  latest in thread

Message-ID: <20200325150430.GA21159@depesz.com>
Permalink:  ../20200325150430.GA21159@depesz.com/
Also on:    postgresql.org/message-id/20200325150430.GA21159@depesz.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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: depesz@depesz.com, fan.liu@ericsson.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #16317: max_wal_size does not remove WAL files, cause "no space left"
  In-Reply-To: <20200325150430.GA21159@depesz.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