GNU bug report logs - #22814
25.0.91; Emacs runs out of file descriptors on OS X

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Fri, 26 Feb 2016 06:19:02 UTC

Severity: normal

Found in version 25.0.91

Fixed in version 26.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: Anders Lindgren <andlind <at> gmail.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 22814 <at> debbugs.gnu.org
Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X
Date: Sat, 27 Feb 2016 10:55:42 +0100
[Message part 1 (text/plain, inline)]
>
> > If Emacs hangs because the file notification system runs out of
> > resources (file descriptors or processes), it should detect this by
> > itself and revert to other, safer, methods (e.g. the timer-based
> > system).
>
> A general support for polling in filenotify.el is not foreseen, too much
> effort. But I believe, in the auto-revert case Emacs works already this
> way. When file-notify-add-watch returns nil, auto-revert falls back to
> polling (to be tested, I'll I add a test).
>

This sounds like the right thing to do.

The main question is why Emacs hangs when opening a large desktop (which is
why I didn't want this bug to be closed), even though the file notify
system has this fallback.

    -- Anders
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 231 days ago.

Previous Next


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