From: Robert Pluim <rpluim@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: scratch/more-fds
Date: Fri, 14 Oct 2022 12:31:07 +0200 [thread overview]
Message-ID: <87h706zogk.fsf@gmail.com> (raw)
In-Reply-To: <875ygm9039.fsf@yahoo.com> (Po Lu's message of "Fri, 14 Oct 2022 18:22:02 +0800")
>>>>> On Fri, 14 Oct 2022 18:22:02 +0800, Po Lu <luangruo@yahoo.com> said:
Po> What's still missing in scratch/more-fds? AFAIK, LSP contains some
Po> features that require a large amount of files to be watched, which in
Po> turn needs an increase to the file descriptor limit. As Eglot will be
Po> included with Emacs 29, we should probably include scratch/more-fds as
Po> well, at least as an optional feature.
- there are a number of places that assume that the number of maximum
open files is fixed
- the file descriptor limit needs to dynamically adjust
I have code for this locally, which I need to clean up and push.
Note that watching large numbers of files is a big issue only on macOS:
on other platforms file-watching actually watches directories, so itʼs
much harder to run into the limitations (this includes MS-Windows)
Once itʼs finished we can discuss whether it should be turned on by
default: based on past experience, I think it would be default-off in
29.1 (although maybe default-on for macOS if weʼre feeling
adventurous)
Robert
--
prev parent reply other threads:[~2022-10-14 10:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <875ygm9039.fsf.ref@yahoo.com>
2022-10-14 10:22 ` scratch/more-fds Po Lu
2022-10-14 10:31 ` Robert Pluim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h706zogk.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).