Re: Old WAL files under pg_xlog not getting delete - Mailing list pgsql-admin

From David G. Johnston
Subject Re: Old WAL files under pg_xlog not getting delete
Date
Msg-id CAKFQuwZoawTQ5E05OY61cTaiXxcz6kom7gY0-_6wn9=Nqc6kHA@mail.gmail.com
Whole thread Raw
In response to Re: Old WAL files under pg_xlog not getting delete  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Old WAL files under pg_xlog not getting delete  (rammohan ganapavarapu <rammohanganap@gmail.com>)
List pgsql-admin
On Wed, Jan 30, 2019 at 5:00 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> Hmm ... I would recommend to keep the xlog files in a subdir, not the
> root of the filesystem.

They are in a subdir (under /opt/pgdata), and the OP seems likely to
have omitted the self/parent hidden directories during his check as
well.  Plus per the docs we actually expect 501 so there isn't a need
to account for 6 extra, just 5.

Dave


pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Old WAL files under pg_xlog not getting delete
Next
From: rammohan ganapavarapu
Date:
Subject: Re: Old WAL files under pg_xlog not getting delete