Christophe Pettus <xof@thebuild.com> writes:
> On May 13, 2024, at 11:17, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> What's causing that I can't say. It doesn't look like we log the
>> errno anywhere when failing to read a zone file :-(
> File descriptor exhaustion? (Of course, that would mean something somewhere is leaking them, which is another
problem.)
Since this is in a pretty-new process, it would have to be global FD
exhaustion, that is ENFILE not EMFILE. (Assuming macOS even has
that concept; its BSD roots sure do, but who knows what Apple's
done to it over the years.) You'd likely have seen more side-effects
of such a condition.
I was wondering more about permissions checks gone wrong, comparable
to the antivirus-induced misbehaviors we hear about on Windows.
Not that that's a comforting answer.
regards, tom lane