public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Andres Freund <[email protected]>
Cc: [email protected]
Subject: Re: Misleading "epoll_create1 failed: Too many open files"
Date: Tue, 26 Nov 2024 11:35:56 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <xjjx7r4xa7beixuu4qtkdhnwdbchrrpo3gaeb3jsbinvvdiat5@cwjw55mna5of>
References: <xjjx7r4xa7beixuu4qtkdhnwdbchrrpo3gaeb3jsbinvvdiat5@cwjw55mna5of>
Andres Freund <[email protected]> writes:
> I think it's rather confusing to claim that epoll_create1() failed when we
> didn't even call it.
> Why are we misattributing the failure to a system call that we didn't make?
I think the idea was that this mechanism is equivalent to an EMFILE
limit. But if you feel a need to make a distinction, this seems fine:
> elog(ERROR, "AcquireExternalFD, for epoll_create1, failed: %m");
You should probably check all of 3d475515a, because I think
I applied the same idea in more than one place.
regards, tom lane
view thread (5+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Misleading "epoll_create1 failed: Too many open files"
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox