From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#61350: Eglot over Tramp freezes with large project Date: Mon, 27 Feb 2023 08:47:30 +0100 Message-ID: <87o7pflfcd.fsf@gmx.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9984"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Thomas Koch , 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 Mon Feb 27 09:04:14 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 1pWYUY-0002Kx-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 09:04:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWYEz-0007Cp-Hk; Mon, 27 Feb 2023 02:48:09 -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 1pWYEu-0007Cf-IS for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 02:48:04 -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 1pWYEt-0001pM-9z for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 02:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWYEs-00036H-6U for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 02:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 07:48:02 +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.167748406611860 (code B ref 61350); Mon, 27 Feb 2023 07:48:02 +0000 Original-Received: (at 61350) by debbugs.gnu.org; 27 Feb 2023 07:47:46 +0000 Original-Received: from localhost ([127.0.0.1]:45799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWYEc-00035D-4T for submit@debbugs.gnu.org; Mon, 27 Feb 2023 02:47:46 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:51921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWYEX-00034v-6D for 61350@debbugs.gnu.org; Mon, 27 Feb 2023 02:47:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1677484051; i=michael.albinus@gmx.de; bh=9jqitcIAFf63EiaMndwFRYct2RbN+PhHGir4988oSEE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=fLikpwC7RkTTKO7023UYGEE5vKACzjzUx4Zv077QDXKYj4S510F8Vmy4ruSebtjM6 6veV4mfDs7RWg2ZNIFeU1jAEWVn5uO3KJzySWPBlHLiu9Gu1xV4f9juRPBNKvP8o7h uNyyel2NfvoMlnQu6bY/fzv2oUlSZmo32TwHqrQGdD2k0QaAFwZ5tW/r+RPxJ77D6k ItLQLlEdbxEcFyihrv5riAbLdQA2WpLsL2NgP3iJEohbiAkIO8Q2AIejqchohZ8ci7 8eghqDU6whwAgfKPLx3PLe2SlRH5lfk+DyUOIaashAfqZWq9CnATGoBT11hCN+yzGb oQx0NwU9iL1Zw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.22]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MUowV-1p6KHa2bBp-00QlGn; Mon, 27 Feb 2023 08:47:31 +0100 In-Reply-To: <87h6v8f7u9.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sun, 26 Feb 2023 21:13:50 +0000") X-Provags-ID: V03:K1:u0muNZBMh76WV7bzrAbA/JMGTRQftfbydE399G/NwXV1vOey2+w obX52Mguad9fO/GJOFwHyJoCYQwsfzmAdpT9gidltnDZcjh6x+1Jo5kMTB3DTEt37jJuw1D mTmGgCVY+xpLZl5FD/w67AU+9QTcUA+T2EQbNNqKu3rtt+pcg7+FTAFbdCE8EhlIwb+hjDE 4NCDEvltqZMf5DXrR9avw== UI-OutboundReport: notjunk:1;M01:P0:BqMgLNiJk8U=;2ugeflJ7bnGkE6WFV7Z7UTzv0+L Ou5vTYvGozGWBeiM4CcUm23QTqrW4eOGBWsh7G78760mjFfR5o6NbOiZ8d3udYauW++cxYwuV d+77JabYCOkSK9/uuMZv5hMedatmfx8K/ctYlrg5HQ5fCJE3lUPkOIDUnMKG6HEkQEX6xT2JV IZ6LOSCDUHPNv3essRAYfk/62aaqCC4/rnqlvP4SDvy7sO2TyzGGs5nQu9SM0N23SqRmGTy2z QAsXuBsDofxUqGW3EeBTxvpq1EySmMZhp/rjYKHCbp3B8VRAoL3IVFzo7mOQ4qy/xd5Q3pxQk HZnwaNJHW6yubBbjRyI53fQVmEdAbnzxCIS47wiQqlIZM8D350DUwtffB2V7e2colvm3U/Gow 4JkehjMwZ3zICF3ocdCcw9VrC1lNG0O6AvZ6XUrTxk+YJH4aBt9xlKVCpcgSbPfsse+qvaxP6 TkFGoPJnKmtWjXMiRQWurkIUlrRL7dt0v6AJXDGwDyMJVp3K1v0iGzp+jmXoa3IdY4ArvpRHy xduSYLuqJZ2Hhy02h0/UyMixhI/juOLSmchbp9TP4bqaKeGXqzZn9D3JE7ni9bhOopv5f0xI3 bTGkQJwxZ2h21FdJ0szKp8OjtNPfhNk5Bt5LE7PHZ+DE0xnm94t28oYir7fTwxZ1Uh9md1t4O 4PwKoszQ5y1FxnW11f0egX9cKVXSqq0dYg5H+vDekV8FnrWnstDLfS3dYQjVEbxbMHRw0Y8JO HMthfsVAS0tvJs/hYJm5bjS+qwnAA6rH+yJiVazJIRkzx2ZZ790G8Lf62nRdwp5eg5Abb5FT 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:256847 Archived-At: Jo=C3=A3o T=C3=A1vora writes: Hi Jo=C3=A3o, >>>> It wasn't lost. The process output was retrieved and placed into the >>>> Tramp buffer, w/o Tramp's interaction. > > Can you confirm that you no longer believe this to be the case? I don't know whether it was Tramp's accept-process-output call, or another one. But yes, this doesn't seem to be a problem. >> But yesterday's debugging has shown, that ssh ControlMaster >> seems to be guilty; it cannot handle large amount of data reliably. > > So maybe one should disable it by default. No, not by default. It improves performance. > How does one disable it? I have trouble understanding from > tramp-use-ssh-controlmaster-options and > tramp-ssh-controlmaster-options. RTFM. The Tramp manual says --8<---------------cut here---------------start------------->8--- If the =E2=80=98~/.ssh/config=E2=80=99 file is configured appropriately = for the above behavior, then any changes to =E2=80=98ssh=E2=80=99 can be suppressed with = this =E2=80=98nil=E2=80=99 setting: (customize-set-variable 'tramp-use-ssh-controlmaster-options nil) This should also be set to =E2=80=98nil=E2=80=99 if you use the =E2=80= =98ProxyCommand=E2=80=99 or =E2=80=98ProxyJump=E2=80=99 options in your =E2=80=98ssh=E2=80=99 configura= tion. --8<---------------cut here---------------end--------------->8--- I will extend this, descibing possible problems with a large amount of data. >> Yes, that's the place. Tramp waits for a trailing shell prompt that it >> tells that everything has been sent from remote. But this shell prompt >> didn't arrive, and Tramp hangs in waiting for this. > > So the problem is now that the shell prompt didn't arrive after all, > because of controlmaster, not because of jsonrpc.el. Can you confirm > this? Yes. > Jo=C3=A3o Best regards, Michael.