From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Landing feature/more-fds for Emacs 30? Date: Wed, 15 Mar 2023 17:12:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000ba56205f6f373cf" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15739"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , Robert Pluim To: Elliott Shugerman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 15 18:13:32 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcUgu-0003yg-QA for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Mar 2023 18:13:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcUg0-000293-Us; Wed, 15 Mar 2023 13:12:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcUfy-00028f-H5 for emacs-devel@gnu.org; Wed, 15 Mar 2023 13:12:34 -0400 Original-Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pcUfw-0003oL-KC for emacs-devel@gnu.org; Wed, 15 Mar 2023 13:12:34 -0400 Original-Received: by mail-ot1-x332.google.com with SMTP id r23-20020a05683001d700b00690eb18529fso10559391ota.1 for ; Wed, 15 Mar 2023 10:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678900351; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=s1MGjoXyEYVR0H2eQbzWP2GTpeSsvgYrQR+OyaQySUg=; b=L4ant5pu23YDjLwKr/rynAERnN4LoCncbzTNzMMGaY3sJh2n8+YJnHkhRc22VwCSUh XtLZAIijBErrs2+lnyycjAybjq55voxGJm7MItI+9i0NJcejKrtVnLeFLm0Vwjl45uKR 8QxyVx9ePhHoUk/CpGAz5nZ1zu8Ll96jIjNj7uH2PeqSBWiv7fWGgsKcXDD+sNkAZLCU NyX3fPg8BicDjYCd9CKfRGOgfCzNGw7SgFtKRTVQOW/H3P08Xv/phYz3+BRic9yNMfzq 7uzEHuxCrdEgyuuGm14WPLkGy9uQiJKnCADwtCNEKEUjRbH5sgfOLArwtZgVdwpaGR+0 wB2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678900351; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s1MGjoXyEYVR0H2eQbzWP2GTpeSsvgYrQR+OyaQySUg=; b=UXvnBZQ3rQfltdPvpVQ45E7k7729vHHv4+kkY+bPm2lSwG+PZaX12JLqL3Vrcn0vz4 XdUTAVsKVv4DQbVeb0OrQkxUDG0e0PBFQw7L8t2P9DprZ7OVJdPavoHn6xdb2Iend+zJ rmYCAxQQrSRqj2MxPw6oh4CL8jbXAHqTjDlGPo7MBm0JiHDWby44606GVqqNFuS0kFpt 12T1IXzgmsCNERkdtUPyMQ5a50j43DwdE7UKw3/h13KQHp5ao4KqPJZFAGOVaL2Bn7ud EGbWXiWBm5IjO6Epmsj+UZ/zqvxnSR4frMdoTMZViSw7KCmKzgGBwghfBUCzvoTiLqun 3eSQ== X-Gm-Message-State: AO0yUKXYa/0XXBYK+FOyGV49zQOnFLJ1P53ju+Vwo6KfVEO83V2BQsj4 XOHtx0tHR4kpv+pW4LV2xBgKXxyRQwm+9NEdF9k= X-Google-Smtp-Source: AK7set+PUUBAhzA20TL0OYiRmBsjSb6jA76ukbXznKLkpoA/5KqUUATmQNSypBU/Lx20tvX5Sjlm/2jGEs+EIaOFNjI= X-Received: by 2002:a9d:3f7:0:b0:697:7885:3e3 with SMTP id f110-20020a9d03f7000000b00697788503e3mr2059701otf.4.1678900351180; Wed, 15 Mar 2023 10:12:31 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=joaotavora@gmail.com; helo=mail-ot1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304500 Archived-At: --0000000000000ba56205f6f373cf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Elliott, On Tue, Mar 14, 2023, 16:10 Elliott Shugerman wrote= : > > I work on a large codebase with LSP and used to run into the "too many > open files" error all the time unless I disabled desired functionality or > gave up native-comp. Now, with this patch, not only is that issue gone > entirely, but I find Emacs is generally more responsive and stable on mac= OS. > What LSP server are you using? Is it perhaps requesting many file watchers? Or maybe the client is overwatching on the Emacs side (what client are you using?). Do you have a JSONRPC transcript that you can share with me? Jo=C3=A3o --0000000000000ba56205f6f373cf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Elliott,

On Tue, Mar 14, 2023, 16:10 Elliott Shugerman <eeshugerman@gmail.com> wrote:
<= /div>

I work on a large= codebase with LSP and used to run into the "too many open files"= error all the time unless I disabled desired functionality or gave up nati= ve-comp. Now, with this patch, not only is that issue gone entirely, but I = find Emacs is generally more responsive and stable on macOS.

What LSP server are you using? Is it perhaps requesting many file watc= hers? Or maybe the client is overwatching on the Emacs side (what client ar= e you using?). Do you have a JSONRPC transcript that you can share with me?= =C2=A0

Jo=C3=A3o
--0000000000000ba56205f6f373cf--