Subject: bug#40023: 26.3 Emacs crashes when creating process if many file handles are in use (e.g., when using ccls)

From: Eli Zaretskii <[email-masked]>
Date: Sat, 11 Apr 2020 22:02:20 +0300

> From: Mattias Engdegård <[email-masked]>
> Date: Sat, 11 Apr 2020 20:15:37 +0200
> Cc: Robert Pluim <[email-masked]>, Eli Zaretskii <[email-masked]>
> 
> Actually reducing RLIMIT_NOFILE doesn't sound like a terrific idea -- if anything, we need as many descriptors as we can get, in particular on macOS where kqueue uses up one per monitored file. If we are limited by FD_SETSIZE, then we shouldn't use select. Or am I missing something?

We are talking about the emacs-27 branch, where such deep changes are
out of the question.