GNU bug report logs - #20015
25.0.50; Slow Emacs startup after recent TRAMP changes

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Fri, 6 Mar 2015 06:24:01 UTC

Severity: normal

Merged with 21504

Found in version 25.0.50

Fixed in version 25.1

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tassilo Horn <tsdh <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20015 <at> debbugs.gnu.org
Subject: bug#20015: 25.0.50; Slow Emacs startup after recent TRAMP changes
Date: Fri, 06 Mar 2015 09:53:20 +0100
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Michael,

>> Since the recent TRAMP changes on master, emacs startup takes about a
>> minute.  Starting it with
>>
>>   emacs -Q --eval "(progn (setq debug-on-quit t) (require 'tramp))"
>>
>> then waiting till it hangs and hitting C-g reveals:
>>
>> --8<---------------cut here---------------start------------->8---
>> Debugger entered--Lisp error: (quit)
>>   call-process("ssh" nil t nil "-o" "ControlPath=%C" "host.does.not.exist")
>
> What happens when you apply "ssh -o ControlPath=%C
> host.does.not.exist" locally? Same delay for one minute?

Yes, or rather it are exactly 30 seconds.

% time ssh -o ControlPath=%C host.does.not.exist
ssh: Could not resolve hostname host.does.not.exist: Name or service not known
ssh -o ControlPath=%C host.does.not.exist  0,00s user 0,00s system 0%
cpu 30,019 total

> Which ssh version do you run locally? Check with "ssh -V".

% ssh -V                           
OpenSSH_6.7p1, OpenSSL 1.0.2 22 Jan 2015

Bye,
Tassilo




This bug report was last modified 9 years and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.