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

From: Mattias Engdegård <[email-masked]>
Date: Sat, 11 Apr 2020 20:15:37 +0200

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?