From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Date: Sat, 27 Feb 2016 20:51:27 +0100 Message-ID: <87vb5alyo0.fsf@gmx.de> References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <87egbynf1p.fsf@gmx.de> <83k2lqarol.fsf@gnu.org> <874mcune24.fsf@gmx.de> <83h9guaqov.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456602743 11408 80.91.229.3 (27 Feb 2016 19:52:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2016 19:52:23 +0000 (UTC) Cc: 22814@debbugs.gnu.org, andlind@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 27 20:52:10 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 1aZkuQ-0007ji-3b for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Feb 2016 20:52:10 +0100 Original-Received: from localhost ([::1]:56080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZkuP-0002B9-DU for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Feb 2016 14:52:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZkuL-0002Am-9L for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2016 14:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZkuI-0004gE-3m for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2016 14:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZkuI-0004g7-0y for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2016 14:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZkuH-0006TN-Po for bug-gnu-emacs@gnu.org; Sat, 27 Feb 2016 14:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:52: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.145660269724849 (code B ref 22814); Sat, 27 Feb 2016 19:52:01 +0000 Original-Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:51:37 +0000 Original-Received: from localhost ([127.0.0.1]:49111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZktt-0006Sj-4h for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:51:37 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:65399) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkts-0006SX-AY for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:51:36 -0500 Original-Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LiY3U-1a3hwD0ZnY-00cfNN; Sat, 27 Feb 2016 20:51:29 +0100 In-Reply-To: <83h9guaqov.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 21:39:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID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eenThere: 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:113975 Archived-At: Eli Zaretskii writes: >> I meant that maybe a similar internal limit could be added, in order to >> keep Emacs running normal, not being at its upper limits. > > It's not a fixed limit, alas. The number of threads we can start is > limited by available memory (because each thread uses some for its > stack), and the amount of available memory depends on how much Emacs > itself uses. In this case one could use a hard-coded limit. 512 watches, that's it. >> > How about defaulting to auto-revert-use-notify = nil when >> > global-auto-revert-mode is turned on? >> >> I don't know whether it is the majority of users, who enable >> global-auto-revert-mode *and* work with hundreds of buffers. So far, >> there is one report about. >> >> And such power users are more likely to know how to disable file >> notification then. > > Perhaps we shouldn't wait for a flood of bug reports, and do this > proactively? I've explained my plans how to protect the libraries, using an internal limit. This shall avoid such a flood of bug reports. And if the changes are small enough (likely they are), they could go even into the emacs-25 branch. Bst regards, Michael.