GNU bug report logs - #31099
27.0.50; ultra long tramp entries in recentf file

Previous Next

Package: emacs;

Reported by: Thomas Hisch <thomas.hisch <at> ims.co.at>

Date: Sun, 8 Apr 2018 19:22:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 27.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31099 in the body.
You can then email your comments to 31099 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#31099; Package emacs. (Sun, 08 Apr 2018 19:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Hisch <thomas.hisch <at> ims.co.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 08 Apr 2018 19:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Hisch <thomas.hisch <at> ims.co.at>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 27.0.50; ultra long tramp entries in recentf file
Date: Sun, 8 Apr 2018 21:21:30 +0200
I have a recentf file containing only 171 lines but it's 56MB big! Due to
its large size loading and closing emacs is slowed down.

The large size is due to a few tramp entries like the following (each 
entry consumes approx 10MB):

  #("/ssh:user <at> host:/file1" 1 4 (match-part #("/ssh:user <at> host:/file2" 1 4
   ....

I guess that this is either a bug in recentf or in tramp.



In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2018-04-08 built on thomas-XPS-13-9360
Repository revision: 8df23a82042fa7dbaaa4377bc376d705595b073f
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.4 LTS

Recent messages:
Invalid face attribute :bold t [64 times]
Quit
Updating buffer list...
Formats have changed, recompiling...done
Updating buffer list...done
Commands: m, u, t, RET, g, k, S, D, Q; q to quit; h for help
Saving file /home/thomas/*message*-20180408-204229...
Wrote /home/thomas/*message*-20180408-204229
Quit
Mark set

Configured using:
 'configure --prefix=/opt/emacs --with-x-toolkit=gtk3 --with-xpm
 --without-jpeg --without-gif --without-tiff'

Configured features:
XPM PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 THREADS

Important settings:
  value of $LC_MONETARY: de_AT.UTF-8
  value of $LC_NUMERIC: de_AT.UTF-8
  value of $LC_TIME: de_AT.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  global-ethan-wspace-mode: t
  project-persist-mode: t
  recentf-mode: t
  savehist-mode: t
  global-hi-lock-mode: t
  hi-lock-mode: t
  window-numbering-mode: t
  projectile-mode: t
  global-flycheck-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  evil-mode: t
  evil-local-mode: t
  flx-ido-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-company-mode: t
  company-mode: t
  diff-auto-refine-mode: t
  pyvenv-mode: t
  override-global-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  global-prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug sendmail ace-jump-mode cl
smart-mode-line-dark-theme sanityinc-tomorrow-night-theme ethan-wspace
url-tramp graphene-projects project-persist graphene-speedbar
graphene-helper-functions tramp-cache recentf tree-widget savehist
hi-lock term disp-table ehelp smart-mode-line rich-minority
color-theme-sanityinc-tomorrow color window-numbering which-key
visual-fill-column rg wgrep-ag wgrep org-pdfview org-element avl-tree
generator ob-python ob-gnuplot org org-macro org-footnote org-pcomplete
org-list org-faces org-entities noutline outline org-version
ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp
ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu
calendar cal-loaddefs pdf-tools pdf-view magit-bookmark bookmark pp
jka-compr pdf-cache pdf-info tq pdf-util image-mode helm-projectile
helm-files helm-tags helm-buffers helm-grep helm-regexp helm-utils
helm-locate helm-help helm-types helm helm-source eieio-compat
helm-multi-match helm-lib projectile ibuf-ext ibuffer ibuffer-loaddefs
stickyfunc-enhance semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
counsel swiper sr-speedbar speedbar sb-image ezimage dframe smex
flycheck-pycheckers flycheck find-func evil evil-integration undo-tree
diff evil-maps evil-commands reveal flyspell ispell evil-jumps
evil-command-window evil-types evil-search evil-ex evil-macros
evil-repeat evil-states evil-core evil-common rect evil-digraphs
evil-vars flx-ido fill-column-indicator magit-obsolete magit-blame
magit-stash magit-bisect magit-remote magit-commit magit-sequence
magit-notes magit-worktree magit-tag magit-merge magit-branch
magit-reset magit-collab ghub url-http tls gnutls url-gw nsm url-auth
url url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode
magit-core magit-autorevert autorevert filenotify magit-process
magit-margin magit-mode git-commit magit-git magit-section magit-utils
crm magit-popup log-edit message rmc puny dired dired-loaddefs rfc822
mml mml-sec epa gnus-util rmail rmail-loaddefs time-date mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader
pcvs-util add-log with-editor async-bytecomp async server dash
highlight-function-calls yasnippet elec-pair highlight-indentation
company-oddmuse company-keywords company-etags company-gtags
company-dabbrev-code company-dabbrev company-files company-capf
company-cmake company-xcode company-clang company-semantic company-eclim
company-template company-bbdb company help-fns radix-tree elpy
find-file-in-project ivy flx delsel ivy-overlay ffap thingatpt windmove
diff-mode pyvenv esh-var esh-cmd esh-opt esh-io esh-ext esh-proc esh-arg
esh-groups eshell esh-module esh-mode esh-util elpy-shell elpy-profile
elpy-django s elpy-refactor python tramp-sh ido grep compile files-x
etags xref project cus-edit cus-start cus-load wid-edit bpr edmacro
kmacro paradox paradox-menu paradox-commit-list hydra lv paradox-execute
paradox-github paradox-core spinner use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core tramp trampver tramp-compat tramp-loaddefs
ucs-normalize shell pcomplete comint ansi-color ring parse-time
format-spec advice xdg mule-util rx info finder-inf package let-alist
derived pcase cl-extra help-mode easymenu url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars seq byte-opt gv bytecomp byte-compile
cconv epg epg-config subr-x cl-loaddefs cl-lib tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 712184 54715)
 (symbols 48 54063 3)
 (miscs 40 606 253)
 (strings 32 139419 12016)
 (string-bytes 1 22991731)
 (vectors 16 120375)
 (vector-slots 8 2834870 157262)
 (floats 8 459 299)
 (intervals 56 930 386)
 (buffers 992 18)
 (heap 1024 58647 5974))
---------------------------------------------------------------------


Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie 
die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail 
in error) please notify the sender immediately and destroy this e-mail. 
Any unauthorized copying, disclosure or distribution of the material 
in this e-mail is strictly prohibited

IMS Nanofabrication GmbH
FN: 208021 p, FB-Gericht: Wien;
Sitz: Schreygasse 3, 1020, Vienna (Austria),Tel. +43 1 214 48 94; 
E-Mail: imsoffice <at> ims.co.at; DVR-Nr: 0374369; www.ims.co.at





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31099; Package emacs. (Mon, 09 Apr 2018 14:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 31099 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Thomas Hisch <thomas.hisch <at> ims.co.at>
Cc: 31099 <at> debbugs.gnu.org
Subject: Re: bug#31099: 27.0.50; ultra long tramp entries in recentf file
Date: Mon, 09 Apr 2018 16:38:36 +0200
Thomas Hisch <thomas.hisch <at> ims.co.at> writes:

Hi Thomas,

> I have a recentf file containing only 171 lines but it's 56MB big! Due to
> its large size loading and closing emacs is slowed down.
>
> The large size is due to a few tramp entries like the following (each
> entry consumes approx 10MB):
>
>   #("/ssh:user <at> host:/file1" 1 4 (match-part #("/ssh:user <at> host:/file2" 1 4
>    ....
>
> I guess that this is either a bug in recentf or in tramp.

I cannot reproduce it locally. Usually, I don't use recentf. For testing
I've enabled it via `M-x recentf-mode', closed Emacs, and started a new
Emacs session. Visiting the recentf file, it doesn't look suspicious.

Do you reproduce the problem with a similar setting, starting with
"emacs -Q"?

Could you send me your recentf file? Maybe I'll see something Tramp
related there.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31099; Package emacs. (Mon, 09 Apr 2018 18:10:01 GMT) Full text and rfc822 format available.

Message #11 received at 31099 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Hisch <thomas.hisch <at> ims.co.at>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 31099 <at> debbugs.gnu.org
Subject: Re: bug#31099: 27.0.50; ultra long tramp entries in recentf file
Date: Mon, 9 Apr 2018 20:09:49 +0200
Hi Michael,

no I can't reproduce it neither using emacs -Q nor with my current emacs 
setup. I regularly update and recompile emacs and my installed elisp 
packages. Approx. 2 weeks ago I noticed that closing emacs takes longer 
than 10sec, but I didn't investigate this further until yesterday.

My recentf config is quite simple:

(setq recentf-save-file (concat thi::cache-file-dir "/recentf"))

(require 'recentf)
(recentf-mode 1)
(setq recentf-keep '(file-remote-p file-readable-p))
(setq recentf-max-menu-items 60)
(setq recentf-max-saved-items 500)
(setq recentf-exclude '("COMMIT_EDITMSG"
                        ".newsrc-dribble"))

I'll keep an eye on this issue.

On 2018-04-09 16:38, Michael Albinus wrote:
> Thomas Hisch <thomas.hisch <at> ims.co.at> writes:
> 
> Hi Thomas,
> 
>> I have a recentf file containing only 171 lines but it's 56MB big! Due to
>> its large size loading and closing emacs is slowed down.
>>
>> The large size is due to a few tramp entries like the following (each
>> entry consumes approx 10MB):
>>
>>    #("/ssh:user <at> host:/file1" 1 4 (match-part #("/ssh:user <at> host:/file2" 1 4
>>     ....
>>
>> I guess that this is either a bug in recentf or in tramp.
> 
> I cannot reproduce it locally. Usually, I don't use recentf. For testing
> I've enabled it via `M-x recentf-mode', closed Emacs, and started a new
> Emacs session. Visiting the recentf file, it doesn't look suspicious.
> 
> Do you reproduce the problem with a similar setting, starting with
> "emacs -Q"?
> 
> Could you send me your recentf file? Maybe I'll see something Tramp
> related there.
> 
> Best regards, Michael.
> 
---------------------------------------------------------------------


Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese 
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie 
die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail 
in error) please notify the sender immediately and destroy this e-mail. 
Any unauthorized copying, disclosure or distribution of the material 
in this e-mail is strictly prohibited

IMS Nanofabrication GmbH
FN: 208021 p, FB-Gericht: Wien;
Sitz: Schreygasse 3, 1020, Vienna (Austria),Tel. +43 1 214 48 94; 
E-Mail: imsoffice <at> ims.co.at; DVR-Nr: 0374369; www.ims.co.at





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#31099; Package emacs. (Wed, 11 Apr 2018 13:27:01 GMT) Full text and rfc822 format available.

Message #14 received at 31099 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Thomas Hisch <thomas.hisch <at> ims.co.at>
Cc: 31099 <at> debbugs.gnu.org
Subject: Re: bug#31099: 27.0.50; ultra long tramp entries in recentf file
Date: Wed, 11 Apr 2018 15:26:15 +0200
Thomas Hisch <thomas.hisch <at> ims.co.at> writes:

> Hi Michael,

Hi Thomas,

> I'll keep an eye on this issue.

So let's keep this bug report open for a couple of weeks. If the
problems happens again, pls send me your recentf file.

Best regards, Michael.




Added tag(s) moreinfo. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Wed, 11 Apr 2018 13:27:02 GMT) Full text and rfc822 format available.

Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Mon, 14 May 2018 08:27:06 GMT) Full text and rfc822 format available.

Notification sent to Thomas Hisch <thomas.hisch <at> ims.co.at>:
bug acknowledged by developer. (Mon, 14 May 2018 08:27:06 GMT) Full text and rfc822 format available.

Message #21 received at 31099-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Thomas Hisch <thomas.hisch <at> ims.co.at>
Cc: 31099-done <at> debbugs.gnu.org
Subject: Re: bug#31099: 27.0.50; ultra long tramp entries in recentf file
Date: Mon, 14 May 2018 10:26:21 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Thomas,
>
>> I'll keep an eye on this issue.
>
> So let's keep this bug report open for a couple of weeks. If the
> problems happens again, pls send me your recentf file.

No further report; I'm closing the bug.

Best regards, Michael.




Added tag(s) unreproducible. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Mon, 14 May 2018 08:28:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Jun 2018 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 320 days ago.

Previous Next


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