From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#61350: Eglot over Tramp freezes with large project Date: Wed, 01 Mar 2023 10:46:51 +0000 Message-ID: <7ba1dd627c221d2d716a@heytings.org> References: <87y1ootw2t.fsf@gmail.com> <69968923.705640.1677163650760@office.mailbox.org> <87a613f0b7.fsf@gmx.de> <87r0udvmzr.fsf@gmx.de> <878rglxrzm.fsf@gmail.com> <87cz5wmjbx.fsf@gmx.de> <87h6v8f7u9.fsf@gmail.com> <87o7pflfcd.fsf@gmx.de> <87wn43e9ht.fsf@gmail.com> <874jr6oont.fsf@gmx.de> <87sfeqd4zi.fsf@gmail.com> <877cw1swjm.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="623"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Thomas Koch , Michael Albinus , 61350@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 01 11:47:18 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pXJzR-000AVE-FI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Mar 2023 11:47:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXJzG-0008Vp-BD; Wed, 01 Mar 2023 05:47:06 -0500 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 1pXJzC-0008UI-V2 for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2023 05:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXJzC-0004Lg-06 for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2023 05:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXJzB-0003BK-Mn for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2023 05:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Mar 2023 10:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61350 X-GNU-PR-Package: emacs Original-Received: via spool by 61350-submit@debbugs.gnu.org id=B61350.167766761712220 (code B ref 61350); Wed, 01 Mar 2023 10:47:01 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 1 Mar 2023 10:46:57 +0000 Original-Received: from localhost ([127.0.0.1]:52833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXJz7-0003B2-72 for submit@debbugs.gnu.org; Wed, 01 Mar 2023 05:46:57 -0500 Original-Received: from heytings.org ([95.142.160.155]:49902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXJz4-0003Ar-Hv for 61350@debbugs.gnu.org; Wed, 01 Mar 2023 05:46:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1677667612; bh=FVW/D2jYiSuOIIphlhg2hViUBbtEJmJZFd4cnDkO65Y=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=NTgyNIL7R9MF6cAuHh+dZScio6QTdlbKWkgAvVQs07v9g/YWwbOUlXlAr6C46r+MM wVam9Kc6JZffNIqblmCda5USliwtH8Yh/BIuZWqsevU+L8FiUjYq6WaVun/wmjM7LY YAvnn8OPpEyVBk4Ab7K+7wgO/9m2AceCF5aoTGMC7FA7lfwwPRFOjLewCN6DR84lhI vRlQAH4F06FlFO8WJ0wbFoPCGYr6r/15Uccb1LciqVlHlN579ZOyDUsOrliqOrs0E9 utwEla6xLxPdU2HsxeAATXcbOfCp1fXXxE3yDuCCJ7H6RvUPk7/bY6I2bkqKJ6P5FP grtaTSSHW9vFg== In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:257045 Archived-At: >> Users, who have set ControlMaster in their ~/.ssh/config (like Thomas), >> are not satified. For them we need another setting of >> tramp-use-ssh-controlmaster-options. I'm working on this. > > Looking at the Tramp code, I think Thomas's idea of using > > -o "ControlMaster=no" -o "ControlPath=none" > > would probably be quite effective. > Instead of turning ControlMaster off, I suggest to first try to set ControlPersist on. The "freeze" problem described here is typical of multiplexing an ssh connection with ControlMaster set without also setting ControlPersist. (If you set ControlMaster without also setting ControlPersist, the socket is closed when the connection by which it was created is closed, even if other connections are still using it.)