From: Michael Paquier <michael@paquier.xyz>
To: Andrus <kobruleht2@hot.ee>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Log files polluted with permission denied error messages after every 10 seconds
Date: Mon, 8 Mar 2021 08:38:02 +0900
Message-ID: <YEVj2uOY9XNlipeD@paquier.xyz> (raw)
In-Reply-To: <a92f58bd-e562-ac6e-df88-a0ef8fbc91cd@hot.ee>
References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee>
<676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at>
<97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee>
<YELcpyM5Nc1H7L2m@paquier.xyz>
<c3541c40-00d9-aeb6-1a97-43d6c4e37d94@hot.ee>
<YEScndff3+QMJCkp@paquier.xyz>
<a92f58bd-e562-ac6e-df88-a0ef8fbc91cd@hot.ee>
On Sun, Mar 07, 2021 at 11:45:26AM +0200, Andrus wrote:
> Should files with .deleted extension deleted manually to save disk space ?
> May of them have dates before today.
RemoveOldXlogFiles() would discard any of those .deleted files because
they don't match a legal WAL segment name, so checkpoints are not able
to work on them even in the future. I would avoid meddling with
anything that a backend may finish to touch while running, but that
should not really matter here as they are just never chosen for
deletion. Piling up those files is not a good thing, so while you
still need to figure out what's causing those files to remain around
on your side, perhaps we should improve the situation in the backend
itself.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, kobruleht2@hot.ee, laurenz.albe@cybertec.at
Subject: Re: Log files polluted with permission denied error messages after every 10 seconds
In-Reply-To: <YEVj2uOY9XNlipeD@paquier.xyz>
References: <3861ff1e-0923-7838-e826-094cc9bef737@hot.ee> <676dc946300076e60d6af455ac1bfa489fbbdd8b.camel@cybertec.at> <97e00b3b-9357-4386-d4bd-b9128e4b8924@hot.ee> <YELcpyM5Nc1H7L2m@paquier.xyz> <c3541c40-00d9-aeb6-1a97-43d6c4e37d94@hot.ee> <YEScndff3+QMJCkp@paquier.xyz> <a92f58bd-e562-ac6e-df88-a0ef8fbc91cd@hot.ee> <YEVj2uOY9XNlipeD@paquier.xyz>
* 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