From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP Date: Wed, 11 Sep 2024 16:13:42 +0200 Message-ID: <87zfoee0rt.fsf@gmx.de> References: <87o75241qh.fsf@gmail.com> <86plpi2ixa.fsf@gnu.org> <87seudke20.fsf@gmail.com> <8634md2vc2.fsf@gnu.org> <87h6asrk42.fsf@gmx.de> <86a5gk28ht.fsf@gnu.org> <87le0450x8.fsf@gmx.de> <865xr8228d.fsf@gnu.org> <87jzfofzcl.fsf@gmail.com> <8634mc1ty0.fsf@gnu.org> <87h6asl3hl.fsf@gmail.com> <86ttesyo1t.fsf@gnu.org> <87bk0zjzt1.fsf@gmx.de> <86a5gjy02i.fsf@gnu.org> <87wmjn2wq5.fsf@gmail.com> <87seuaids7.fsf@gmx.de> <86frqaweo2.fsf@gnu.org> <87a5gigo9b.fsf@gmx.de> <86cylew3tr.fsf@gnu.org> <87r09sexp0.fsf@gmx.de> <87plpb6luu.fsf@gmail.com> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5458"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 73046@debbugs.gnu.org To: Suhail Singh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 11 16:25:57 2024 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 1soOI8-0001HE-PM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Sep 2024 16:25:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soOHb-0004JU-8e; Wed, 11 Sep 2024 10:25:23 -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 1soOGK-0003JZ-4D for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 10:24:07 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soO7Y-0007h4-7b for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 10:24:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=UFJv6NXXzHIsO8+iaIdkWom6p9EeTN4gurK4IlVI+k0=; b=GDvtwmODltT6Sc4Zfv/uPT1tYvhxXTqCvTM5KuIBr3TQZdwEXCQnN/HZV+z0dKgJqJZzHW0zkO4/c/barrfascfWiUVSzRk8sR81nqWOPHdbryJ8hwg+Nw+0QEb+TqGse/qonoyOzWfna3WMn/vsCppVF9pkiRd2g2ZGPJlhQVoqH6fsFc1K1m77IhOkMEwFPAOVrz67sTT3GEJk6SEAf7tpWwFD/U6oirlRVB2ZIkPSHNwwUiVplIILn+gh9DC2bv5TvgTSfJ0bss6B4w0aIiGQ73c7yg4LYJ1VIFn83s7v64Mp17YQbrgvgkG9M7rA5v8KoUlvPDTPCu0g8u/U4A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1soO7Z-0004oM-JC for bug-gnu-emacs@gnu.org; Wed, 11 Sep 2024 10:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Sep 2024 14:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73046 X-GNU-PR-Package: emacs Original-Received: via spool by 73046-submit@debbugs.gnu.org id=B73046.172606404518404 (code B ref 73046); Wed, 11 Sep 2024 14:15:01 +0000 Original-Received: (at 73046) by debbugs.gnu.org; 11 Sep 2024 14:14:05 +0000 Original-Received: from localhost ([127.0.0.1]:39304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soO6f-0004ml-7W for submit@debbugs.gnu.org; Wed, 11 Sep 2024 10:14:05 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:59691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soO6c-0004m5-C2 for 73046@debbugs.gnu.org; Wed, 11 Sep 2024 10:14:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1726064025; x=1726668825; i=michael.albinus@gmx.de; bh=UFJv6NXXzHIsO8+iaIdkWom6p9EeTN4gurK4IlVI+k0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=GRMnrfzipzibY1WFSQiIyC8BTjCqOVOdfKuysFNxF7ZD28343k3RO1E6dX9HXFup rqUAxxWJ0BLFq6Cfc9XjoaAgChJ1X4to7WsDNdfxNxyVmcL8zc4J+bGVT/5vIc92X 9CQwBCQMNdJCAkalai9+skJCBN6sf4SQ9k7gW23scuGpbnqxIFNlnej5JdByqTfW5 p9pUQ2p8MOwNxn7VS8XVWtx8iOl2lY9YXwzPh54/MV64Yv4o6TQaf0UG7MDsMquEk UbmZbkrZoLQPnAqj5NwoW4b7vIHnspBn7ACJXgJq1BB5R+8OLf9LsBhCswCkPGqOi os09iQ57rKIzRIb/gg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MgNcz-1sN35y0U8t-00oHNM; Wed, 11 Sep 2024 16:13:45 +0200 In-Reply-To: <87plpb6luu.fsf@gmail.com> (Suhail Singh's message of "Tue, 10 Sep 2024 21:05:29 -0400") X-Provags-ID: V03:K1:nYtddW+vsdGY7PlcCUfev25/FiQ/Q4Ht6RlGAO1k5NjGRbx3qnC tF17lGLCjZefDi5QdCWBlaLyH+tjBftgEKfaLtlqb3KqlYbdBqlnvHgbCcb9d5LmpFlxEoL xYYYy0MxSvgJ0JXiZ9+jiF/TiyrjimoCD7QBVz3oeemzWiJRjCAna6SeHY+78xff5lS5y5L AwON8SQtBZNGuuMfYZswg== UI-OutboundReport: notjunk:1;M01:P0:ncHnZlFE3CA=;Y2MVUxJtEAfr29uTz2Xpj0m+IwS DaqPUG79/D8iygJL07rOr6KJ+1wwW912BmHIOG+jKEqg0LTRW0mYZCgmXXzBiKx2+Myo1hg2g 1zq7KO1c3tBeciVMBis6OSXVAmDvkvOlNHWWRrJyC1Hb5qytl2R8nkkxOu0TVmaA4uq/DsRfg 0+see+BNbshozZHQcY0ULkCN/R1ybJrLiYUm50GWUmjBxCVC3729DSV8mJS9Mcz970ySQ9Drs jVzslloizMqb41n8gIEYmwRl19XmiTkxE0QZZkCrSYz2y8PXVWr7WhT0aV53YH8plmDNCy2Lg lMlR8LINy2+khbgE3gvQ//IZqrTfB7Z6BUzn4sRrEoehOtIVTlha2a1xwzUpoZCklTv814WOK KbPcNu94q2I5A5zQclMbegRJ73uQVN3/69eAyhFkg/PFmJiApBZ7NtearJVgn1+YYUVV85VM3 9yRrpmAn4WaKLfxmyZGzdJkYLEc4p769t2z5p3Mxcy0rS+yq+2edNn96gV59jXdj3fEeUFCpm 8gEQZqpap2vWYFI3/0BzJQa8m6F0hwpl+nlc71whGOXcYUdswQ2IS+GfOvb4/3TVVPOp0WxLe zUJQ6R7vb4AfMMlBBxMfPN3R6sNL8TyT5MtYCSLM6qUbITqU1x4aXKFOk3wNAiLinhf2j2KB2 rXshlFc3ln5tWIhZu8a/0T5Oc/zch8aoNc9v+Bazfz5XoAZMnyEySoGcwUyTegfL7+Y2HK4JL +RI5guVc7T8kLsmgRr9MdhsRSJCDqdImxs0o35xHRQ76Z6cbVqWhunwRjRKxKbbQsvg28+8h 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:291601 Archived-At: Suhail Singh writes: Hi Suhail, >> Tramp used a non-zero timeout in the past. This was removed some years >> ago, I don't remember the reason. > > The timeout in tramp-accept-process-output was disabled in commit > 54ef338ba3670415cf47fabc33a92d4904707c7e . The commit mentions > bug#61350 , however, it's not clear (based on briefly skimming the > discussion there) that this change was ever necessary. If not, should > the timeout be reintroduced? tramp-accept-process-output has seen several changes over the last 19 years. Some of them with collateral damages in edge cases, which needed another fix then. I'm happy it works stable now, and I'm reluctant to touch it w/o urgent need. That's why I have used the (sit-for 0.005) solution proposed by Eli, outside tramp-accept-process-output. Best regards, Michael.