From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Date: Fri, 26 Feb 2016 11:04:51 +0200 Message-ID: <83oab3etak.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1456477588 1592 80.91.229.3 (26 Feb 2016 09:06:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 09:06:28 +0000 (UTC) Cc: 22814@debbugs.gnu.org To: David Caldwell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 10:06:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZELh-0007GP-I0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 10:06:09 +0100 Original-Received: from localhost ([::1]:48221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZELh-0004vN-1Z for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 04:06:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZELd-0004ut-Aa for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZELa-0001fA-5h for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:06:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZELa-0001f2-1x for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZELZ-0002Cr-T6 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 09:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14564775088420 (code B ref 22814); Fri, 26 Feb 2016 09:06:01 +0000 Original-Received: (at 22814) by debbugs.gnu.org; 26 Feb 2016 09:05:08 +0000 Original-Received: from localhost ([127.0.0.1]:46854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZEKh-0002Bj-3p for submit@debbugs.gnu.org; Fri, 26 Feb 2016 04:05:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44682) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZEKf-0002BD-53 for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 04:05:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZEKW-0001O7-4L for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 04:05:00 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEKW-0001O3-1I; Fri, 26 Feb 2016 04:04:56 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1993 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZEKV-0008GY-As; Fri, 26 Feb 2016 04:04:55 -0500 In-reply-to: (message from David Caldwell on Thu, 25 Feb 2016 22:18:13 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113860 Archived-At: > From: David Caldwell > Date: Thu, 25 Feb 2016 22:18:13 -0800 > > 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. Do you have global auto-revert turned on? Or just auto-revert, but in many buffers? More generally, if you start "emacs -Q" and then visit all those files, does that run into the same problem after 240-something files? Thanks.