Re: FileFallocate misbehaving on XFS

From: Michael Harris <harmic(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Tomas Vondra <tomas(at)vondra(dot)me>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: FileFallocate misbehaving on XFS
Date: 2025-01-04 04:34:37
Message-ID: CADofcAWeD4uFPjk8Tee+wxFbaoa30hEENs+JQXg24+uaoKVD1A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Andres

On Wed, 1 Jan 2025 at 02:31, Andres Freund <andres(at)anarazel(dot)de> wrote:
> Note that there's
> a) a few hours between messages, whereas previous they were more frequent
> b) f_bfree increased substantially.
>
> I assume that somewhere around 2AM some script prunes old partitions?

Correct.
Data is imported continuously, and the pruning is typically scheduled for 02:00.
In general the events do seem more frequent when the FS is more full.

On Fri, 3 Jan 2025 at 01:40, Andres Freund <andres(at)anarazel(dot)de> wrote:
> FWIW, I raised this on the #xfs irc channel. One ask they had was:
>
> │15:56:40 dchinner | andres: can you get a metadump of a filesystem that is displaying these symptoms for us to analyse?
> │15:57:54 dchinner | metadumps don't contain data, and metadata is obfuscated so no filenames or attributes are exposed, either.

I'm on leave from work at the moment, but I will try to collect this
when I'm back.

Cheers
Mike

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2025-01-04 04:54:39 Re: Proposal: add new API to stringinfo
Previous Message vignesh C 2025-01-04 04:33:24 Re: Logical Replication of sequences