[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#22814: closed (25.0.91; Emacs runs out of file des

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#22814: closed (25.0.91; Emacs runs out of file descriptors on OS X)
Date: Fri, 26 Feb 2016 20:06:02 +0000

Your message dated Fri, 26 Feb 2016 21:05:25 +0100
with message-id <address@hidden>
and subject line Re: bug#22814: 25.0.91; Emacs runs out of file descriptors on 
has caused the debbugs.gnu.org bug report #22814,
regarding 25.0.91; Emacs runs out of file descriptors on OS X
to be marked as done.

(If you believe you have received this mail in error, please contact

22814: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22814
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.91; Emacs runs out of file descriptors on OS X Date: Thu, 25 Feb 2016 22:18:13 -0800 User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0

I have a large emacs desktop file (600+ buffers at the moment). Emacs
24.5 would open all the buffers just fine, but 25.0.91 (and 90)
apparently don't close the file after reading the buffer (or maybe it's
part of the new kqueue stuff?). By default OS X limits the number of
file descriptors per process to 256. So trying to open my large desktop
file gets it into a stuck state where it cannot open any more files
after it loads the first 240ish buffers.

This seems to me like a regression from 24.5 to 25.1.


In GNU Emacs (x86_64-apple-darwin13.4.0, NS appkit-1265.21
Version 10.9.5 (Build 13F1603))
 of 2016-02-13 built on builder10-9.local
Windowing system distributor 'Apple', version 10.3.1404
Configured using:
 'configure --with-ns '--enable-locallisppath=/Library/Application

Configured features:

Important settings:
  value of $LANG: en_US
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  global-flycheck-mode: t
  auto-insert-mode: t
  save-place-mode: t
  show-paren-mode: t
  global-diff-hl-mode: t
  diff-auto-refine-mode: t
  global-auto-revert-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading delsel...done
Loading autorevert...done
Loading diff-hl...done
Loading undo-tree...done
Loading gnus...done
Loading paren...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

(shadow sort mail-extr emacsbug flycheck find-func rx subr-x seq
byte-opt gv bytecomp byte-compile cconv cl-extra dash
david-custom-emacs-setup advice editorconfig commit-patch-buffer
log-edit message sendmail dired format-spec rfc822 mml mml-sec epg
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader ring pcvs-util add-log
david-headers autoinsert ginel-string david-keys david-movement
david-coding-style saveplace calmer-forest-theme paren gnus gnus-ems
nnheader gnus-util mail-utils mm-util help-fns help-mode mail-prsvr
wid-edit undo-tree diff diff-hl edmacro kmacro smartrep vc-dir ewoc vc
cl-loaddefs pcase cl-lib vc-dispatcher diff-mode easy-mmode autorevert
filenotify delsel cus-start cus-load benchmark finder-inf
ack-and-a-half-autoloads go-mode-autoloads magithub-autoloads
mode-compile-autoloads nav-autoloads rainbow-mode-autoloads
slime-autoloads svg-clock-autoloads info package easymenu epg-config
time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript
case-table epa-hook jka-cmpr-hook help simple abbrev 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 kqueue cocoa ns
multi-tty make-network-process emacs)

Memory information:
((conses 16 347585 16892)
 (symbols 48 27326 1)
 (miscs 40 109 303)
 (strings 32 44145 10694)
 (string-bytes 1 1249905)
 (vectors 16 48605)
 (vector-slots 8 1487708 148374)
 (floats 8 246 26)
 (intervals 56 329 94)
 (buffers 976 12))

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--- End Message ---
--- Begin Message --- Subject: Re: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Date: Fri, 26 Feb 2016 21:05:25 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Version: 25.1

Eli Zaretskii <address@hidden> writes:

>> From: Michael Albinus <address@hidden>
>> Date: Fri, 26 Feb 2016 09:34:50 +0100
>> Cc: address@hidden
>> You are using "global-auto-revert-mode: t". kqueue does not support a
>> directory monitor, therefore it starts a new file notification monitor
>> for every single file, indeed.
>> I believe it is questionable to run auto-revert-mode for so many files,
>> but that's your choice. In order to suppress kqueue running for
>> auto-revert-mode, you shall set auto-revert-use-notify to nil.
>> Maybe there are means in OS X to increase the number of file descriptors
>> for Emacs, don't know. I don't use OS X.
>> I will add a note to the Emacs manual.
> I suggest adding this to etc/PROBLEMS as well.

Done. Closing the bug.

Best regards, Michael.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]