GNU bug report logs - #38644
26.3; emacs uses 100% CPU with auto-revert-mode

Previous Next

Package: emacs;

Reported by: Peter Ludemann <peter.ludemann <at> gmail.com>

Date: Tue, 17 Dec 2019 01:25:02 UTC

Severity: normal

Found in version 26.3

Fixed in version 27.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Peter Ludemann <peter.ludemann <at> gmail.com>
To: Mattias EngdegÄrd <mattiase <at> acm.org>
Cc: 38644 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: bug#38644: 26.3; emacs uses 100% CPU with auto-revert-mode
Date: Sun, 5 Jan 2020 11:31:51 -0800
[Message part 1 (text/plain, inline)]
Mattias:

Are you asking if I've tried this:

(dir-locals-set-class-variables 'auto-revert-with-polling
   '((nil . ((auto-revert-use-notify . nil)))))

(dir-locals-set-directory-class
   "/tmp/" 'auto-revert-with-polling)

No, I haven't.

Which version of Emacs would you like me to try this with? And what result
are you expecting/hoping to see? (e.g., might it reduce the current 30-80%
CPU load for polling with emacs 28.0.50?) There are only a few open files
directly under /tmp, so would this have any effect or does it propagate
down to subdirectories?

[Also, I'd need a few more details (not being an emacs-internals person)
... should I add this to my .emacs and restart, or execute in a scratch
buffer, or ...?]

On Sun, 5 Jan 2020 at 05:05, Mattias EngdegÄrd <mattiase <at> acm.org> wrote:

> Just out of curiosity --- did you try setting auto-revert-avoid-polling?
> If so, did it have any effect?
>
>
[Message part 2 (text/html, inline)]

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

Previous Next


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