[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53041: 29.0.50; TRAMP spins the CPU by polling the child processes w
From: |
Dima Kogan |
Subject: |
bug#53041: 29.0.50; TRAMP spins the CPU by polling the child processes without a delay |
Date: |
Fri, 14 Jan 2022 10:33:47 -0800 |
User-agent: |
mu4e 1.6.10; emacs 29.0.50 |
Michael Albinus <michael.albinus@gmx.de> writes:
> This was discussed several times already. The most recent discussion wrt
> Tramp starts at
> <https://lists.gnu.org/archive/html/emacs-devel/2019-01/msg00301.html>.
>
> The pattern (while (accept-process-output p) was proposed by Stefan
> Monnier in
> <https://lists.gnu.org/archive/html/emacs-devel/2019-01/msg00338.html>,
> so this is used in Tramp. I do not want to reopen this can of worms, really.
>
> To fix your problem of a broken connection, the Tramp manual recommends
> to add "ServerAliveInterval 5" in your ~/.ssh/config, see (info "(tramp)
> Frequently Asked Questions") . Additionally, you might set
> "ServerAliveCountMax 2".
Thanks for the links, Michael. I'll dogfood some patches for a while,
and we can maybe talk about it later if those consistently work well.
Thanks