Re: checkpointer: PANIC: could not fsync file: No such file or directory

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Shawn Debnath <sdn(at)amazon(dot)com>
Subject: Re: checkpointer: PANIC: could not fsync file: No such file or directory
Date: 2019-12-14 06:15:31
Message-ID: CA+hUKGKk=y2br9hYaQsN=ka1+ya2i8p+6a1o70qBq1Uz5oRfVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Dec 14, 2019 at 5:32 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> On Sat, Dec 14, 2019 at 5:05 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> > > Pushed.
> >
> > Build farm not happy... checking...
>
> Hrmph. FileGetRawDesc() does not contain a call to FileAccess(), so
> this is failing on low-fd-limit systems. Looking into a way to fix
> that...

Seemed best not to use FileGetRawDesc(). Rewritten to use only File,
and tested with the torture-test mentioned upthread under ulimit -n
50.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-12-14 06:29:43 Re: logical decoding : exceeded maxAllocatedDescs for .spill files
Previous Message Thomas Munro 2019-12-14 04:32:12 Re: checkpointer: PANIC: could not fsync file: No such file or directory