From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: David Caldwell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 06:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22814 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 22814@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.145646753731586 (code B ref -1); Fri, 26 Feb 2016 06:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Feb 2016 06:18:57 +0000 Received: from localhost ([127.0.0.1]:46637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBjt-0008DO-Fa for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49323) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBjs-0008Cy-0a for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZBjl-0002Ae-It for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjl-0002Aa-FN for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjk-0006wT-6K for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZBjf-00029S-HS for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:48 -0500 Received: from sa38.galvanix.net ([98.126.48.38]:39618 helo=kill.porkrind.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjf-000277-2x for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:43 -0500 Received: from porkrind.org (cpe-23-241-25-146.socal.res.rr.com [23.241.25.146]) by kill.porkrind.org (Postfix) with ESMTPS id 21A745F936 for ; Thu, 25 Feb 2016 22:18:20 -0800 (PST) Authentication-Results: kill.porkrind.org; dkim=pass (1536-bit key; unprotected) header.d=porkrind.org header.i=@porkrind.org header.b=bbRKxLDl; dkim-atps=neutral Received: from [10.0.0.103] (black.local [10.0.0.103]) (authenticated bits=0) by porkrind.org (8.15.2/8.15.2/Debian-3) with ESMTPSA id u1Q6IEh8005698 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 25 Feb 2016 22:18:16 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1456467496; bh=PhlpIh/hwKbBJRZyi6cO+VWTsPXoJ4dvZhHYHKRmpoE=; h=To:Subject:From:Date:From; b=bbRKxLDlm9r53oLF3wc6242t3hYH+qaWWopi6fctwf2nnT4uCfKNhViaPabXwv7eN tYvUx1M15Zohr+HRNmILy1EipV+UX+D6gn8IdTqaEA1EMn2+ed+ll14H4xFgtBpErc t+2r3rQtJY24KJ2tkU66y7TZsOkxDZ0rwMpaTmn8JgU1JEY/OIyDuVUySefUkBCSvY pNdbH93LEGfDGXwM0lOA7d8BHmV6lauPDqzR1TWd/4ZTaAB5LzubAWTLjCI From: David Caldwell Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== Message-ID: 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 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms080209070407070002020804" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) This is a cryptographically signed message in MIME format. --------------ms080209070407070002020804 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, 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. -David In GNU Emacs 25.0.91.1 (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=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Configured features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS 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. Features: (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)) --------------ms080209070407070002020804 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Ct0wggTzMIID26ADAgECAhA5IEwCoOHUpDUe6xUti95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0ZC4xKTAnBgNVBAsTIFN0 YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFz cyAxIENsaWVudCBDQQIQOSBMAqDh1KQ1HusVLYvebTCBnAYLKoZIhvcNAQkQAgsxgYyggYkw dTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0 Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAx IENsaWVudCBDQQIQOSBMAqDh1KQ1HusVLYvebTANBgkqhkiG9w0BAQEFAASCAQAGNvAQFK5P aQw9AxXFwVrCSb9a4Obpqdvxb0tnXJeCAQIz4983klG6FZR9f6O5JQlHKpqeUc7oRh425pmQ Qx26fsu7oA0mpokgtPTAFMtgPmViaqnHJbSSgDzUEqjhik6XacT9wgXP1CDrsolIbTakjCtT 6kiUk3q0q90gKv2gm+LnxSujKlzi2jxJXQ4onC3ichhEGd99y8oXGw/PKDLNk6FLlht2mz/F VKnJ7IsKSb3AIcifinf3V5L4aTzNwi/g4QJZPu8bzMc+bTUI+Jefxp0rk6eYx2HUWG0SaaP1 1grF4Q8XhEJss74KwL7NvsEIBBCVy3fK5TENTY8GrpejAAAAAAAA --------------ms080209070407070002020804-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 08:35:02 +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: To: David Caldwell Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14564757005568 (code B ref 22814); Fri, 26 Feb 2016 08:35:02 +0000 Received: (at 22814) by debbugs.gnu.org; 26 Feb 2016 08:35:00 +0000 Received: from localhost ([127.0.0.1]:46783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZDrY-0001Rk-68 for submit@debbugs.gnu.org; Fri, 26 Feb 2016 03:35:00 -0500 Received: from mout.gmx.net ([212.227.17.22]:62625) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZDrV-0001RV-T7 for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 03:34:58 -0500 Received: from detlef.gmx.de ([87.146.55.159]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lw2dd-1ZqeBS2jDp-017p98; Fri, 26 Feb 2016 09:34:51 +0100 From: Michael Albinus References: Date: Fri, 26 Feb 2016 09:34:50 +0100 In-Reply-To: (David Caldwell's message of "Thu, 25 Feb 2016 22:18:13 -0800") Message-ID: <87lh673m51.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:rZOeZ7eEikpOyfpe1kqtjA5MNbvO/vF6Mgc2fhX3ZCrhwgNN7qp j8+29FlAe1d0VqrXSJ6nFJU6bU+ooI1HOLYQRNZtoLlr2JzI5FWUID+BQ5GuO/mQ4djeYTw 04sSyn67aLTvRWNx5+UB28qETkZ1QhI8EPeSaLEyW7MxFtwhcWk7e8RLvTyUj2QUfn8QTqd RcmCZHiYtLEsLT8StuGzA== X-UI-Out-Filterresults: notjunk:1;V01:K0:0plqzrFGjDo=:FN0YRNCLEs4yfrqMzTxEF/ Gl/MeZ75JfykhxLXnlc0rxhcGNniqJJ9F5ecZ36x1odhzlxjbMHW/1Ra/uc1AKMI3tlVW8brY mZLV7DTp/IFWLpVYVgjzSYHa3GDaeMiM4wwftsY/+4Y21WtM/m5vJ9KXw2trRv7lWalefkZbO RlDzm8SocxeRZH8qtG14+7fmsHxfhk7nd78XD872oifKzhGKjsJIf4dAVc/d/qF23h6cEfsIS MkxLvTg1hpfHVU5zeDnopJ4TXbkZrnPpmjaV/XyDPKgMFndVO74nA7F6sJgEtoPGR94C8HpX6 Rxs9a0G62NKAZHajMIMipDLWJZXUqYeL/kxTaA5oq7rpvlv3mle17W8XIkfI5PFROQQGNfJi3 413nRPfxTNTumblAYZqhhxaHI0gFLUgGyjzpug9UxMtAVq+T4vY89oejP5T/+b3N3EN+cbLd3 MjbxFeWUkf/qqy4OGXeeL0TGSq7suyFzeZyuQ4bHw1vF3lC5FI45Lsh+klZ2FfE97rLDZw4Qv qUd4c1lZ5MIVEPi6Wxyb9W9muyxa1rl8OUR9Lqy9VaAOfw+xeVx0oH5WFAlkLLKhnvGxJdwXj BPUlrA9e74fjF3VLSd5HL9M75SKEOX+2jReHxz+RIiMn4ey6a++qUoXRBg3+aSNJTWQbjmmSU DdbUIzEkGQAYwsOuqNjiLzAPLR1BC71JGA7t5xXDkTO+hBlT0Dx2Qsypa6U+rHA3qRV064t5y nH7WeiORocATUubDPKUo+Vqv6jqiwswnvfqG0qCeWDYBFdW4EJA+QxYHE0rbPwNsKpP43nRfl it2zM6e X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) David Caldwell writes: > Hello, Hi David, > 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. 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. > -David Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X 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: To: David Caldwell Cc: 22814@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14564775088420 (code B ref 22814); Fri, 26 Feb 2016 09:06:01 +0000 Received: (at 22814) by debbugs.gnu.org; 26 Feb 2016 09:05:08 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Fri, 26 Feb 2016 11:04:51 +0200 Message-Id: <83oab3etak.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from David Caldwell on Thu, 25 Feb 2016 22:18:13 -0800) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > 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. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: David Caldwell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 09:07:02 +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: To: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14564775668518 (code B ref 22814); Fri, 26 Feb 2016 09:07:02 +0000 Received: (at 22814) by debbugs.gnu.org; 26 Feb 2016 09:06:06 +0000 Received: from localhost ([127.0.0.1]:46859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZELe-0002DK-6g for submit@debbugs.gnu.org; Fri, 26 Feb 2016 04:06:06 -0500 Received: from sa38.galvanix.net ([98.126.48.38]:47480 helo=kill.porkrind.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZELb-0002D8-8W for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 04:06:04 -0500 Received: from porkrind.org (cpe-23-241-25-146.socal.res.rr.com [23.241.25.146]) by kill.porkrind.org (Postfix) with ESMTPS id F25555F349 for <22814@debbugs.gnu.org>; Fri, 26 Feb 2016 01:05:57 -0800 (PST) Authentication-Results: kill.porkrind.org; dkim=pass (1536-bit key; unprotected) header.d=porkrind.org header.i=@porkrind.org header.b=PCnZ1SsI; dkim-atps=neutral Received: from [10.0.0.103] (black.local [10.0.0.103]) (authenticated bits=0) by porkrind.org (8.15.2/8.15.2/Debian-3) with ESMTPSA id u1Q95uD0022360 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for <22814@debbugs.gnu.org>; Fri, 26 Feb 2016 01:05:56 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1456477557; bh=+Ko/H3D9c6zGZziEzQzSzKYQej9cm5S4kH/a6WDCHY0=; h=From:Subject:To:References:Date:In-Reply-To:From; b=PCnZ1SsIwWEGZUiP6uzrTcOgmGga63ZuqnwAOCcfVELdeUKTsTrV67lpimjtx+da+ Y/nVZTr8CZShmoWgx9fOlAOcB28KH1OIICgYamtnfiuM0ERz/5GofRif5CHC6Ja6u1 6sJKkqtQNUCTuV7kh+hnfDbdiPz61fuBTeKFkwhfBeK6/PcwvdN0IPxfMjs3CnMLZ7 xhdrsnIbzofX2Qi4en4rjluf+vHN9opPIBROLTrSeZ7asgRHM1ml2JQguRz From: David Caldwell References: <87lh673m51.fsf@gmx.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== Message-ID: Date: Fri, 26 Feb 2016 01:05:56 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <87lh673m51.fsf@gmx.de> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020103040008020003010007" X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on kill.porkrind.org X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a cryptographically signed message in MIME format. --------------ms020103040008020003010007 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2/26/16 12:34 AM, Michael Albinus wrote: > David Caldwell writes: >> 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 deskto= p >> file gets it into a stuck state where it cannot open any more files >> after it loads the first 240ish buffers. > > 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. Ah, I see. Maybe the FSEvents API[1] would be better in this case? > I believe it is questionable to run auto-revert-mode for so many > files, > but that's your choice.=3D20 It's just stat()s, right? Those are really fast, especially on my ssd. At any rate, I've never noticed any slowdown. I guess I always assumed it would check only for buffers I was displaying, rather than ones in the background (because why would I care if a buffer I couldn't see had stale data in it?). > In order to suppress kqueue running for auto-revert-mode, you shall=20 > set auto-revert-use-notify to nil. Thanks! That indeed does the trick. I'm back to 24.5 numbers of fds open.= > 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. `ulimit -u 10000` was my temporary work-around, but I had to remember to do it every time I booted or emacs would hose itself (I don't think I ever successfully remembered). > I will add a note to the Emacs manual. Thanks. -David --------------ms020103040008020003010007 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Ct0wggTzMIID26ADAgECAhA5IEwCoOHUpDUe6xUti95tMA0GCSqGSIb3DQEBCwUAMHUxCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll bnQgQ0EwHhcNMTYwMjA5MDA1NTI1WhcNMTcwMjA5MDA1NTI1WjBAMRswGQYDVQQDDBJkYXZp ZEBwb3JrcmluZC5vcmcxITAfBgkqhkiG9w0BCQEWEmRhdmlkQHBvcmtyaW5kLm9yZzCCASIw DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOqlU6S8xlPcP2hxvHVNDpEO3Vuq+vS1x2dP 1AOhXxKU8qkcX7bpBMx94GtXi4Hskhpl11vOBdJagkXf5/ngCV70lkeCudGdxDaNCreWkNze bdVPLu4/sIjWdG9puNly9QAlGR1zS+NSCXrdvSlxew14mYidSd6/lTFKVzqV3nJDkzyWEtC0 rY1jyZKW3dwowiAjbIDdHAqhqO6XYrs9ISnRRICYNVsWgzr34VMZrduInYvZUkwzBXbB1foa c7KNO96v6Dmh/DddFrJ916An6obyddsnG8y1G0uGmhBmj8vfV6NJV9zA4pmkYZ4gaas+S2XG qosjq4k1LMkJrxosa00CAwEAAaOCAbIwggGuMAsGA1UdDwQEAwIEsDAdBgNVHSUEFjAUBggr BgEFBQcDAgYIKwYBBQUHAwQwCQYDVR0TBAIwADAdBgNVHQ4EFgQUA9l0VXhtsu5JI+KrWaUs HejEFW0wHwYDVR0jBBgwFoAUJIFsOWG+SQ+PtxtGK8kotSdIbW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AFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZIhvcNAwICAgCAMA0G CCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGaBgkrBgEEAYI3EAQxgYww gYkwdTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0 YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFz cyAxIENsaWVudCBDQQIQOSBMAqDh1KQ1HusVLYvebTCBnAYLKoZIhvcNAQkQAgsxgYyggYkw dTELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0 Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAx IENsaWVudCBDQQIQOSBMAqDh1KQ1HusVLYvebTANBgkqhkiG9w0BAQEFAASCAQAC7HqbEWOQ +Rm/nc0FvaVTiw2Cidj6zuJzcZDE2RAQz6Li7h8sR0BpsX9ZOstruAa2GRMcjhmV6/7lntGc 00Pn6Y1aKhle7eL/I6oTJ569dgPiRo3qDDNBpxpx3CKk48hbEwFHLtjsG6EDl9p9o/j52jHB zv1wOfecePvwhexv4XPPwJf/UlCTGwuCO8kLkoOukNi4KmDF4U+P5AS52+w0wmuqK1a4BMsZ UfQWn65Iuq3MRieT/L74gImCwZkyiQbmKnGaAKa7JTSOv8cyu8w2yasSxEL6/X29z+iOpX7A ipGv9YLSPsv0eHicVUBNQjLGIO3QRuvHE1NYjJ5RG790AAAAAAAA --------------ms020103040008020003010007-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 09:23:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, david@porkrind.org Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145647857810029 (code B ref 22814); Fri, 26 Feb 2016 09:23:02 +0000 Received: (at 22814) by debbugs.gnu.org; 26 Feb 2016 09:22:58 +0000 Received: from localhost ([127.0.0.1]:46873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZEby-0002bh-2m for submit@debbugs.gnu.org; Fri, 26 Feb 2016 04:22:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54671) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZEbw-0002bT-8S for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 04:22:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZEbm-0008Mj-86 for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 04:22:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZEbm-0008Mf-4m; Fri, 26 Feb 2016 04:22:46 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2008 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZEbl-0002Ag-BQ; Fri, 26 Feb 2016 04:22:45 -0500 Date: Fri, 26 Feb 2016 11:22:40 +0200 Message-Id: <83h9gvesgv.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87lh673m51.fsf@gmx.de> (message from Michael Albinus on Fri, 26 Feb 2016 09:34:50 +0100) References: <87lh673m51.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > From: Michael Albinus > Date: Fri, 26 Feb 2016 09:34:50 +0100 > Cc: 22814@debbugs.gnu.org > > 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. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Nicolas Richard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 10:27: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: To: David Caldwell Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145648241515990 (code B ref 22814); Fri, 26 Feb 2016 10:27:01 +0000 Received: (at 22814) by debbugs.gnu.org; 26 Feb 2016 10:26:55 +0000 Received: from localhost ([127.0.0.1]:46939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZFbr-00049q-GT for submit@debbugs.gnu.org; Fri, 26 Feb 2016 05:26:55 -0500 Received: from mxin.ulb.ac.be ([164.15.128.112]:1250) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZFbp-00049h-2E for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 05:26:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArgGABon0FakD4Xx/2dsb2JhbABegmmCEIJqikWZQgEBAQEBAQaVQoYTAoIRAQEBAQEBZSdBEgGDbgEBBHkQCAMhJQ8BBEkTiB+9MQEBAQEGAgEdhUqFAohvBZcIjymHTYVejklig2U7LoFhhlQBAQE Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 26 Feb 2016 11:26:51 +0100 From: Nicolas Richard References: <87lh673m51.fsf@gmx.de> Date: Fri, 26 Feb 2016 11:26:55 +0100 In-Reply-To: (David Caldwell's message of "Fri, 26 Feb 2016 01:05:56 -0800") Message-ID: <87mvqnn4wg.fsf@members.fsf.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) David Caldwell writes: > I guess I always assumed > it would check only for buffers I was displaying, rather than ones in > the background (because why would I care if a buffer I couldn't see had > stale data in it?). You could be using e.g. append-to-buffer (I do that on files tracked by owncloud). -- Nicolas From unknown Mon Aug 18 11:27:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: David Caldwell Subject: bug#22814: closed (Re: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X) Message-ID: References: <87egbz2q62.fsf@gmx.de> X-Gnu-PR-Message: they-closed 22814 X-Gnu-PR-Package: emacs Reply-To: 22814@debbugs.gnu.org Date: Fri, 26 Feb 2016 20:06:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1456517162-24569-1" This is a multi-part message in MIME format... ------------=_1456517162-24569-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22814: 25.0.91; Emacs runs out of file descriptors on OS X which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22814@debbugs.gnu.org. --=20 22814: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22814 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1456517162-24569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22814-done) by debbugs.gnu.org; 26 Feb 2016 20:05:36 +0000 Received: from localhost ([127.0.0.1]:47907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZOds-0006Nd-9I for submit@debbugs.gnu.org; Fri, 26 Feb 2016 15:05:36 -0500 Received: from mout.gmx.net ([212.227.15.19]:52392) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZOdq-0006NQ-Gu for 22814-done@debbugs.gnu.org; Fri, 26 Feb 2016 15:05:35 -0500 Received: from detlef.gmx.de ([93.209.92.94]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Ma1Mt-1aM0WO0H4J-00Lp80; Fri, 26 Feb 2016 21:05:27 +0100 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X References: <87lh673m51.fsf@gmx.de> <83h9gvesgv.fsf@gnu.org> Date: Fri, 26 Feb 2016 21:05:25 +0100 In-Reply-To: <83h9gvesgv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Feb 2016 11:22:40 +0200") Message-ID: <87egbz2q62.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:Npuw/yolFWlkdLKzUi/E4K0rZknvmDVi/CBJ4DyWlKcGqiVPsDv R4sPnurnflCcdBr0DJ6yapXjdAj9sxZZHgxTU1CT5fz4ZS0xOpVxQgERfYhThEcNKThnmqz OzCxd4n4+fLHWSxQify7nPYS/gk38pq3zGU6EFEyTPgNSCjUs/nUf3s6Byvz6zzOfIH0P8E dwCAKyv/D+i6jsXZ+gFYw== X-UI-Out-Filterresults: notjunk:1;V01:K0:gvjeV6CLQs8=:m8ctZ+N85gKOgyrKv9Fzsx KhUgZX3ni5C5JaDqopuJ3XoXz3zTqo1SgIUTce7PQCwYLEnFH8T2hQNV1UlZcM2AiKtKCztRp YmeJlFszmx88oov/RGQw+RCrBGYr2hdSbdd4JLDBg96ndBaFaQcITrF1XDpp9MlyxdIS/k9D/ GjbhENYZL7JxTfWViCe/pCcdGBXbA/qw1q8qF9JLd5r27UG90X2BQMr2mGrt4dUNT8GOeo3xg ILkv8oz9Te45+MzN00kyVTNlFtn3BvwNoiZEEZyn56kotz06LlO/czxodRMaYJ88T+Iwj6Z63 ptmcA8g2l6TtilXb6uDuJCDIoSDuyI3E58GMnNhfQjGXiLuQ2DxZoQzQPwNRv87vdireo917h nLonekvrlacnjay6KIKnGWnfYaZXhDzOV/LFIFLDEygqhcTBHLqXuDgp8OocXHz4zlLEon80Q Xc7WXSatY+zDz9QKz/PoNzpoQlbAJ8+7r3fQiGOHlxAL1z5iZFkRBV8pnB/w4q8RgukoUKVBV Np3dgluFA3lnhhRfUS7whWjL7L+MZ/oKhKhTOXEVXKiUQG0Rxr7YyElWcUFOU5tbO+Eh7bqUj +NjaelN6s+Zr0zQiLF/wYMplkxSX3v/SeMssxVafYUNbKaUEDaejSAxxjkhgCu1C13ynR6ZGa +jok2a/GOt6uYQUMgkzwkL0TxovqEoXOFYOeXe2lVeSteDQ5uev6vUbggOZOFscfalS1zo4pk f+91k+IcRZ2CoTprys7iWqxbfWTq6l+iQOKx5UsJMRcclt71Z24aw9ofj2GbSGOyqKcclQfw2 f7oqzwN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22814-done Cc: 22814-done@debbugs.gnu.org, david@porkrind.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Version: 25.1 Eli Zaretskii writes: >> From: Michael Albinus >> Date: Fri, 26 Feb 2016 09:34:50 +0100 >> Cc: 22814@debbugs.gnu.org >> >> 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. ------------=_1456517162-24569-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Feb 2016 06:18:57 +0000 Received: from localhost ([127.0.0.1]:46637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBjt-0008DO-Fa for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49323) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBjs-0008Cy-0a for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZBjl-0002Ae-It for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjl-0002Aa-FN for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjk-0006wT-6K for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZBjf-00029S-HS for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:48 -0500 Received: from sa38.galvanix.net ([98.126.48.38]:39618 helo=kill.porkrind.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjf-000277-2x for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:43 -0500 Received: from porkrind.org (cpe-23-241-25-146.socal.res.rr.com [23.241.25.146]) by kill.porkrind.org (Postfix) with ESMTPS id 21A745F936 for ; Thu, 25 Feb 2016 22:18:20 -0800 (PST) Authentication-Results: kill.porkrind.org; dkim=pass (1536-bit key; unprotected) header.d=porkrind.org header.i=@porkrind.org header.b=bbRKxLDl; dkim-atps=neutral Received: from [10.0.0.103] (black.local [10.0.0.103]) (authenticated bits=0) by porkrind.org (8.15.2/8.15.2/Debian-3) with ESMTPSA id u1Q6IEh8005698 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 25 Feb 2016 22:18:16 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1456467496; bh=PhlpIh/hwKbBJRZyi6cO+VWTsPXoJ4dvZhHYHKRmpoE=; h=To:Subject:From:Date:From; b=bbRKxLDlm9r53oLF3wc6242t3hYH+qaWWopi6fctwf2nnT4uCfKNhViaPabXwv7eN tYvUx1M15Zohr+HRNmILy1EipV+UX+D6gn8IdTqaEA1EMn2+ed+ll14H4xFgtBpErc t+2r3rQtJY24KJ2tkU66y7TZsOkxDZ0rwMpaTmn8JgU1JEY/OIyDuVUySefUkBCSvY pNdbH93LEGfDGXwM0lOA7d8BHmV6lauPDqzR1TWd/4ZTaAB5LzubAWTLjCI To: bug-gnu-emacs@gnu.org Subject: 25.0.91; Emacs runs out of file descriptors on OS X From: David Caldwell Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== Message-ID: 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 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms080209070407070002020804" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) This is a cryptographically signed message in MIME format. --------------ms080209070407070002020804 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, 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. -David In GNU Emacs 25.0.91.1 (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=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Configured features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS 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. Features: (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)) --------------ms080209070407070002020804 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Ct0wggTzMIID26ADAgECAhA5IEwCoOHUpDUe6xUti95tMA0GCSqGSIb3DQEBCwUAMHUxCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll bnQgQ0EwHhcNMTYwMjA5MDA1NTI1WhcNMTcwMjA5MDA1NTI1WjBAMRswGQYDVQQDDBJkYXZp ZEBwb3JrcmluZC5vcmcxITAfBgkqhkiG9w0BCQEWEmRhdmlkQHBvcmtyaW5kLm9yZzCCASIw DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOqlU6S8xlPcP2hxvHVNDpEO3Vuq+vS1x2dP 1AOhXxKU8qkcX7bpBMx94GtXi4Hskhpl11vOBdJagkXf5/ngCV70lkeCudGdxDaNCreWkNze bdVPLu4/sIjWdG9puNly9QAlGR1zS+NSCXrdvSlxew14mYidSd6/lTFKVzqV3nJDkzyWEtC0 rY1jyZKW3dwowiAjbIDdHAqhqO6XYrs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99y8oXGw/PKDLNk6FLlht2mz/F VKnJ7IsKSb3AIcifinf3V5L4aTzNwi/g4QJZPu8bzMc+bTUI+Jefxp0rk6eYx2HUWG0SaaP1 1grF4Q8XhEJss74KwL7NvsEIBBCVy3fK5TENTY8GrpejAAAAAAAA --------------ms080209070407070002020804-- ------------=_1456517162-24569-1-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X References: In-Reply-To: Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Feb 2016 20: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: To: 22814@debbugs.gnu.org, Michael Albinus Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145651987728668 (code B ref 22814); Fri, 26 Feb 2016 20:52:01 +0000 Received: (at 22814) by debbugs.gnu.org; 26 Feb 2016 20:51:17 +0000 Received: from localhost ([127.0.0.1]:47917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZPM5-0007SK-0x for submit@debbugs.gnu.org; Fri, 26 Feb 2016 15:51:17 -0500 Received: from mail-vk0-f53.google.com ([209.85.213.53]:35981) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZPM3-0007S5-8m for 22814@debbugs.gnu.org; Fri, 26 Feb 2016 15:51:15 -0500 Received: by mail-vk0-f53.google.com with SMTP id c3so88232899vkb.3 for <22814@debbugs.gnu.org>; Fri, 26 Feb 2016 12:51:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=LcNFUGeZYxoiN2JMIEzqRIkJ13EJoIuRhFw/wjFskc0=; b=wkP9dMsQju13qIH1xfvs7yGxgIvNJUO29Pw68DDks4kgRRZ92/MHwP41q/GR2e+sqA +vhsXWXnZIEEisg5MhiH9zFUryTuWrhuXlGbO5DN+pf0dBC9vtgbLcBPDA4YL++FAPeP T0/higSahDssnlDqgQ96roUBRw6cWS/t82KGPhte31YWukTOb60Vpc5S+jDn13GC3Fru vHTHr2pCywLJcdx6odP6qDLlQmkmGi8nK9gBfjhupSpg8KW564UEFdWiKzbMTY0ITDzJ YGgHf2j/p64ieUcPyIJMxTaogrKvrnGlEqM/79ZfCYSQ5KPKH9sjPfl5B0XEHJp1hPg6 sK+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=LcNFUGeZYxoiN2JMIEzqRIkJ13EJoIuRhFw/wjFskc0=; b=WKM0U8o/ukT3DZI+MGYmMrPRonXwTzdmQptbSgbaeBQBeGQavZlYZ7q6NCEWHz1Vus yGwdw1/kBE/Oir/7uZKuL9k6/M3ShXIauqTKEdZmPwYDZkjh8nUHJt7p22UtkqegwciJ 1gLJGy4D/HW3b/TmZboK5uKx3L+yLhVpR+HOckfqWM72LC4IKMd6sQsqnpoalUMRC7gN HMGOnuLPnNDu1H867wJBRSEI9oPa78AAbd4GAHlLJ6pggH8kagEa3Db08mVvgjgAMV8U 9UTqNNBQqhudT0HT9P/yPz9/6/8zF8D0qbIJ7tYdgADzvLXh3UNB9BSEsN9M8oitKpAN lAkw== X-Gm-Message-State: AD7BkJLqtXQqsM0O5aB2AehvgK+HEwYt6HhxYPV2Y3NY2gAwBDZ73b9xoSc29ydkqLkOOuUD5vPr4xTnq82Dsw== MIME-Version: 1.0 X-Received: by 10.31.138.73 with SMTP id m70mr2766947vkd.70.1456519869808; Fri, 26 Feb 2016 12:51:09 -0800 (PST) Received: by 10.31.214.131 with HTTP; Fri, 26 Feb 2016 12:51:09 -0800 (PST) Date: Fri, 26 Feb 2016 21:51:09 +0100 Message-ID: From: Anders Lindgren Content-Type: multipart/alternative; boundary=001a1143dd1872c8bb052cb2757e X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a1143dd1872c8bb052cb2757e Content-Type: text/plain; charset=UTF-8 Hi! >>> 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. Unfortunately, I don't think this is enough. 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). One simple way to handle this is to define a variable with "max" number of files the notification system can handle. We can set this to, say, 200 on OS X and unlimited on other systems. I would suggest leaving the bug open until someone figures out how to increase the resources in OS X, or the file notification system can handle that it runs out of resources. -- Anders Lindgren --001a1143dd1872c8bb052cb2757e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

>>> You are usi= ng "global-auto-revert-mode: t". kqueue does not support a
<= div>>>> directory monitor, therefore it starts a new file notifica= tion monitor
>>> for every single file, indeed.
>>>=C2=A0
>>> I believe it is questionable to= run auto-revert-mode for so many files,
>>> but that= 9;s your choice. In order to suppress kqueue running for
>>= > auto-revert-mode, you shall set auto-revert-use-notify to nil.
>>>=C2=A0
>>> 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.
>>>=C2=A0
<= div>>>> I will add a note to the Emacs manual.
>><= /div>
>> I suggest adding this to etc/PROBLEMS as well.
>
> Done. Closing the bug.

Unfort= unately, I don't think this is enough.

If Emac= s hangs because the file notification system runs out of resources (file de= scriptors or processes), it should detect this by itself and revert to othe= r, safer, methods (e.g. the timer-based system).

O= ne simple way to handle this is to define a variable with "max" n= umber of files the notification system can handle. We can set this to, say,= 200 on OS X and unlimited on other systems.

I wou= ld suggest leaving the bug open until someone figures out how to increase t= he resources in OS X, or the file notification system can handle that it ru= ns out of resources.

=C2=A0 =C2=A0 -- Anders Lindg= ren

--001a1143dd1872c8bb052cb2757e-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 08:01:02 +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: To: Anders Lindgren Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145656002430715 (code B ref 22814); Sat, 27 Feb 2016 08:01:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 08:00:24 +0000 Received: from localhost ([127.0.0.1]:48139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZZnc-0007z5-71 for submit@debbugs.gnu.org; Sat, 27 Feb 2016 03:00:24 -0500 Received: from mout.gmx.net ([212.227.15.18]:50178) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZZnb-0007tQ-78 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 03:00:23 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MOw4N-1aWWj11R71-006Kbe; Sat, 27 Feb 2016 09:00:16 +0100 From: Michael Albinus References: Date: Sat, 27 Feb 2016 09:00:14 +0100 In-Reply-To: (Anders Lindgren's message of "Fri, 26 Feb 2016 21:51:09 +0100") Message-ID: <87twkupoq9.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:NQdDstWRsXB+4V0Tnekx4d6Fkq3LlA/uASwGvGszHC9u6TM1LoT saUrHCHNoXoUpl1Bo9BXg+9EeLZQgbQDt4LMjIrVpBvJOz1kO4sCi84v830OrVNFRx8hqsf QgliWq+jLVdfgmejq4ejufbRG7MMJMgG2PlBS9QauCwKuStxw3n3BYcNLQFDSSY+fqVDLWy NKdiaNnRNmfOneF3HGo8A== X-UI-Out-Filterresults: notjunk:1;V01:K0:FWJ2a7nr+gA=:TDWPAQ26Gwcw0NAso4RGSv X7LLxYiqSS0oiWFHU/rP+EIrlqDwnN1dCiRC9WSMroXzvH8kMq77qPhHhBl6YZk8/ICydojSj i3PVdKBR/np3uTxCIOYWys3ls+VQxpR1d9TD35OSQtWWEYAjU+GIPCkOHLh11tb33lmsu1K9Q JUAQ/vnTwH0eHZhg49bfEckFIJSd9BF9UloR3sUfPBrf6tvrrupWwgeKazUwU9GOTJqOmNkWQ z//LSUHmEJA4n9GVQf6qu8V0ddEASq1NuiKEeVT+L5ir1JY+Cu1b6aqlH0HlXMauuzrAqwctz ZoUt421BavBida/R6dt1ryDNgUM/qJyVaMo4INvq97coaBuIYPIJ+q2IbG0A/+520p6Tm+LHC PJKlBHtAcaT2v7NgI4y+eDNJDNS+DjQ7xhuOEjaWxOhw/7kXcINeti6Nc6ji1ajGUg0JDzP6q fnnB5BdA7pNrqGb6ltE3vbYyquZCJNgGQg/EE/f9m1o1kHMe6/hNnno86UMmzHA296T+ZjtU8 OPTr2z4yLrQtwIQYQNWtrO2dKIE4esSBsAMoH3IZ0rbyMYlbWCcSW3gVp5edzzJ1daWtm8PJF NLSSmktcpmiGxfR2aSX3o6AeubEGB0/nuGPSisupUVQ/An0ueIr/SDioZb6hvcxdsKD3kwc/C JvhizegVfskaUWxY5Ta62Tc65sR/PazGML7JQ/UnEmHwyWE1k4u5a89Sve7iB+kXJz+LS1Ozf g6/pUwTkjFN7/mEMBLgDxLi29deoxCilfgOJobVy6JLMMM5skoXhaehZFRAyfLruejYaGgQPw al/tDSf X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Anders Lindgren writes: > Hi! Hi Anders, >> Done. Closing the bug. > > Unfortunately, I don't think this is enough. I've reopened it, until we get an agreement. > 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). > One simple way to handle this is to define a variable with "max" > number of files the notification system can handle. We can set this > to, say, 200 on OS X and unlimited on other systems. Would be possible, yes. I would prefer to set the limit to a system related value. Does there exist a portable way to detect, how many file descriptors / processes Emacs is able to consume? > I would suggest leaving the bug open until someone figures out how to > increase the resources in OS X, or the file notification system can > handle that it runs out of resources. Done, see above. I don't know whether we want to increase the resources silently for Emacs. > -- Anders Lindgren Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 09:20: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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145656478110155 (code B ref 22814); Sat, 27 Feb 2016 09:20:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 09:19:41 +0000 Received: from localhost ([127.0.0.1]:48165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZb2K-0002dj-PD for submit@debbugs.gnu.org; Sat, 27 Feb 2016 04:19:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59716) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZb2J-0002dW-18 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 04:19:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZb2A-0004Me-E7 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 04:19:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZb2A-0004MP-At; Sat, 27 Feb 2016 04:19:30 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4219 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZb29-00028H-JY; Sat, 27 Feb 2016 04:19:30 -0500 Date: Sat, 27 Feb 2016 11:19:10 +0200 Message-Id: <83d1ricxyp.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87twkupoq9.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 09:00:14 +0100) References: <87twkupoq9.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Date: Sat, 27 Feb 2016 09:00:14 +0100 > Cc: 22814@debbugs.gnu.org > > > One simple way to handle this is to define a variable with "max" > > number of files the notification system can handle. We can set this > > to, say, 200 on OS X and unlimited on other systems. > > Would be possible, yes. I would prefer to set the limit to a system > related value. Does there exist a portable way to detect, how many file > descriptors / processes Emacs is able to consume? Not portably, AFAIK. Also, different implementations use different resources for receiving file notifications. For example, w32notify uses one handle and one thread per watched file/directory. The number of handles a process can have on Windows is very large, and the theoretical max number of threads is 32K, but both are limited by the resources already consumed by the Emacs process. So determining the practical maximum at any given point will require a non-trivial function. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 09:56:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145656695014508 (code B ref 22814); Sat, 27 Feb 2016 09:56:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 09:55:50 +0000 Received: from localhost ([127.0.0.1]:48171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZbbJ-0003lv-NN for submit@debbugs.gnu.org; Sat, 27 Feb 2016 04:55:49 -0500 Received: from mail-vk0-f46.google.com ([209.85.213.46]:36416) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZbbI-0003li-1s for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 04:55:48 -0500 Received: by mail-vk0-f46.google.com with SMTP id c3so97392991vkb.3 for <22814@debbugs.gnu.org>; Sat, 27 Feb 2016 01:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=9/D6t5IvwUFMjJs1PB227AY7cOxyA5IkqhAA/20oq7M=; b=MTph0WCUC/DZcsyrogj26dLPcU0d9bkm2vf/e2uf0tWy4EHsmkAhaV5BNo5/YCqyNe uxTp7f3HJoFP6NLqId5gHdVyaeN8WPesG93ANm5hJwE+CcGDqa5U6sKIYiJKbpjGUz4e PpqBxrw0GEcSrlWTItbF+LI5Co0d21cyLFBtMlGDxjObChMo4J7wtv0vCnpX37EPGCsf 4PH+7GpyzoG67u/mhDWN6mFCx5h/mRmX6QPq28aiO79hSSgrXW73J78NUQ+cuNog2xjw 6RAwADd6o+4Fc3YZE9M3gYJ+BO6qzQAWy68UonvnJ+5LqohidiyZhlCUOSiKpBPyE6pJ Dw+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=9/D6t5IvwUFMjJs1PB227AY7cOxyA5IkqhAA/20oq7M=; b=NaTaJEOViWyykqwDCOySUEHSvUUWRxCVWaqA8NHMK7nNYFPmkPBvT3JpDCDLwARxJU fYZML4bquKc0COSKUwgpk1bwhpLoPB6XRiNwtyZ22cECygo59HANoYYOIM6lFuapze7f ZbHUb6o+5fqcFSs32/qQtfEuPLfkeeFlwlee8CKDZPY20lQmcvKb7cJy3UUzZLp7VKGf bA28WiL7TqJ5zSwOeFHSwgE7h3IY2sFPGiUcGCBDEXzq+Wzo+Nfvkc5D8g2q00pVAzEe BCSr4wJCQoKQDNskIHvWTbqOYbeMA5P/uEpMSn+uvvg6UNAytowO6/xHAwAYh34xCwvW fGmA== X-Gm-Message-State: AD7BkJIJU5TKsowYStml9z3WVi1/trSvGLZpaD+zcXkRUDZLRFk1lRVfTPHkfdrTKua/siw+OMmUG71oiCrUSQ== MIME-Version: 1.0 X-Received: by 10.31.54.134 with SMTP id d128mr3900789vka.26.1456566942357; Sat, 27 Feb 2016 01:55:42 -0800 (PST) Received: by 10.31.214.131 with HTTP; Sat, 27 Feb 2016 01:55:42 -0800 (PST) In-Reply-To: <87twkupoq9.fsf@gmx.de> References: <87twkupoq9.fsf@gmx.de> Date: Sat, 27 Feb 2016 10:55:42 +0100 Message-ID: From: Anders Lindgren Content-Type: multipart/alternative; boundary=001a11438ee830e25f052cbd6ba5 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11438ee830e25f052cbd6ba5 Content-Type: text/plain; charset=UTF-8 > > > 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 --001a11438ee830e25f052cbd6ba5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> 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.

Th= e main question is why Emacs hangs when opening a large desktop (which is w= hy I didn't want this bug to be closed), even though the file notify sy= stem has this fallback.

=C2=A0 =C2=A0 -- Anders

--001a11438ee830e25f052cbd6ba5-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 10:48: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: To: Anders Lindgren Cc: 22814@debbugs.gnu.org, michael.albinus@gmx.de Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145657003519234 (code B ref 22814); Sat, 27 Feb 2016 10:48:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 10:47:15 +0000 Received: from localhost ([127.0.0.1]:48188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZcP5-000509-GX for submit@debbugs.gnu.org; Sat, 27 Feb 2016 05:47:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44824) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZcP4-0004zy-ES for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 05:47:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZcOw-0001Df-2A for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 05:47:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZcOv-0001Db-Vj; Sat, 27 Feb 2016 05:47:06 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4697 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZcOv-0002bU-2H; Sat, 27 Feb 2016 05:47:05 -0500 Date: Sat, 27 Feb 2016 12:46:46 +0200 Message-Id: <834mcuctwp.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Anders Lindgren on Sat, 27 Feb 2016 10:55:42 +0100) References: <87twkupoq9.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 27 Feb 2016 10:55:42 +0100 > From: Anders Lindgren > Cc: 22814@debbugs.gnu.org > > 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. Can you debug this? From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 11:39: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, Michael Albinus Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145657310425154 (code B ref 22814); Sat, 27 Feb 2016 11:39:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 11:38:24 +0000 Received: from localhost ([127.0.0.1]:48205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZdCZ-0006Xd-Ol for submit@debbugs.gnu.org; Sat, 27 Feb 2016 06:38:23 -0500 Received: from mail-vk0-f42.google.com ([209.85.213.42]:33186) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZdCY-0006XE-R2 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 06:38:23 -0500 Received: by mail-vk0-f42.google.com with SMTP id k196so99231803vka.0 for <22814@debbugs.gnu.org>; Sat, 27 Feb 2016 03:38:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=xf5U9AqUoJS+MnXflzIKsV9Ax/PkuV6kSs86ZZxlTa4=; b=pZ0105STzXS+yGTqVr3nxAR4kscpFhmDc/uJUEpuvG8VsRHkaqBoThtfusVS2gYEs5 7i455EmFfKY+Ao5cYkJaX5EVoiKTq+x9DEJSGNA7j07CyfPKz6K1Lgk60MbGaSu/GI5c m/mhJp05ygnOZ38IAj1V4IQG9GzjtIuEHTuWLn2u3Ce1Nn2VVEtzB5QNjiBXheaABmbs JeQ5pH7HNerm5G6OITL/mIkt8e2ut94HcWV2bLXSzQ5TwkBk6nOML0bb02pIdtTNPvfd 8EGVvCITAvzPGzjj60rGCguIv4yVDzXLxqYP6LTQly9NdTEVe3NVboJWr6EhvB/X7UXy ysrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=xf5U9AqUoJS+MnXflzIKsV9Ax/PkuV6kSs86ZZxlTa4=; b=FX95BV19cmbuOCrP0VR4oa94NkJHK9FGg6JLFLR1R+zO300MGE+TwQVC5fv8Qx3RuM dJv05Nvu3/ClIrVbBz1gVhESWW5erfs7059XCVzw4OAFDGp130gMdeIxWE+2zuIbIEf3 aQYj1nzGUHgR1Y43fj3scSAykRwoB06g2y5h2n9T+d6LR+4gz92sfA/XePtd4sWXcMjS uTn0tmzTm+fw0S0eEMXQu1wsV9AzKJdjOv+uHAQML4HIwHM7VMdXz3X4Ea7rmyEnm6gL CHQntzrf6JK8ZlduC2C1stGLXRbNQ2d+BOfo0H751NMg7joHoQOfYmpKqNWVXPn4XrbO Qxmw== X-Gm-Message-State: AD7BkJLfzt1wbZrC47NTxFB/NgegFWi9xLuiiXNBNNRrULBduOqEf9ekQl/WeJVSN5dME8r54Bh/YJ5vdEn9EQ== MIME-Version: 1.0 X-Received: by 10.31.54.134 with SMTP id d128mr4110527vka.26.1456573097262; Sat, 27 Feb 2016 03:38:17 -0800 (PST) Received: by 10.31.214.131 with HTTP; Sat, 27 Feb 2016 03:38:17 -0800 (PST) In-Reply-To: <834mcuctwp.fsf@gnu.org> References: <87twkupoq9.fsf@gmx.de> <834mcuctwp.fsf@gnu.org> Date: Sat, 27 Feb 2016 12:38:17 +0100 Message-ID: From: Anders Lindgren Content-Type: multipart/alternative; boundary=001a11438ee80d4455052cbeda65 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11438ee80d4455052cbeda65 Content-Type: text/plain; charset=UTF-8 On Sat, Feb 27, 2016 at 11:46 AM, Eli Zaretskii wrote: > > Date: Sat, 27 Feb 2016 10:55:42 +0100 > > From: Anders Lindgren > > Cc: 22814@debbugs.gnu.org > > > > 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. > > Can you debug this? > Not within a reasonable time frame, unfortunately. In can put it on the NS Wishlist, and hope that someone picks up on it. -- Anders --001a11438ee80d4455052cbeda65 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On S= at, Feb 27, 2016 at 11:46 AM, Eli Zaretskii <eliz@gnu.org> wrot= e:
> Date: Sat, 27 Feb 2016 10:55:42 += 0100
> From: Anders Lindgren <andlind= @gmail.com>
> Cc: 22814@debbugs.gnu.org=
>
>=C2=A0 A general support for polling in filenotify.el is not foreseen, = too much
>=C2=A0 effort. But I believe, in the auto-revert case Emacs works alrea= dy this
>=C2=A0 way. When file-notify-add-watch returns nil, auto-revert falls b= ack to
>=C2=A0 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 (whi= ch is why I didn't want this bug to
> be closed), even though the file notify system has this fallback.

Can you debug this?

Not within a reason= able time frame, unfortunately.

<= div class=3D"gmail_extra">In can put it on the NS Wishlist, and hope that s= omeone picks up on it.

=C2=A0 =C2=A0 -- Anders
--001a11438ee80d4455052cbeda65-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 12:18:02 +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: To: Anders Lindgren Cc: Eli Zaretskii , 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14565754812001 (code B ref 22814); Sat, 27 Feb 2016 12:18:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 12:18:01 +0000 Received: from localhost ([127.0.0.1]:48224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZdou-0000WC-RA for submit@debbugs.gnu.org; Sat, 27 Feb 2016 07:18:01 -0500 Received: from mout.gmx.net ([212.227.15.19]:54799) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZdot-0000Vi-AC for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 07:17:59 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MF4eJ-1agXQh0IOZ-00GHMF; Sat, 27 Feb 2016 13:17:52 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <834mcuctwp.fsf@gnu.org> Date: Sat, 27 Feb 2016 13:17:50 +0100 In-Reply-To: (Anders Lindgren's message of "Sat, 27 Feb 2016 12:38:17 +0100") Message-ID: <877fhqpcsx.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:708qyROdfi+ipuy6cQ8Ucuuaxmz6j7lbX4PDG+fx2ZOjVY1C214 w9kIYyhfRMxUpQvPXUr94ZXesf+FSOMPqC22LBXOPxrCHQy1wCXZsvFc/WAaUY/mjzZS2TM /hH8smFXEIUcIxTOhM7e9dUjpvyVJVBuXn07GBu2E8YTgG/pV9K6F9P5ECip+nz0dNKxjh7 Ed7ZwUek6F+Q2dzeYbWfQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:i7eDrGYl33k=:ZW4zV6sjt81dS4d7PNiVB/ n0sGVsasIRR/w9DjbP0vbZgQg+L4aMMTnC7Dosrjn6ZiJuQyz/+PEx7k7qh1/m6Oud91hCal+ GJTCL4eQr119yL59CsKMEnOLErUapf07/PYdTHTQlmgaYdIYDpGFPfcHTCiEgVjerUvTycyBC 1YVg+Lc9Z64h2IBWD0HRTTL6tqbest1y6eYNB8lw7CIWd/vwWu/Sg562b9ix3EoFgzKNjPZK3 SzgboRHjuHP1uiG7755zHp+DdKYDUqCVjqk25RkP50W2Esuqz4GJl0WKaQ64ns63RmjPIgkTQ BpEYvUNu+N6bVBeNRDhn1XU+Iwi8hVnlYiYs/+P5yaMO0Tv5X7JuOlKd9NWIwlk1ZaO73r6CZ TI3ddaAwuLgwsG/Ggl+ZJNzozXSQoi5aSRxmLWKBdD8ZTdr+XKV/HqX/rNJSA2OcATPrZdTBI VNWdJG8IIYWWjea/kIz0hKltWNw+21eZwPrFNxamLG2+WjBDTHd1r9uW46XlZ9hhY0d8fphIX dwDVB9c15RtmycoLAU7BCNgBUFFwuz0Oy1oKCkDOCNeaSkEHvemoJOnjYTPxPZ7NO9cjdlLGK 0zZ5SQZAvx9RR65SzKAroDAkKjdrjlPnU/77C9eSxRaWR7WBU2RGJyCEir/yA6ZP8RQwohJ7y W9yHEUcE/k2tjcAgEGhtFTVbqchL8GamCqD+UTI/fvkmBeyshG9FDhqOLiGoJDeO0b7JycBjs qWg2k/dGlas/TXDg3XS6IRW002XNOUbeyUw55KbRfhP33CW9vrgfRGf9mkl4PPPCZggNzkiB2 Bhc7DYx X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Anders Lindgren writes: > Can you debug this? > > Not within a reasonable time frame, unfortunately. I've debugged this on FreeBSD 10. It has larger limits: --8<---------------cut here---------------start------------->8--- albinus@freebsd10:~/src/emacs-25 % ulimit -u 5749 albinus@freebsd10:~/src/emacs-25 % ulimit -n 28791 --8<---------------cut here---------------end--------------->8--- 1. Run unlimited number of file-notify-add-watch: --8<---------------cut here---------------start------------->8--- (let ((temporary-file-directory file-notify--test-tmpfile)) (while t (setq file-notify--test-tmpfile1 (file-notify--test-make-temp-name)) (write-region "any text" nil file-notify--test-tmpfile1 nil 'no-message) (should (file-notify-add-watch file-notify--test-tmpfile1 '(change) #'ignore)))) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- albinus@freebsd10:~/src/emacs-25 % gmake -C test/automated file-notify-tests SELECTOR='\"09\"' Test file-notify-test09-sufficient-ressources condition: (file-error "Opening output file" "Too many open files in system" "/tmp/file-notify-test-parent11031I_Y/file-notify-test11031BbD") FAILED 1/2 file-notify-test09-sufficient-ressources albinus@freebsd10:~/src/emacs-25 % ls /tmp/file-notify-test-parent11031I_Y | wc -l 20291 --8<---------------cut here---------------end--------------->8--- 2. Run limited number of file-notify-add-watch: --8<---------------cut here---------------start------------->8--- (let ((temporary-file-directory file-notify--test-tmpfile)) (dotimes (_i 10000) (setq file-notify--test-tmpfile1 (file-notify--test-make-temp-name)) (write-region "any text" nil file-notify--test-tmpfile1 nil 'no-message) (should (file-notify-add-watch file-notify--test-tmpfile1 '(change) #'ignore))) (read)) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- albinus@freebsd10:~/src/emacs-25 % gmake -C test/automated file-notify-tests SELECTOR='\"09\"' [...] root@freebsd10:~ # lsof -p 11075 | grep file-notify-test | wc -l 10000 --8<---------------cut here---------------end--------------->8--- Obviously, Emacs keeps an open file descriptor per watched file, as expected. > -- Anders Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 12:42:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145657688211360 (code B ref 22814); Sat, 27 Feb 2016 12:42:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 12:41:22 +0000 Received: from localhost ([127.0.0.1]:48232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeBV-0002xA-WD for submit@debbugs.gnu.org; Sat, 27 Feb 2016 07:41:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34712) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeBU-0002wx-Am for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 07:41:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZeBM-0004D3-5a for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 07:41:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZeBM-0004Cz-2Y; Sat, 27 Feb 2016 07:41:12 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4955 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZeBL-0007qr-7r; Sat, 27 Feb 2016 07:41:11 -0500 Date: Sat, 27 Feb 2016 14:40:52 +0200 Message-Id: <83vb5aba23.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <877fhqpcsx.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 13:17:50 +0100) References: <87twkupoq9.fsf@gmx.de> <834mcuctwp.fsf@gnu.org> <877fhqpcsx.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: Eli Zaretskii , 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 13:17:50 +0100 > > albinus@freebsd10:~/src/emacs-25 % gmake -C test/automated file-notify-tests SELECTOR='\"09\"' > [...] > > root@freebsd10:~ # lsof -p 11075 | grep file-notify-test | wc -l > 10000 > --8<---------------cut here---------------end--------------->8--- > > > Obviously, Emacs keeps an open file descriptor per watched file, as expected. Obviously. But the question was why loading a desktop file hangs in that situation. I don't think your testing answers that question, or did I miss something? Thanks. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 12:50:02 +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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145657739012182 (code B ref 22814); Sat, 27 Feb 2016 12:50:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 12:49:50 +0000 Received: from localhost ([127.0.0.1]:48240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeJi-0003AP-8O for submit@debbugs.gnu.org; Sat, 27 Feb 2016 07:49:50 -0500 Received: from mout.gmx.net ([212.227.15.15]:52591) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeJg-0003AC-95 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 07:49:48 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LikQP-1a3Kll1siL-00cudA; Sat, 27 Feb 2016 13:49:40 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <834mcuctwp.fsf@gnu.org> <877fhqpcsx.fsf@gmx.de> <83vb5aba23.fsf@gnu.org> Date: Sat, 27 Feb 2016 13:49:38 +0100 In-Reply-To: <83vb5aba23.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 14:40:52 +0200") Message-ID: <87wppqnwrh.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:FS8nRxw4DlJlx9CG3Rc4f1clVGHB+4g3XHZjSs2sBDI99LhWqLx /acoqFdeBRKzE8ieebpJRxEkr2SCXE7gPGN25hiaTpScWjVHBeI/X4wOV5GOzS8kDXeA0Hp fYKvpVjGH4Q+WLzuJrhvtMB3wMZL9Nmr3PaWYsiP5a7b9appyo1rCtHi/Bw47ihobFUDu6t 8qOyAlYrZVYVBQbduqA2g== X-UI-Out-Filterresults: notjunk:1;V01:K0:MDT+iO5Yv5s=:YVhhYLRtAlNkoPn1W91Otk e7iXfb7uBXjg7wGXrfVWEhkInC/qMrBiHH5qZacInY6c/xXco+G+nqyq2HItwBLCtQuetUEo9 xoqE1fRRi8CJjNf1a7RSecDw0BrAOnWyu7nR33enYEVMLs5CUZwmwiY4WXZeSeFgOLesnnOQr jd6WtnTMClNtx2n23mRI+NtLORtFx90qlmUExbh58kiyAFss6tQqx7NUqiUTcF9yhgGEz4vRc ELno/achFNHnZ/KzRomsH/bQ8T4yUqmEEBbnMON0pZR1zs5Rm9bVa/KZnR+hIo+N2te9wE91V 94D4yjd89o6m3cJCeONvLlpC6T1Xil/c/xBIV+Vw9YeF5kB4ZmcHMcrG5f+uWHKk+Wx/W9yOS EKvncWnaR7HUTBZ7RhrxRSwk8OrnpW5RuBUC10BcQJWuqbgXMcHu89WoAagnH55uHz5h5Q4MC 4mQkkB/0QZGP4LUJ9yDZVzJZTUNNtZt1dBEKMnue0PFzzPPnR8s82fzDcdbzNcTAei5uYnbQy HDfx8sNR/DUFtJ7puch0cPkd5+o/29+4jh0IgrARVf8ndpvKUgRFALLr8Ukv6Sja1uHCSYeSA 1zVQTzJPEWIiODECUnkiDCO9ip++kZDCWO21zt1PFvh9gYOn50mJsl0wWHhanXf9/A8xvQL+L ittNt5lCHhqvOtNnUAWodk3sLA+9WlRbuDrJBb4KIgHjE2vD9KKSbXEYR5sJAjAFL+ntHq3i9 nVgh/wQ0mOdVtGpg/pw0ZTA3zTeLuFz64JeVmWGajZ7PixX443JkUBMKvzBDHBIGqdhoyYlFz quI4ALu X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > But the question was why loading a desktop file hangs in > that situation. I don't think your testing answers that question, or > did I miss something? Anders wrote "opening a large desktop", NOT "opening a large desktop file". I suppose he meant the problem of the OP, auto-reverting 600+ Emacs buffers. > Thanks. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 12:53:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145657756212432 (code B ref 22814); Sat, 27 Feb 2016 12:53:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 12:52:42 +0000 Received: from localhost ([127.0.0.1]:48244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeMU-0003EQ-M9 for submit@debbugs.gnu.org; Sat, 27 Feb 2016 07:52:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37268) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeMS-0003EC-AT for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 07:52:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZeMI-00074y-Gz for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 07:52:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZeMI-00074t-EF; Sat, 27 Feb 2016 07:52:30 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1327 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZeMH-0000bW-NA; Sat, 27 Feb 2016 07:52:30 -0500 Date: Sat, 27 Feb 2016 14:52:11 +0200 Message-Id: <83si0eb9j8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87wppqnwrh.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 13:49:38 +0100) References: <87twkupoq9.fsf@gmx.de> <834mcuctwp.fsf@gnu.org> <877fhqpcsx.fsf@gmx.de> <83vb5aba23.fsf@gnu.org> <87wppqnwrh.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 13:49:38 +0100 > > Eli Zaretskii writes: > > > But the question was why loading a desktop file hangs in > > that situation. I don't think your testing answers that question, or > > did I miss something? > > Anders wrote "opening a large desktop", NOT "opening a large desktop > file". I suppose he meant the problem of the OP, auto-reverting 600+ > Emacs buffers. If so, I'm sorry for my misunderstanding. Still, the "hangs" part is troubling. Do your findings explain why Emacs would hang doing anything when it runs out file descriptors? From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 13:01:02 +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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145657802613307 (code B ref 22814); Sat, 27 Feb 2016 13:01:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 13:00:26 +0000 Received: from localhost ([127.0.0.1]:48263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeTy-0003SZ-AR for submit@debbugs.gnu.org; Sat, 27 Feb 2016 08:00:26 -0500 Received: from mout.gmx.net ([212.227.17.22]:65130) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZeTv-0003SL-RN for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 08:00:24 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MLA45-1aZNMf0vjt-000IDK; Sat, 27 Feb 2016 14:00:16 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <834mcuctwp.fsf@gnu.org> <877fhqpcsx.fsf@gmx.de> <83vb5aba23.fsf@gnu.org> <87wppqnwrh.fsf@gmx.de> <83si0eb9j8.fsf@gnu.org> Date: Sat, 27 Feb 2016 14:00:14 +0100 In-Reply-To: <83si0eb9j8.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 14:52:11 +0200") Message-ID: <87r3fynw9t.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:2pt83OE4s2cY9bmB4RmUPmoOJZIC2SzpcPCfiN7W0rUexHt874/ /qadXxDv30Wvgav73aFkNtqwhrCJfYu+hKTlSbieqPj0TIM+QJSLBbqrZU8MpzS7CLSDtFZ mvzD/ane5XyH8y4OPriQjmx6vXf+Q2DwOC3Y+OC3cLDaxDYSZMQ4WUKgnNgbT4Z7sGTBCLD diDpYjcqrE8018qk2p9fg== X-UI-Out-Filterresults: notjunk:1;V01:K0:8cPC0NmEGNo=:FJzymjQlCYZG4tQg+freU/ uxIZmUmPGuRKd1hipOHeJNIQpGx5mMU63epX5E6kXAcNrrdxXJPPYp9Ri4w2qgz4iQMOUXsia 2jUualvLqZCLjWYurR6TsaDOsmQ9U+W1dCSZlVwp5GqC0/+4K/+QKBuLkoHOC8964evK74Js3 dp/7NtVWssRz/s7gqqo/qmH8QanCfgt50Qxl0pWf8V6Ul+IS7Ag9P7bs5UlL6McUypODS8hly NVfG77ZkLwZAUTRPFHw8eq9tFDPCs4vlMZtekGOh12WoHWS8MjeyuA+jsZ18OrxJrPjvlrerz DyPMQ/VSrescyEdNOtkUxBBxc9v4bsPpyvX/e05H4ly2E6L1yw9q8+686mtOhIfIk62WbaTEL aTjI7kCqZr98psep5AFuKMMGUtTVFDdSsrrp8YHM0s5mhJ7TnaP+XhcrFPRmJwgNuZnXYEUJo r+8Bb3jyfBvZz8SuTMAnoNkJa8j8Un9E8HnyKkRoJ5cly6eJo6XycW3pkxNKGjALxHx4NE+f/ mQKVeRYpkYB1S7CDKhlEaRmx8K6LeaaDT1y2Uy3N0p8C8qC5T6y4X/H00IoweDuULTK3nzpKu feWw5MCqfYHVvhsNv8wjhgUfYfsGAX3vgzsUwqmRsh1LXWp1Vs30p5+dz23+MlVPI3lEn8hi/ zpt5cRKA23cBeCC3DrICH84LwrDnp9kg+P+RSra1pEQdGc5/kTFlmOrcrbVcBdNQtxYYVWTSQ 0m051R5ubO0bwaemsfQtUihOLbIhq/g6fMKEN3hiaiD5jrpOby2ur06MNljiMXapKfR1g273c EzI7EAF X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Still, the "hangs" part is troubling. Do your findings explain why > Emacs would hang doing anything when it runs out file descriptors? No idea. My test returned a file-error, which sounds appropriate. File notification (kqueue) seems to behave proper, reporting this. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 13:27: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145657959915536 (code B ref 22814); Sat, 27 Feb 2016 13:27:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 13:26:39 +0000 Received: from localhost ([127.0.0.1]:48283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZetL-00042W-33 for submit@debbugs.gnu.org; Sat, 27 Feb 2016 08:26:39 -0500 Received: from mout.gmx.net ([212.227.17.22]:63506) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZetJ-00042K-LB for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 08:26:38 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Lb90f-1aB1WY02Zd-00keN2; Sat, 27 Feb 2016 14:26:31 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> Date: Sat, 27 Feb 2016 14:26:29 +0100 In-Reply-To: <83d1ricxyp.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 11:19:10 +0200") Message-ID: <87lh66nv22.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:oUZvLYQ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uax+5EMA7Z3YX4gi mTvzVNM X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> > One simple way to handle this is to define a variable with "max" >> > number of files the notification system can handle. We can set this >> > to, say, 200 on OS X and unlimited on other systems. >> >> Would be possible, yes. I would prefer to set the limit to a system >> related value. Does there exist a portable way to detect, how many file >> descriptors / processes Emacs is able to consume? > > Not portably, AFAIK. On POSIX systems, we could propagate the result of if !(getrlimit (RLIMIT_NOFILE, &rlim)) return make_number (rlim.rlim_cur); else return Qnil; Maybe we add a function like `-max-descriptors' to the libraries. Or maybe not, and the backends check this themselves, and cease to work when reaching an internal limit. Such an internal limit could be half the number of soft RLIMIT_NOFILE on POSIX systems, for example. > Also, different implementations use different > resources for receiving file notifications. For example, w32notify > uses one handle and one thread per watched file/directory. The number > of handles a process can have on Windows is very large, and the > theoretical max number of threads is 32K, but both are limited by the > resources already consumed by the Emacs process. So determining the > practical maximum at any given point will require a non-trivial > function. There must be different scenarios for different file notification libraries. But using RLIMIT_NOFILE as basis when possible gives us better results on systems like OS X and FreeBSD, which both use kqueue, but provide different ressource limits. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:01: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: To: Michael Albinus Cc: Eli Zaretskii , 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145659963820139 (code B ref 22814); Sat, 27 Feb 2016 19:01:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:00:38 +0000 Received: from localhost ([127.0.0.1]:49060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZk6X-0005Ek-KV for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:00:37 -0500 Received: from mail-vk0-f44.google.com ([209.85.213.44]:35272) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZk6W-0005EY-CF for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:00:36 -0500 Received: by mail-vk0-f44.google.com with SMTP id e6so103182793vkh.2 for <22814@debbugs.gnu.org>; Sat, 27 Feb 2016 11:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=ZqPOfLczM59UFJy5jSTzGMaE7iF2I0/H1YcRgrqTbB8=; b=CDJOx84D59O9lIUWAVzbX6ldPuT/0Vtn0BYLLthurFCguR9t7xEwGsTYkE6Y7v9I5t ttynQLW0z1tdUUrOy9S2aiA5OlOhY1Us2EJvvVMWe9OkqPRZkRBJlIMqBhRGTREqSUXk Gn9HiYfvnUKNNPHkcgFxPjtQQpNHKr2iiwvOynlX99G1LTiprmKlFMxYp9Ua0pQCGJf/ XWJuStZR39cEWg8RJOTTwcl5EGncpvoSmw7Bzy1Q5K91lFVmlIy9SOeOa/inusw/tDe0 ntAJnz8QrPDIyHUYTSZN0exu6eqf2WV0Dm15uN+LoUm9ztIiuNq6bBCf3J2S0odK2oWh kgvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=ZqPOfLczM59UFJy5jSTzGMaE7iF2I0/H1YcRgrqTbB8=; b=TYizYAkpnZ+OxjGKa7hUPM7CkbP1dShjUvV0KpAJaIXOkmrPvJswbjMfZFCOZUCCc7 knUYDssmTymMBgYv1uY4qRX6hZd12ILZjcp8EUkFLOwov9FK4LLFR0YKRJQKMp1cjbM1 fYiL2cyYBS+Oz6xm4ow09bT976mIRmmSQWSMitvrH5eu4mWHgWfSsNGQlZdWT3NQHgAT Xkd9uSE6moDoB7G+myXuK+p+18WH5RmKBWkbntDWqYlTtlVWduGlEF8ilF1ZawubLNF1 3u9O6hVWII3se/JR9bXOueI6kUuxlK0bq5jZGvSlZklW+0Uo4k5PeuTnqUqjenbTkYyj lfCQ== X-Gm-Message-State: AD7BkJKzGp7NCG+7fRwn7XeYWAs+b46MyOHXwz6tfjn8SYpwd9PKcDariakxWR521z4p5oFJht1FwOESY2xu/g== MIME-Version: 1.0 X-Received: by 10.31.58.83 with SMTP id h80mr5726507vka.149.1456599630830; Sat, 27 Feb 2016 11:00:30 -0800 (PST) Received: by 10.31.214.131 with HTTP; Sat, 27 Feb 2016 11:00:30 -0800 (PST) In-Reply-To: <87lh66nv22.fsf@gmx.de> References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> Date: Sat, 27 Feb 2016 20:00:30 +0100 Message-ID: From: Anders Lindgren Content-Type: multipart/alternative; boundary=001a114389d4936433052cc50792 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a114389d4936433052cc50792 Content-Type: text/plain; charset=UTF-8 Hi! I just gave this some thought (without knowing anything about the kqueue notifications). I don't think the problem is what kqueue does when it run out of file descriptors, but how the rest of the Emacs process acts when this happens. For example, can it even read and write files? Can subprocesses be started? The question, then, is how should the kqueue system work so that it doesn't run Emacs out of file descriptors? For example, if it would be possible to check how many are available, it could stop when there are, say, 50 remaining. Effectively, this would give a user 200 files that are auto-reverted using the notification system, and the rest would be handled by the old timer system. -- Anders On Sat, Feb 27, 2016 at 2:26 PM, Michael Albinus wrote: > Eli Zaretskii writes: > > >> > One simple way to handle this is to define a variable with "max" > >> > number of files the notification system can handle. We can set this > >> > to, say, 200 on OS X and unlimited on other systems. > >> > >> Would be possible, yes. I would prefer to set the limit to a system > >> related value. Does there exist a portable way to detect, how many file > >> descriptors / processes Emacs is able to consume? > > > > Not portably, AFAIK. > > On POSIX systems, we could propagate the result of > > if !(getrlimit (RLIMIT_NOFILE, &rlim)) > return make_number (rlim.rlim_cur); > else > return Qnil; > > Maybe we add a function like `-max-descriptors' to the > libraries. Or maybe not, and the backends check this themselves, and > cease to work when reaching an internal limit. Such an internal limit > could be half the number of soft RLIMIT_NOFILE on POSIX systems, for > example. > > > Also, different implementations use different > > resources for receiving file notifications. For example, w32notify > > uses one handle and one thread per watched file/directory. The number > > of handles a process can have on Windows is very large, and the > > theoretical max number of threads is 32K, but both are limited by the > > resources already consumed by the Emacs process. So determining the > > practical maximum at any given point will require a non-trivial > > function. > > There must be different scenarios for different file notification > libraries. But using RLIMIT_NOFILE as basis when possible gives us > better results on systems like OS X and FreeBSD, which both use kqueue, > but provide different ressource limits. > > Best regards, Michael. > --001a114389d4936433052cc50792 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

I just gave this some thought= (without knowing anything about the kqueue notifications).

<= div>I don't think the problem is what kqueue does when it run out of fi= le descriptors, but how the rest of the Emacs process acts when this happen= s. For example, can it even read and write files? Can subprocesses be start= ed?

The question, then, is how should the kqueue s= ystem work so that it doesn't run Emacs out of file descriptors? For ex= ample, if it would be possible to check how many are available, it could st= op when there are, say, 50 remaining. Effectively, this would give a user 2= 00 files that are auto-reverted using the notification system, and the rest= would be handled by the old timer system.

=C2=A0 = =C2=A0 -- Anders

On Sat, Feb 27, 2016 at 2:26 PM, Michael Albinus <michael.= albinus@gmx.de> wrote:
Eli Zaretskii <eliz@gnu.org= > writes:

>> > One simple way to handle this is to define a variable with &q= uot;max"
>> > number of files the notification system can handle. We can se= t this
>> > to, say, 200 on OS X and unlimited on other systems.
>>
>> Would be possible, yes. I would prefer to set the limit to a syste= m
>> related value. Does there exist a portable way to detect, how many= file
>> descriptors / processes Emacs is able to consume?
>
> Not portably, AFAIK.

On POSIX systems, we could propagate the result of

if !(getrlimit (RLIMIT_NOFILE, &rlim))
=C2=A0 =C2=A0return make_number (rlim.rlim_cur);
else
=C2=A0 =C2=A0return Qnil;

Maybe we add a function like `<library>-max-descriptors' to the libraries. Or maybe not, and the backends check this themselves, and
cease to work when reaching an internal limit. Such an internal limit
could be half the number of soft RLIMIT_NOFILE on POSIX systems, for
example.

> Also, different implementations use different
> resources for receiving file notifications.=C2=A0 For example, w32noti= fy
> uses one handle and one thread per watched file/directory.=C2=A0 The n= umber
> of handles a process can have on Windows is very large, and the
> theoretical max number of threads is 32K, but both are limited by the<= br> > resources already consumed by the Emacs process.=C2=A0 So determining = the
> practical maximum at any given point will require a non-trivial
> function.

There must be different scenarios for different file notification libraries. But using RLIMIT_NOFILE as basis when possible gives us
better results on systems like OS X and FreeBSD, which both use kqueue,
but provide different ressource limits.

Best regards, Michael.

--001a114389d4936433052cc50792-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:13: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: To: Anders Lindgren Cc: Eli Zaretskii , 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660035221153 (code B ref 22814); Sat, 27 Feb 2016 19:13:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:12:32 +0000 Received: from localhost ([127.0.0.1]:49064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkI3-0005V7-Ry for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:12:32 -0500 Received: from mout.gmx.net ([212.227.17.22]:62168) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkI2-0005Uv-9B for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:12:30 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MfBsk-1aGQDU3Pw2-00OpFx; Sat, 27 Feb 2016 20:12:22 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> Date: Sat, 27 Feb 2016 20:12:18 +0100 In-Reply-To: (Anders Lindgren's message of "Sat, 27 Feb 2016 20:00:30 +0100") Message-ID: <87egbynf1p.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:+T0pjCX+mN1CGoQ8mxxXAQFRPyI1gRXYQxwFUI/Y59pdMFuz568 IcOV6gbg86Ft81aZDKWHiNnR+nJvhPaPbU2oLqQC+4wCpMslb6hnjxM7tJ0+obqEyjmhg1t 76B40MXeFMsj1KCNDGkwLTgC7TygMWJeQn/NLFVpWwePO4himfVGrqlliZehJMXnqjSUhdB aApkYAGgMAnnJMBpca10Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:HlCtexY0zsg=:5zGvn6wxjBGB8ZmKvuaq40 eZyFJvh9iXdZrwE0R4l0fdQjl3sFuogDkW49RkYSrW7AuXk9u/08qvf/X4ciuBYkFfSgLKDul FKM3glGigzGvOyWJUXdtjmVcFJiYtlY1gtdtIwZYPIB3yjCcVdHE7sFxCDLmO066mHM9daHDE etak9nPGCrd4+p5N+L5/xlbyuxwPM7+wYEx+QoVLyq0vGdLu18Yo1MnbHeHGHiVM+qjs/qe0v lXI+PqRz36w5VSKnhK0BYplaWaG+DYfJLb/zcz7PlVbulv7nCuokUXEZg/srrRFfeoh1HaBL+ /JG3yDj/1iGomoZ0WR69wNl1fpSH2Cmm4QcktIdTlgO9E/34qF9eQJMmq/ey8nPjpghx1X7yv YHD6cZgElVAQ/7jP1tBzT27xrDcvfnc7hSaz5k6ckI/feJAXXDc12eVJAKs27tOL2W5gUaPOS uHgOpiu1QIEDWYHSg6T31mmVd3N8P3vVOgEH+b2j69rU9L6PVH7W8wRQy1EnSi268KdVDFxXd Q/o/9zFfXyR7JHNBZPV4bibSix7fa0z0Hxon1Ta+Mw6BnP+wt+17FmQVoLnzFtoCVDBTPXA8B w9SJqOf1LsTkct7QYXOuAfYyoYwEhNvvn0V0e2xEbSCDNGONO48+jgk00ga5+YDoaQTGaCJd6 k7E+/DfRk27Z4GBDo6xKn6t59qVuqNlL0E8C8waf9ocubIvAeHqqklAIgIkEcgivdh5YQmtcv uELKMuOrUCaE1qZ2Gb/mozmqG+EEu1dScjGjT4ToNkBVkM+hulTwBt82S6uNL2treM0fcrLj4 M6OPgN2 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Anders Lindgren writes: > Hi! Hi Anders, > I don't think the problem is what kqueue does when it run out of file > descriptors, but how the rest of the Emacs process acts when this > happens. For example, can it even read and write files? Can > subprocesses be started? > > The question, then, is how should the kqueue system work so that it > doesn't run Emacs out of file descriptors? For example, if it would be > possible to check how many are available, it could stop when there > are, say, 50 remaining. Effectively, this would give a user 200 files > that are auto-reverted using the notification system, and the rest > would be handled by the old timer system. Something like this I plan to implement in kqueue.c and inotify.c. For gfilenotify.c this shouldn't be necessary, it switches to polling already when necessary. But maybe I retest. Remote backends (inotifywait, gvfs-monitor-dir) are different, here it isn't the number of file descriptors but the number of processes allowed to start, which counts. I'll give it some thinking as well. Tramp is written in Lisp, the checks will be harder to perform. Maybe I'll introduce a hardcoded limit of possible file notification watches. w32notify.c I cannot touch. Hopefully, somebody else takes the ball. All of this shall go into the master, I believe. For the emacs-25 branch we know what to do, described somewhere earlier in this bug's messages. > -- Anders Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:15: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: To: Anders Lindgren Cc: 22814@debbugs.gnu.org, michael.albinus@gmx.de Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660049321370 (code B ref 22814); Sat, 27 Feb 2016 19:15:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:14:53 +0000 Received: from localhost ([127.0.0.1]:49068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkKL-0005Yc-7s for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:14:53 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41135) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkKJ-0005YP-Sy for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:14:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZkKA-0002Ry-Oz for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:14:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZkKA-0002Ru-LT; Sat, 27 Feb 2016 14:14:42 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2251 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZkK9-0008LV-Q9; Sat, 27 Feb 2016 14:14:42 -0500 Date: Sat, 27 Feb 2016 21:14:23 +0200 Message-Id: <83lh66aru8.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Anders Lindgren on Sat, 27 Feb 2016 20:00:30 +0100) References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 27 Feb 2016 20:00:30 +0100 > From: Anders Lindgren > Cc: Eli Zaretskii , 22814@debbugs.gnu.org > > I don't think the problem is what kqueue does when it run out of file descriptors, but how the rest of the Emacs > process acts when this happens. For example, can it even read and write files? Can subprocesses be > started? Even if it can't, it shouldn't hang. It could signal an error for any operation that needs a file descriptor, but it shouldn't hang. Then the user could kill one of the buffers under auto-revert, or manually switch to not using notifications, and be able to continue the session. Btw, my recommendation is to turn off auto-revert-use-notify in any session that uses global-auto-revert-mode. File notifications simply don't scale up well enough for that, given that Emacs sessions tend to run for many weeks and have many hundreds of file-visiting buffers. Also, if you somehow end up visiting a file in /tmp, your Emacs will get notifications about every temp file operation on the OS, which will probably slow it down quite a lot. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:19:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660069821712 (code B ref 22814); Sat, 27 Feb 2016 19:19:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:18:18 +0000 Received: from localhost ([127.0.0.1]:49072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkNd-0005e8-NU for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:18:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42148) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkNb-0005dv-P6 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:18:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZkNS-0003YF-M2 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:18:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZkNS-0003YA-I1; Sat, 27 Feb 2016 14:18:06 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2262 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZkNQ-0000LY-Te; Sat, 27 Feb 2016 14:18:05 -0500 Date: Sat, 27 Feb 2016 21:17:46 +0200 Message-Id: <83k2lqarol.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87egbynf1p.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 20:12:18 +0100) References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <87egbynf1p.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: Eli Zaretskii , 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 20:12:18 +0100 > > w32notify.c I cannot touch. Hopefully, somebody else takes the ball. When something like that happens in w32notify, it will return an error, which needs to be handled. > All of this shall go into the master, I believe. For the emacs-25 branch > we know what to do, described somewhere earlier in this bug's messages. How about defaulting to auto-revert-use-notify = nil when global-auto-revert-mode is turned on? From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:27: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, Anders Lindgren Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660117822429 (code B ref 22814); Sat, 27 Feb 2016 19:27:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:26:18 +0000 Received: from localhost ([127.0.0.1]:49076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkVO-0005pg-Hv for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:26:18 -0500 Received: from mout.gmx.net ([212.227.15.19]:61973) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkVM-0005pT-7F for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:26:16 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M4002-1ZjIZf0Rko-00rZXY; Sat, 27 Feb 2016 20:26:09 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> Date: Sat, 27 Feb 2016 20:26:07 +0100 In-Reply-To: <83lh66aru8.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 21:14:23 +0200") Message-ID: <878u26neeo.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:JVT05MUd1qK7cxus/4ISGIscdMOpFNCrkvm8GzNVdgL0t4yMd7Y iHyPVVTY7zgCZSh/rRJwC/bSRVmLOCFX5GsIlcmnPPU2pmGwEEMIqdVVeATlMqSGOpCEPYW xyW9VSu0D6pUGueA4tScU5Dus/TuOfGYD2r/eDvNbAgovZHHG5Qsz//wwtwxQEs6yClBjv0 D7aHr11V5zRzyTY8jC2xg== X-UI-Out-Filterresults: notjunk:1;V01:K0:kDDeltULgW0=:lmVVOkbMhCM3onB44kru4v +npAwNvdg8jU7f+NPPSQN9gTwhkkwxDh39Vl19SEnzIhu2mF5U3BTvZZfokZZ1Oa43VKlJ9MO a5mzfp9/NgNSJWLRpzoXGSvOntB2ui5PCWBMSkhHeCUo86QYq8hBV/ZWfCrw9atY7SzDpTA4T otTBMidmmPfbMIwxytrLmb4XdBXgSAYmBFbJe/seTWxj3dh34Dtjt8gFSkcysVX8xpNJXHQa0 Y5w/X5NaGJtYodecNH/ZMllT1ZqOzL3MnuFDYApXYSoSKZ9B/5B+8vWQC4vwjfEa4AXqZLEXD Ts2g257edmZKxkGAlURF7Q0Cfu4yWzoWEXa9LDAjTUoce6zgcynydEodULXge9nKE0BLEgBNZ PTNZ79Gmle7NPFV6pLsDEGt37G+y/kgJNmgrIpTSuKuLwYJylhjAZhm1O0F7tf7r+FL2d8ehD ma/HfnZz6nw+4x+ET4d8baE/HTT+F+PtibOHX4+aUliJ99L7o6uInNMNHe0nSW6WbdrelSrdV WwJXE73m2OWi592NXanIUYW03ipke3/gH0rcVwfsZLR02uYBKc8Ao+eEWqMd/fjSefVxR2Sk/ K4Lrdjjyq6KJDSGeCVP+SC3nf9MyWwMqV0d2v5vTbtkhsbk7lPHS/nAvmQjRGEwIItz2/Bbeg BPcad+1F8A2ralBC5nU/C+6zffgnbaDg6tnsAdph0ILzz8e7FEGcd8QE1qg8sfIkiveoMgfjg OUlalnuGSJBKdBEExmmHkNpMjKd7EIgvpNkTmvhbREX7PZrUvIYsTae44vnyvJnOFmHa/Wap5 E4HYxVS X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > Even if it can't, it shouldn't hang. It could signal an error for any > operation that needs a file descriptor, but it shouldn't hang. Then > the user could kill one of the buffers under auto-revert, or manually > switch to not using notifications, and be able to continue the > session. But this doesn't seem to hang in kqueue. My test has shown, that it returned with a proper Test file-notify-test09-sufficient-ressources condition: (file-error "File cannot be opened" "Too many open files in system" "/tmp/file-notify-test-parent112045XZ/file-notify-test11204ZxG") The hang must be somewhere else in Emacs, where the request for a new file descriptor is assumed to work w/o check. > Btw, my recommendation is to turn off auto-revert-use-notify in any > session that uses global-auto-revert-mode. File notifications simply > don't scale up well enough for that, given that Emacs sessions tend to > run for many weeks and have many hundreds of file-visiting buffers. We have already auto-revert-use-notify. > Also, if you somehow end up visiting a file in /tmp, your Emacs will > get notifications about every temp file operation on the OS, which > will probably slow it down quite a lot. Not necessarily for every backend. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:34:02 +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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660163223150 (code B ref 22814); Sat, 27 Feb 2016 19:34:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:33:52 +0000 Received: from localhost ([127.0.0.1]:49080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkci-00061K-Aa for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:33:52 -0500 Received: from mout.gmx.net ([212.227.15.19]:51037) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkcf-000614-Hf for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:33:50 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MQzIE-1aUgyR1UjO-00ULoR; Sat, 27 Feb 2016 20:33:41 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <87egbynf1p.fsf@gmx.de> <83k2lqarol.fsf@gnu.org> Date: Sat, 27 Feb 2016 20:33:39 +0100 In-Reply-To: <83k2lqarol.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 21:17:46 +0200") Message-ID: <874mcune24.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:BnoUlSUj5H6ddKwzSMlLIBA1xKOkHUX9bnNKZ8Pqt9s8gsWygAB VRwEdqKGEcKhnEBqg+UTaCN8nbXhOPV1to5dl2fdFt4KcbOgLiB4TovnaFBTPQVzeUrAHdS vk+0Apah2XFL0UArtqqXlhBFx+/O2UUhwQokD7k/HOA2ziqw/SFZMognxP1LeCO626nr+3J PevqIw2DT076027+eq0TQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:rqbYLD0NW8E=:G8FTwZipwy5zB70gChBNo2 r6Ie4tSKkGQGhiflGY+2YiwWDC3VJUjNca1qy1pbbsZ3/tiQTMpY3lW7EnM1L1ARLt1o2uDOE 01U/u9yyorCm9TnAOYGC52XyyUNWXBxFbjTJOAMinTf3+/aF87eG675mOp43de0qJCxY8XnrI B5tijsedsZmVSKFo8i78cHdIqeOhqbWAWDEe+aY3Q0fTXv8ei7MKQhNAxi1g9Hs3nzBcCjQ95 kyUT8Frl8m7XA/0a1U3rmlpzW3jJISfoQugVIiBDy+b/imyUaYFGSC7rh+hQnkKJOc//wk9uS cA7OorWa1WhRSMA2NhmbQryTzUzvoq66sS1pxR0QkhfOWgVO+KZWgUId7M+nlmRi6rzuY358B PDWT87ZSIyqa7wpt80WNFi3eZEB5yPpISIBIGcCVkHDs70IuOqjx4ldKJVhSwZ9IvzvQ+AjmI Y0oOdjKGj1npvxcV2oSPzVFeBEz+gQ93OH6k9D0IPpUyt7/cwiIcoRY8HIOLA8NBgXCvr4uN0 L8JcAhZQNEZz20WAGrFgIFeLmqDoW7T76VQVQUCc+GtfuhBsHrhlJBFwNrU1smKg6t5gdSyKd 7YPoQqS759HDRCqgII/GZoObSaELRXv/YzpvHiqzOhb5+J5w9eWtHiv+DtssT+zn1thaMMyWr ZPUBdG6rlWNPmL3aDCMLvI90KZGdH+gcKb61C7zJhKkPTgwXzEbcI+3BGS03hf4Azl1oTOz9p gzMJETNTz83yJINfratAk7JoRNIR0jwjUzeSJ3y3AborGQJU2evIrKIIGapZUuBGIYixSzsyW Wf5+BOC X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> w32notify.c I cannot touch. Hopefully, somebody else takes the ball. > > When something like that happens in w32notify, it will return an > error, which needs to be handled. I meant that maybe a similar internal limit could be added, in order to keep Emacs running normal, not being at its upper limits. >> All of this shall go into the master, I believe. For the emacs-25 branch >> we know what to do, described somewhere earlier in this bug's messages. > > 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. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:37:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660179823449 (code B ref 22814); Sat, 27 Feb 2016 19:37:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:36:38 +0000 Received: from localhost ([127.0.0.1]:49089 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkfO-000669-0S for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:36:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45320) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkfM-00065t-Jb for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:36:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZkfE-00080c-FE for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:36:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZkfE-00080X-Cj; Sat, 27 Feb 2016 14:36:28 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2278 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZkfD-0004wU-J5; Sat, 27 Feb 2016 14:36:28 -0500 Date: Sat, 27 Feb 2016 21:36:09 +0200 Message-Id: <83io1aaqty.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <878u26neeo.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 20:26:07 +0100) References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: Anders Lindgren , 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 20:26:07 +0100 > > The hang must be somewhere else in Emacs, where the request for a new > file descriptor is assumed to work w/o check. That's what I meant: something, somewhere is not working correctly. > > Also, if you somehow end up visiting a file in /tmp, your Emacs will > > get notifications about every temp file operation on the OS, which > > will probably slow it down quite a lot. > > Not necessarily for every backend. But with Dired open on /tmp, it is. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:40: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660196323702 (code B ref 22814); Sat, 27 Feb 2016 19:40:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:39:23 +0000 Received: from localhost ([127.0.0.1]:49093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZki3-0006AE-Eb for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:39:23 -0500 Received: from mout.gmx.net ([212.227.15.18]:62598) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZki1-0006A1-N9 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:39:22 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MfmWy-1aEluw3NCe-00NAhl; Sat, 27 Feb 2016 20:39:14 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> Date: Sat, 27 Feb 2016 20:39:13 +0100 In-Reply-To: <83io1aaqty.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 21:36:09 +0200") Message-ID: <87ziumlz8e.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:czET9FuhBXopJslHHDCYf0v+Y7b2VjwNLFC63gPRBX9KJeQ/lXV 9XqD9LNIU5bA0r+GSkdJzFwYEp/D5HaSJPaO79HgrGsxr9j+5GDlM5+WTjRAi92mvxsybxx tUwGh+1TLNMgHkU3xZGEjOZ/fAh6BG0n0ypELwq0ohsyLSe8IYS0Df61c1wDM1IQ+9J44zb zvDOy7Omn14foHyZ8EZng== X-UI-Out-Filterresults: notjunk:1;V01:K0:BfzG+SyUqdM=:fL9ziQV57n7fJawvg4nLGe j/5PlKQN3kYVHVeqAcuKQajN0uq9v3QLv3vNMY9mIScvgnOU/MFGMonuvTpWy13s3gmNPMGiI FMK6NaGYx4O+f2q6nEk/KoXX89Trf2jX5qgiWn/Te7M/S+9r2TJrekns1M+nHhi15f8qYr+XN JQjuVMR5HTXOZfyWXSxyR37y0e/ppdV6WdBNKC/J+tNl9MssxA6aCk1kgF28g6J+/kzJfcItD kmZW8yajhvzrLb+QtnfXMTEIAtDKgfbYas+p2+eLGDSi/gz/CuU7234mestk8YE+/mkV51Lu0 UZBB8waZgXEr4WTmRQac27M33gWP/e1LHBIk4KApKpCXYcwNSoIsuieoMx0i+efHGNuFRvNvs wNu5EovSBZjxJ/lZLNji+R2kUtlbEk/ScN/uGVq5wu/benUQuushyogd+70Y68TC2o0a8lt4B UrdmF7pibVfbloatL92g9HRSXJFdmGecSx9XViOqCWuyHRqaiogrWKgSSyUkcU1RvkYkEOoD2 g+8rDrnysz9QhZJ0cew82tMgucAZr+N+MxhfODYesv1JApl56VuyemfJqjcpL2XyJzPY1YoE1 stlzQ1LwF3rc54HvtpSG8AQMpuIjqgeyCseXgXBNLiGljeKMrZQmDPgv7g/51e4xLbNAVzh+o 7er0iqym3FITtxtZNwHFPf69WIGtI/xbbQVmD6ulMXGcz0iTq4n+f8G4amtXGITeGaV/pKNce fprrPmjkCdeXPQjLXQafab4q0VUrZXZt2issR/EaPQAgKTCJYFqilbf70KwRZuMUt+JFfSMZW RbZ47Qn X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> > Also, if you somehow end up visiting a file in /tmp, your Emacs will >> > get notifications about every temp file operation on the OS, which >> > will probably slow it down quite a lot. >> >> Not necessarily for every backend. > > But with Dired open on /tmp, it is. Not with kqueue. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:40:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660198123734 (code B ref 22814); Sat, 27 Feb 2016 19:40:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:39:41 +0000 Received: from localhost ([127.0.0.1]:49096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkiL-0006Ak-Lp for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:39:41 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45775) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkiJ-0006AW-WB for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:39:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZkiB-0000Jf-Lz for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:39:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZkiB-0000Jb-IS; Sat, 27 Feb 2016 14:39:31 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2279 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZkiA-0005CN-OP; Sat, 27 Feb 2016 14:39:31 -0500 Date: Sat, 27 Feb 2016 21:39:12 +0200 Message-Id: <83h9guaqov.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <874mcune24.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 20:33:39 +0100) 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 20:33:39 +0100 > > Eli Zaretskii writes: > > >> w32notify.c I cannot touch. Hopefully, somebody else takes the ball. > > > > When something like that happens in w32notify, it will return an > > error, which needs to be handled. > > 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. > > 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? From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X 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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660269724849 (code B ref 22814); Sat, 27 Feb 2016 19:52:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:51:37 +0000 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 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 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 From: Michael Albinus 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> Date: Sat, 27 Feb 2016 20:51:27 +0100 In-Reply-To: <83h9guaqov.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 21:39:12 +0200") Message-ID: <87vb5alyo0.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:Iyo4iLlTgTCY6VzGaa0clAPcQ0mkEtk9q0az/4Oq+aNEy/drY8v z13Hg4nbHJJrSPnmDFHVXU6OhfKZGtH3/1HDWewSqiaG6tgW5u3JSBQlfh1mVdUpfewuY/o cxcfRogpDtYWPVpVQJqVdzKjw9Hk4tgqCVq568cC0IBXApWwQcZnnO44NrT1sMwc7lTwLXA EwWHCJOUAK8iCLZN+d2wA== X-UI-Out-Filterresults: notjunk:1;V01:K0:o0gu7hmynzY=:5neW/L4bB7GrTAAdHw83ri szFh9vAFgIx/mApU+FKv295lUvMaUaI4Sf5IE6sf+SpE/NHfy9I7raeCealiu0da0L5LGZTGT h09hdI1qvmEnHzSxk71ySi9ZB56tkwkiBEsqYDolxoskqu6TMTE9ubXfgtOgCOITFixirvsv8 r9ua9BI2hAovrqjb60xAKiKolhWDUz5943rpgEyUNN2gNA00StBl7sPyMF1o5TmhDPvhfZI6d SE5ZqY8dOTswWbbKa7wa5Vqj+mEA856pJpVGoqDPyLnqasH95sD4tWJjDRDYfAhimU6LR8Q18 7moRffIHsorvrMPhFPBxIAyajTHEsj8E5LQSU39wglDCqEEvT1au0D1j6b78tvZaHtrs4omxZ lKdfRc0jq3FIgoT+CoTX8ZRlQVKI/mXr6k295ia2qwJe1Z0/5fOB/V1RrX5XK5bQbrIFnW3YW V9An9BVDQN4wwrba3baowqBskymY/oHDW83eMakEI1n8PXUn/YaFidg870ifYdzykPLKHj12/ 77MyiYy3uL3MYmCRP++dOE/CgbkTWgPO2NGJ9bsGCUy+OHofdZlnpxqSbqv0DEseg437mKoRs YP6MDtZHNjasf9TFX6rG3uEuwYbQrDtsCG1va2rMD/N4Q6/Q8lda9BCsW1ChtKU4sKCkenNtN qWmxeN8RZF+X/wgLhIpXoqHNjbPX3JDZEWVeV6IhdxMVDd13HaqNsU2zUNMKanNq2jfHAi3dp 6AbZakBD59V5U2Xjf9yhMGutKsrczComW8J1kq3TFcJxyh1WQ3PK1FZhABqpr9JeIxChlVLnd g5H+DvC X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:57:02 +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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660299825287 (code B ref 22814); Sat, 27 Feb 2016 19:57:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:56:38 +0000 Received: from localhost ([127.0.0.1]:49117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkyk-0006Zn-O4 for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:56:38 -0500 Received: from mout.gmx.net ([212.227.17.22]:51943) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZkyj-0006Zc-U6 for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:56:38 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M97Nh-1alX4V3ZVt-00CROt; Sat, 27 Feb 2016 20:56:30 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> Date: Sat, 27 Feb 2016 20:56:29 +0100 In-Reply-To: <83io1aaqty.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 21:36:09 +0200") Message-ID: <87r3fylyfm.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:hnfVx6OmK1FX+HVKxSMOcvBsrIJKju1Xtu4Dbon3lEO+8yFeEWV L+CZ8+L1E4a7EZmMEzZl+V91PB8bD8rQJ+gIFdkhBiYkOK6YGG6rQbjzM8wc8iQRWBQZ+DJ VNuCat+41BU2VXHwZek0jo7viPOMyIkelH5YOCo/bZ50V51IGWZ/XUsHVa6VwBxLc7jljSv zeOpzWEyDkEz8Xxqb4Xug== X-UI-Out-Filterresults: notjunk:1;V01:K0:wC4uxXnfE+Y=:9sWQCvGsnPkBt8JY+Q3XXZ wggdCJ0S2hwPwNaJiA/7jnVCzSAQisNpQxxGnTIqxLkneZ8qWDWfDPhskXOA9X9iMW5mJFSw1 UyHZASvBcS4hA1OnGvJpFpyiR0s+QxwptLb6Kf71r5L0PajJAj3zIjP3CXEy2Adcyo1dupz5d g0RSxA3+VVKmzfx1fQIGcBRUo3ixlpPrybtqS1FuOF579t8J3512v2hb81iiMq3+iVPozB+hc CLN+/VEAZzkruK4opZzWu5hAfBtSj2AS0u/zyj2lR/XpyhgMcxR6hlPN4TTQ/XzBGrdRXZWEx u1FgVm+qKcpyrRVRLVRaTksf8uwr5ocZ9YwFqoZ+EPKjnmuNxEOktoBWZ+yXxZc61n3mVnJxc jbOWyk3qPG0uADX4B42eFuv5gCCTtNJqQHa/KyfZfk2i8bhmv9kRoMRXughNOGiq9E5Z97oj7 u/zwRHKLdwZMtiGfaqZ208u1LcRze2O61OpXiRMfFasN+MGjf2bQlftDANajkk7QGF4D7U8EY t/o7a2d6dp3GKJ9mdCRaLYIMqwnQciEgu308bF1BMDo5g45Jf0wyDqHyvxJWytQ1OYBXfxMTq 2wK7h6OOJ4Tm2Syk2eolPhhUwxU8Ft9QIHQeEPMQcZJXUYRWySGwSLqkLwKBRccg6yFIEOwAa 3JLzuJgOHjPfKoq0bNZhGQSaQu0amu4nnQ1iYiOYcqHNPd4hy78rqoVHhqXa1Wj5lXzs4fonU zucPhveYsQ68mjdqJlNrioB2dVPbJA+64QibQM/rf5URwAoGViwNKfViEJw2e/7S6BP9Uj8DT wrs4v+k X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> The hang must be somewhere else in Emacs, where the request for a new >> file descriptor is assumed to work w/o check. > > That's what I meant: something, somewhere is not working correctly. I've improved the test case. The file-error is trapped, and the test continues. Now I get Test file-notify-test09-sufficient-ressources condition: (error "Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") The Lisp backtrace doesn't tell anything useful. What could I do now? I've recompiled lisp/emacs-lisp/cl-seq.el, of course. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 19:59: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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660312025472 (code B ref 22814); Sat, 27 Feb 2016 19:59:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 19:58:40 +0000 Received: from localhost ([127.0.0.1]:49121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZl0i-0006cm-2K for submit@debbugs.gnu.org; Sat, 27 Feb 2016 14:58:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53430) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZl0g-0006cZ-Ux for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:58:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZl0X-0006pN-Cs for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 14:58:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZl0X-0006pB-A9; Sat, 27 Feb 2016 14:58:29 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2308 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZl0W-0008GU-G7; Sat, 27 Feb 2016 14:58:29 -0500 Date: Sat, 27 Feb 2016 21:58:10 +0200 Message-Id: <83egbyapt9.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87vb5alyo0.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 20:51:27 +0100) 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> <87vb5alyo0.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 20:51:27 +0100 > > > 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. I meant to do the above one emacs-25, and only there. > And if the changes are small enough (likely they are), they could go > even into the emacs-25 branch. I very much doubt that we should install such non-trivial changes on the release branch. That's why I proposed to change the default, which sounds like a much safer alternative. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 20:07: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660357726436 (code B ref 22814); Sat, 27 Feb 2016 20:07:01 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 20:06:17 +0000 Received: from localhost ([127.0.0.1]:49129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZl85-0006sK-EC for submit@debbugs.gnu.org; Sat, 27 Feb 2016 15:06:17 -0500 Received: from mout.gmx.net ([212.227.17.20]:50543) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZl83-0006s2-8S for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 15:06:15 -0500 Received: from detlef.gmx.de ([93.209.85.192]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lo2EO-1ZyWYy3Gcy-00fxXw; Sat, 27 Feb 2016 21:06:08 +0100 From: Michael Albinus 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> <87vb5alyo0.fsf@gmx.de> <83egbyapt9.fsf@gnu.org> Date: Sat, 27 Feb 2016 21:06:07 +0100 In-Reply-To: <83egbyapt9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 21:58:10 +0200") Message-ID: <87lh65nck0.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:l/ZcgeLxE4Wag/gddKOJj36dsNEkXk3u8hWDWumsrwHZ6VRRly0 OpMv5Tjttik5rg0Lfuhz+GkVBWQ4lwMik/OqWmf4IlSsWdwJKtd2zfx8/AzgjMP6gPKyJJv 2DakzcILWuw/i19bgcv32FB98+MNl2H3vxplXN5Bn1ZfCaY2HTOYbVMrhPYPlJQngiZttqN rxZhbSqJ+pGwCmhVGpEIA== X-UI-Out-Filterresults: notjunk:1;V01:K0:VEoNW0EvEas=:+CD+1+rd26zDiI052k6cXi SD7l3EHdy5zpishY8vtlv+TNbXycmASLuIuJV9iocXXvMcfUmARUSp3zFgGg9Dn3cC7iZDb6v +R8FtXXw/3hYjVZNs/t3wFB9fN78d6PG2ArAh2CklDl99RJq0ievCoIz6qOW9omXT0SEnSEvz Y+kZZ6Uq4YDamdVlLOsXVsyk9PrKDXtiXxaV0MBl1BUVqAMMVmOXyE4Uc8tnfmB7Vxa37J/q1 wpYewcLJ+bvACs4aZudydQZNSA2iaPr1bBH2AmQT65PwU3t9XOLzl7bTlzZHRyVemoNxLbAhQ gLlY5cjNjazdHO1hLDwH/oOjtHVIqgIKQVz5zWLMCfQdPQuorEeHLQ4JV7KOC86WueTCCGp6F KXSKRNfVgCdbten3jNBk0ni1HeCOXywgRTh+J8IldmqP47MvxVh3S91XS+vmjgxAMEDUD8Z9I HfrR0NgLgye73Yd65CQBGauI/4EnpjmbvwiHyi4iJoVKfZBTY5RlpF494F26aChBne+tgJEzs +eMua2tuBEwW2GX0F23o9KpWvKTlClMBwfyil6tNNhNwgJBD3atGNbmL5BZz6asq9J4yvAvDz dyEyCYYHAmJAqmhDkcjB6Lf4eIkw5rRmpt2kUdIweOrHmD8+z5SCoRYTYmE9xOPBk1dQpKoXR 7kQJM93A5Fx/s3zQ4OrgGR06jh6QB0bD72wvLUPR6JVX+rh7CC+Kh83KkwQAmY6xaFPxex3Y0 xu8owJX0lnBANmYtETc2MOqfD7GcS5MqHJzO82NmciMfZ1MEQaheFcbdJlcn2fAZXnadUXzSo c5af+i/ X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: > I very much doubt that we should install such non-trivial changes on > the release branch. That's why I proposed to change the default, > which sounds like a much safer alternative. And change it back in master? Well, that sounds OK to me. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 20:08:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660364526609 (code B ref 22814); Sat, 27 Feb 2016 20:08:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 20:07:25 +0000 Received: from localhost ([127.0.0.1]:49133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZl9A-0006v7-OF for submit@debbugs.gnu.org; Sat, 27 Feb 2016 15:07:24 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55988) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZl9A-0006uv-0n for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 15:07:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZl90-0001hP-4e for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 15:07:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZl90-0001h7-22; Sat, 27 Feb 2016 15:07:14 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2319 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZl8z-0000yj-6n; Sat, 27 Feb 2016 15:07:13 -0500 Date: Sat, 27 Feb 2016 22:06:55 +0200 Message-Id: <838u25c3z4.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87r3fylyfm.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 20:56:29 +0100) References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 20:56:29 +0100 > > I've improved the test case. The file-error is trapped, and the test > continues. Now I get > > Test file-notify-test09-sufficient-ressources condition: > (error "Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") > > The Lisp backtrace doesn't tell anything useful. What could I do now? Set a breakpoint in Fsignal, and see who signals the error, and why. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2016 20:27:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145660477628284 (code B ref 22814); Sat, 27 Feb 2016 20:27:02 +0000 Received: (at 22814) by debbugs.gnu.org; 27 Feb 2016 20:26:16 +0000 Received: from localhost ([127.0.0.1]:49141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZlRQ-0007M8-Jg for submit@debbugs.gnu.org; Sat, 27 Feb 2016 15:26:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60736) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZlRP-0007Lt-7I for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 15:26:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZlRG-0005qw-Qd for 22814@debbugs.gnu.org; Sat, 27 Feb 2016 15:26:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZlRG-0005qq-My; Sat, 27 Feb 2016 15:26:06 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2333 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZlRF-000351-Tl; Sat, 27 Feb 2016 15:26:06 -0500 Date: Sat, 27 Feb 2016 22:25:48 +0200 Message-Id: <8360x9c33n.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87lh65nck0.fsf@gmx.de> (message from Michael Albinus on Sat, 27 Feb 2016 21:06:07 +0100) 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> <87vb5alyo0.fsf@gmx.de> <83egbyapt9.fsf@gnu.org> <87lh65nck0.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Sat, 27 Feb 2016 21:06:07 +0100 > > Eli Zaretskii writes: > > > I very much doubt that we should install such non-trivial changes on > > the release branch. That's why I proposed to change the default, > > which sounds like a much safer alternative. > > And change it back in master? Yes, of course. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Feb 2016 09:58:02 +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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145665346715491 (code B ref 22814); Sun, 28 Feb 2016 09:58:02 +0000 Received: (at 22814) by debbugs.gnu.org; 28 Feb 2016 09:57:47 +0000 Received: from localhost ([127.0.0.1]:49521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZy6l-00041n-1a for submit@debbugs.gnu.org; Sun, 28 Feb 2016 04:57:47 -0500 Received: from mout.gmx.net ([212.227.15.19]:65361) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZy6i-00041Z-W4 for 22814@debbugs.gnu.org; Sun, 28 Feb 2016 04:57:45 -0500 Received: from detlef.gmx.de ([79.195.18.181]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MMkDH-1aYcOL1WNL-008XYe; Sun, 28 Feb 2016 10:57:38 +0100 From: Michael Albinus 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> <87vb5alyo0.fsf@gmx.de> <83egbyapt9.fsf@gnu.org> <87lh65nck0.fsf@gmx.de> <8360x9c33n.fsf@gnu.org> Date: Sun, 28 Feb 2016 10:57:36 +0100 In-Reply-To: <8360x9c33n.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 22:25:48 +0200") Message-ID: <87bn71ma27.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:MSreXiWlNWBB68B6KM5l+EG1I70FHh3RFYxjlIoVF04laLd2xI/ uU4gaeI0mguwP4VkzLr5DyVVDW/CS0acwf55728UXRIs7HcPUEcXpbHaLdZamT2ptF0gH+I LmTVbbH7T9CK8LptQIMpYnn0sZd5SzU8f/zTncXs6K6eVkLb6VQJ0mV9E9di0j3jX7bOdNX N71EwE24oVAuixtT6FF/w== X-UI-Out-Filterresults: notjunk:1;V01:K0:sZfSe3jgwjQ=:PsZuzdi7JnI4mPhCPzc0C/ nUL6nYw0EcMezwXHIy9jleVA+yggdAVahaCUml0wRBdG3Ip6wHexM661FLPUXcgtJ2FKOeW2f tTfvucoMFaYpY2z7UsvIK+pEXGjTT9F68SRrk99sJLZt0RBNdlLjc1/dxf1hJQrX0t+9CHszR xprdyVWGwyMHBf5yqe1VHdCHlWcwtJSunRtGXS+U8ctcEENibqrrdQVgat+IoAZirrs/iRyQU N50jQdmIZmmlXzf2KUj3Vyl7S9n0NS0Hz6TfpflphY0q+3r0olUQwrSDSu8eTyvncU4xJIEDr fbPAx2z3trt37XZn2rlPp4SeRd3NIpg1eJpA01VhImCqGoo0JKnp4+WtYGTbG8stdavwGXXLU 6Ka4AnLMQTyz2F7e6E1d5jLL9FnILeokHoUFLiLT3jtYV+klcpSqI6qGMuOgLDwIduix4loqW nixywv1q/wk05Sf2/RtkjBdw7f6HcBhhS7M1QsBm/PH/Mgo+hVhOMidrWgP7x0w8YaOP+K1Yo Fy+XRv2+bD8VGDRFPiw/gF0jb0WZ9WvyDnJ89qtRkW/FzFhAUlsAQnPNtOmboumv68M/4g+O/ Et6hVRh2ui9SyYu+Fr6Aek/viAbXwfsUh140j7Ze5oDxQlScEjUl/UsAo1lMPQzhN47QL82/0 +fWeiiXsvht7shVvOfcIbupneUWWCQ/iHwu/UySEyy7ivdS/M1Qdn9vOT1LPFIneAmm2P8acG JCpsgjf4HBctvDQL5XbMIp1rV/HyjiqjtUPlfFbYtDtnsTaA5FsZHVQQihhi4wY4cDDX/xUev 2FFIYFe X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> > I very much doubt that we should install such non-trivial changes on >> > the release branch. That's why I proposed to change the default, >> > which sounds like a much safer alternative. >> >> And change it back in master? > > Yes, of course. Done in emacs-25 branch. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Feb 2016 15: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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145667468924176 (code B ref 22814); Sun, 28 Feb 2016 15:52:01 +0000 Received: (at 22814) by debbugs.gnu.org; 28 Feb 2016 15:51:29 +0000 Received: from localhost ([127.0.0.1]:50895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aa3d3-0006Hs-5Z for submit@debbugs.gnu.org; Sun, 28 Feb 2016 10:51:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51221) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aa3d1-0006He-9L for 22814@debbugs.gnu.org; Sun, 28 Feb 2016 10:51:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa3ct-00018u-0T for 22814@debbugs.gnu.org; Sun, 28 Feb 2016 10:51:22 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa3cs-00018q-Q1; Sun, 28 Feb 2016 10:51:18 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3222 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aa3cr-0005FI-Pw; Sun, 28 Feb 2016 10:51:18 -0500 Date: Sun, 28 Feb 2016 17:51:01 +0200 Message-Id: <83vb58al5m.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87bn71ma27.fsf@gmx.de> (message from Michael Albinus on Sun, 28 Feb 2016 10:57:36 +0100) 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> <87vb5alyo0.fsf@gmx.de> <83egbyapt9.fsf@gnu.org> <87lh65nck0.fsf@gmx.de> <8360x9c33n.fsf@gnu.org> <87bn71ma27.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Sun, 28 Feb 2016 10:57:36 +0100 > > Eli Zaretskii writes: > > >> > I very much doubt that we should install such non-trivial changes on > >> > the release branch. That's why I proposed to change the default, > >> > which sounds like a much safer alternative. > >> > >> And change it back in master? > > > > Yes, of course. > > Done in emacs-25 branch. Thanks. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Feb 2016 10:25: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.1456741463761 (code B ref 22814); Mon, 29 Feb 2016 10:25:01 +0000 Received: (at 22814) by debbugs.gnu.org; 29 Feb 2016 10:24:23 +0000 Received: from localhost ([127.0.0.1]:51882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaL02-0000CD-N4 for submit@debbugs.gnu.org; Mon, 29 Feb 2016 05:24:23 -0500 Received: from mout.gmx.net ([212.227.17.22]:56937) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaL00-0000Bz-Ha for 22814@debbugs.gnu.org; Mon, 29 Feb 2016 05:24:21 -0500 Received: from detlef.gmx.de ([87.146.57.150]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MQu9K-1aTHRT1thm-00UNt8; Mon, 29 Feb 2016 11:24:13 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> Date: Mon, 29 Feb 2016 11:24:11 +0100 In-Reply-To: <838u25c3z4.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 Feb 2016 22:06:55 +0200") Message-ID: <87lh637r1w.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:JCVjqkxhp0y53bA5TgL2+cAXVbl6eL8jEgeBdBc+4699OuapW5V jVBK+r0RcRp9krzcGNyB7eY2E7gAxgy3S6TVHvysWpVjvrRnuUC9ptNUCwJLYd/hLX+Fcxd ZLWwM7+m+82UoFgWs8ImhmRUrOZI73bWkIhG6q/gbER39wciucvEbDbLCJra9Ni8VSS9wCp kaobr/l31os+wlK9UAlww== X-UI-Out-Filterresults: notjunk:1;V01:K0:aaNqY0Zoti8=:cl6sV5delwsoWxxwvvlZVQ vxd0IAx6ONsze3oGstx+G2ECZzmTxE5tBBBYk1q6Qjx5pPhj7XAAhYz5sAxBczw+W7BE5zdpw Wm8aO8kueDBdIygfPpKmFLWTRhPJTfTgOREVboQuukS7GwYHjuDmsSg7c8Z6CcY8AK7NBumAU 55VmZ08BuwC16MIwmkCvWGPl+AwH7q2nK1jLwvQatz/Ak0ob1/vOmvmywMR9Vq8uy4rgoE9Go 70sLtPbiIPduiN3PFPhkHtJCHSYJHZCW/8tWWABmIyzG46z/0UNMSQUlq1B/K7oCNb/bxIzZ0 dKTmkiQ1SqlRMdnt1n0algXkOSu7eLbIdQP1lrTVD22rrfO4HD2DhhgKOVmMOPFkyghXGUshI FoCy4hDW0KivtA87QhKvLmI18e5RjLAwHmytOF8bl0Mo7v5aZsvbVitAIR+wYN07UuHDDQSgN O75Zh7GdAqWXVadxjqsI8nC931tOFH3cyDyXzO02CcIdMzT5pK977WuaBpMVaGxw7tNLGxv2n aSVX3xOzvEA1o6dUZulrl+fJccZ1gtB3JMeD4VQsXSPrnCuOJmRmIWOU8wY+e9GY6F6onWXoh GeUawhpt+TxaYq9pAKjujPs3h53X0AWVgdjlXnbgnTekbNaIMwp5clNWp0s6+1b3dWl5nSsYu k5eyHbwdwlEBUKrI47DySzuCVnCdwq+EJKXkh0dZDcNhCYqWXm+xtQ3vzs/b0QsYLZglXXoaS maOagtri7zby5mddcThtUgBzQNtrE6tzDMXxA51NNahpXKFYTVKz42Y821HFmoSSNbct/pO0x bkq9k5Y X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> From: Michael Albinus >> Cc: andlind@gmail.com, 22814@debbugs.gnu.org >> Date: Sat, 27 Feb 2016 20:56:29 +0100 >> >> I've improved the test case. The file-error is trapped, and the test >> continues. Now I get >> >> Test file-notify-test09-sufficient-ressources condition: >> (error "Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") >> >> The Lisp backtrace doesn't tell anything useful. What could I do now? > > Set a breakpoint in Fsignal, and see who signals the error, and why. --8<---------------cut here---------------start------------->8--- Breakpoint 5, Fsignal (error_symbol=15024, data=95357875) at eval.c:1471 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); (gdb) pp error_symbol error (gdb) pp data ("Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") (gdb) xbacktrace "cl-intersection" (0xffffccc0) "ert--should-error-handle-error" (0xffffcd60) "condition-case" (0xffffcf68) "let" (0xffffd088) "let" (0xffffd1a8) "let" (0xffffd2c8) "let" (0xffffd3e8) "unwind-protect" (0xffffd4c8) 0x1b99710 Lisp type 3 "ert--run-test-internal" (0xffffd7c0) "ert-run-test" (0xffffd948) "ert-run-or-rerun-test" (0xffffdae8) "ert-run-tests" (0xffffdc68) "ert" (0xffffdea0) "funcall-interactively" (0xffffde98) "call-interactively" (0xffffe120) "command-execute" (0xffffe2d8) "command-line-1" (0xffffe440) "command-line" (0xffffe608) "normal-top-level" (0xffffe6d0) "nil" (0x0) 0 (0x15ab400) 0xe04620 Lisp type 4 0x1ae63b0 Lisp type 3 Error accessing memory address 0x37393832746e6588: Bad address. (gdb) bt #0 Fsignal (error_symbol=15024, data=95357875) at eval.c:1471 #1 0x000000000050b0a9 in xsignal (error_symbol=15024, data=95357875) at eval.c:1577 #2 0x000000000050970c in xsignal1 (error_symbol=, arg=) at eval.c:1592 #3 0x000000000050b173 in verror (m=, ap=) at eval.c:1770 #4 0x0000000000509632 in error (m=0x3ab0 ) at eval.c:1782 #5 0x000000000050c921 in Ffetch_bytecode (object=) at eval.c:2949 #6 0x000000000050c53f in funcall_lambda (fun=12117621, nargs=2, arg_vector=0x7fffffffccc0) at eval.c:2854 #7 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #8 0x000000000053b8ee in exec_byte_code (bytestr=, vector=22872277, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #9 0x000000000050b61a in apply_lambda (fun=22872381, args=, count=) at eval.c:2794 #10 0x0000000000508a14 in eval_sub (form=) at eval.c:2211 #11 0x000000000050a889 in internal_lisp_condition_case (var=11746680, bodyform=, handlers=) at eval.c:426 #12 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #13 0x0000000000509ff9 in Flet (args=) at eval.c:426 #14 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #15 0x0000000000509ff9 in Flet (args=) at eval.c:426 #16 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #17 0x0000000000509ff9 in Flet (args=) at eval.c:426 #18 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #19 0x0000000000509ff9 in Flet (args=) at eval.c:426 #20 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #21 0x000000000050a64e in Funwind_protect (args=28974979) at eval.c:1170 #22 0x0000000000508b83 in eval_sub (form=) at eval.c:2119 #23 0x000000000050c7c9 in funcall_lambda (fun=, nargs=, arg_vector=) at eval.c:426 #24 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #25 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23072773, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #26 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #27 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23073197, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #28 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #29 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23488237, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #30 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #31 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23488597, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #32 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #33 0x000000000053b8ee in exec_byte_code (bytestr=, vector=23546765, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 #34 0x000000000050bbf3 in Ffuncall (nargs=, args=) at eval.c:2742 #35 0x0000000000506644 in Ffuncall_interactively (nargs=15024, args=0x5af0bb3) at callint.c:248 #36 0x000000000050bc5e in Ffuncall (nargs=, args=) at eval.c:2673 #37 0x000000000050b86d in Fapply (nargs=, args=) at eval.c:2321 #38 0x0000000000506b26 in Fcall_interactively (function=4839752, record_flag=, keys=) at callint.c:385 #39 0x000000000050bd63 in Ffuncall (nargs=, args=) at eval.c:2700 #40 0x000000000053b8ee in exec_byte_code (bytestr=, vector=8926749, maxdepth=, args_template=, nargs=, args=) at bytecode.c:880 [...] --8<---------------cut here---------------end--------------->8--- Emacs was compiled with "gmake bootstrap". I'll keep the gdb session open. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Feb 2016 16:03: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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145676174823310 (code B ref 22814); Mon, 29 Feb 2016 16:03:01 +0000 Received: (at 22814) by debbugs.gnu.org; 29 Feb 2016 16:02:28 +0000 Received: from localhost ([127.0.0.1]:53867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaQHD-00063u-O1 for submit@debbugs.gnu.org; Mon, 29 Feb 2016 11:02:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48321) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaQHD-00063g-1c for 22814@debbugs.gnu.org; Mon, 29 Feb 2016 11:02:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaQH3-0005Bm-SG for 22814@debbugs.gnu.org; Mon, 29 Feb 2016 11:02:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaQH3-0005Bf-Ou; Mon, 29 Feb 2016 11:02:17 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4730 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aaQH2-0007sr-Mc; Mon, 29 Feb 2016 11:02:17 -0500 Date: Mon, 29 Feb 2016 18:02:04 +0200 Message-Id: <83r3fv8pz7.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87lh637r1w.fsf@gmx.de> (message from Michael Albinus on Mon, 29 Feb 2016 11:24:11 +0100) References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Mon, 29 Feb 2016 11:24:11 +0100 > > Eli Zaretskii writes: > > >> From: Michael Albinus > >> Cc: andlind@gmail.com, 22814@debbugs.gnu.org > >> Date: Sat, 27 Feb 2016 20:56:29 +0100 > >> > >> I've improved the test case. The file-error is trapped, and the test > >> continues. Now I get > >> > >> Test file-notify-test09-sufficient-ressources condition: > >> (error "Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") > >> > >> The Lisp backtrace doesn't tell anything useful. What could I do now? > > > > Set a breakpoint in Fsignal, and see who signals the error, and why. > > --8<---------------cut here---------------start------------->8--- > Breakpoint 5, Fsignal (error_symbol=15024, data=95357875) at eval.c:1471 > 1471 = (NILP (error_symbol) ? Fcar (data) : error_symbol); > (gdb) pp error_symbol > error > (gdb) pp data > ("Invalid byte code in /usr/local/src/emacs-25/lisp/emacs-lisp/cl-seq.elc") > (gdb) xbacktrace > "cl-intersection" (0xffffccc0) > "ert--should-error-handle-error" (0xffffcd60) > "condition-case" (0xffffcf68) > "let" (0xffffd088) > "let" (0xffffd1a8) > "let" (0xffffd2c8) > "let" (0xffffd3e8) > "unwind-protect" (0xffffd4c8) > 0x1b99710 Lisp type 3 > "ert--run-test-internal" (0xffffd7c0) > "ert-run-test" (0xffffd948) > "ert-run-or-rerun-test" (0xffffdae8) > "ert-run-tests" (0xffffdc68) > "ert" (0xffffdea0) > "funcall-interactively" (0xffffde98) > "call-interactively" (0xffffe120) > "command-execute" (0xffffe2d8) > "command-line-1" (0xffffe440) > "command-line" (0xffffe608) > "normal-top-level" (0xffffe6d0) > "nil" (0x0) > 0 (0x15ab400) > 0xe04620 Lisp type 4 > 0x1ae63b0 Lisp type 3 > Error accessing memory address 0x37393832746e6588: Bad address. > (gdb) bt > #0 Fsignal (error_symbol=15024, data=95357875) at eval.c:1471 > #1 0x000000000050b0a9 in xsignal (error_symbol=15024, data=95357875) at eval.c:1577 > #2 0x000000000050970c in xsignal1 (error_symbol=, arg=) at eval.c:1592 > #3 0x000000000050b173 in verror (m=, ap=) at eval.c:1770 > #4 0x0000000000509632 in error (m=0x3ab0 ) at eval.c:1782 > #5 0x000000000050c921 in Ffetch_bytecode (object=) at eval.c:2949 Crystal ball says something went wrong inside read_doc_string that was called just before the call to 'error'. That function calls emacs_open, and you have run out file descriptors. Can you see what's going on inside that call? (That would require re-running the test with a suitably conditioned breakpoint.) From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Mar 2016 15:04: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145693102622061 (code B ref 22814); Wed, 02 Mar 2016 15:04:01 +0000 Received: (at 22814) by debbugs.gnu.org; 2 Mar 2016 15:03:46 +0000 Received: from localhost ([127.0.0.1]:57923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ab8JS-0005jg-By for submit@debbugs.gnu.org; Wed, 02 Mar 2016 10:03:46 -0500 Received: from mout.gmx.net ([212.227.17.20]:62716) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ab8JN-0005jQ-OI for 22814@debbugs.gnu.org; Wed, 02 Mar 2016 10:03:41 -0500 Received: from detlef.gmx.de ([87.146.52.229]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0Lpfas-1Zw2w029Qs-00fO9h; Wed, 02 Mar 2016 16:03:30 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> Date: Wed, 02 Mar 2016 16:03:29 +0100 In-Reply-To: <83r3fv8pz7.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Feb 2016 18:02:04 +0200") Message-ID: <87r3fsvs5a.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:cBVtHmtMAb/sINLZQKuCQqR/RjMVwJfT9TGTrpf0nl4wFVxQqs5 u4dMzDZ52mpBDhmwCQ2rSC9fZva1XNnOL2DHpil1PeTBCFQgqcuezawH5HlPrSFO0jklkUa Y4wP3HFTY653zh85AT4sQkHSAnRFWr2JyoJfYsbEtzNCwcPYF8h/eEzy9PEXMgLikruuHCK cUD/g7lQg1KF0RNtORB4Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:R4hpFxMKIO8=:z/PnZPxO6q408PFyqpCHWu nlPbtdxfZhvN5JkVGXKodjQ/75hVv2BEgxCu7gABLtZCzQrSuOt/zkSOldvA+8pMNy8r6t4Ig mh+voMSZMmhPoGylyWfImUyG+Pm21UGi+yv1IZDXYqtMBudlq6ikiWIwspUqM/vK4yFGe0RT2 zi18lJyu0F5d511v/4Wygy2fqSBjlw4DWB2KwVCy8DCnSSnh1H7r/yu9dGRJFbLxSqnhFxUof +o3oIE9RjR+IQVbwurmzPbQjmLCu5QfVyFYFJcrBEApqF5z4Asds7h6C7hXlCwxZY/upLZM7G lTNHDA7Yu+Pjr81CqPPsf8/qDcvRsOd5exGBeMp1TnwWdf5rMW5saorv5uAqBlpqGZLJ3hm5k YjD7WUY/9i3ubNbOIjryLjW9nC9ZlOULll5jfPJ4X+TV4fyci5nqAHKpGbJt8OZm52Rqme82f coWL9oKA8PvUUnVZ1rzaTANxuz3T1DZwHyNGoyJEBhY8AvGdI1wBGGZ7OG+YgkDanDoIHIw7D Z+MXRJbbt2p9HKgIykQOKnomMTgkpzGAS25jwBwl38QbmI5U3r6towwwAkQvlCCtKEO4odDHg skcvMpHw91qbV9y+5N5YEObpS4uBcc2i8kU/XkXwTT6V7U5ZOI8fqRENFZI7oy2P3C+PCD4rS pUDr85hime5+IwMg+3KaFu2l8VlPlO8S4wFbuuoEnFUAlkqE0DWcLtEmJE1plLwas3bJUmUzF vIogRWYiUyAgHk6xLISEwqIF1zuRfEnPqNhqbJJniODbY7cgNegeRkZ2A+GkhGCLBw9Gz87Cx CMC/g1A X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: Hi Eli, > Crystal ball says something went wrong inside read_doc_string that was > called just before the call to 'error'. That function calls > emacs_open, and you have run out file descriptors. Can you see what's > going on inside that call? (That would require re-running the test > with a suitably conditioned breakpoint.) Indeed, Emacs tries to read the docstring of the just fetched function. And it tries to open etc/DOC for this, which fails due to the missing file descriptor availability. I don't believe we need to handle this case; if Emacs is running out of file descriptors, anything could happen. I'm testing a patch for kqueue.c, which limits the open file notification descriptors, as proposed by Anders. According to my tests this is not necessary for inotify.c (contrary to what I've assumed). Will commit the patch once the current emacs-25 commits are merged to the master. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Mar 2016 16:03: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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145693453327808 (code B ref 22814); Wed, 02 Mar 2016 16:03:01 +0000 Received: (at 22814) by debbugs.gnu.org; 2 Mar 2016 16:02:13 +0000 Received: from localhost ([127.0.0.1]:57952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ab9E4-0007ES-Ub for submit@debbugs.gnu.org; Wed, 02 Mar 2016 11:02:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:47232) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ab9E0-0007EC-EF for 22814@debbugs.gnu.org; Wed, 02 Mar 2016 11:02:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ab9Ds-0006zZ-4k for 22814@debbugs.gnu.org; Wed, 02 Mar 2016 11:02:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ab9Ds-0006zU-2H; Wed, 02 Mar 2016 11:02:00 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3418 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ab9Dr-0003yP-2F; Wed, 02 Mar 2016 11:01:59 -0500 Date: Wed, 02 Mar 2016 18:01:51 +0200 Message-Id: <831t7s7tsg.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87r3fsvs5a.fsf@gmx.de> (message from Michael Albinus on Wed, 02 Mar 2016 16:03:29 +0100) References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Wed, 02 Mar 2016 16:03:29 +0100 > > > Crystal ball says something went wrong inside read_doc_string that was > > called just before the call to 'error'. That function calls > > emacs_open, and you have run out file descriptors. Can you see what's > > going on inside that call? (That would require re-running the test > > with a suitably conditioned breakpoint.) > > Indeed, Emacs tries to read the docstring of the just fetched > function. And it tries to open etc/DOC for this, which fails due to the > missing file descriptor availability. > > I don't believe we need to handle this case; if Emacs is running out of > file descriptors, anything could happen. The only part that might be worth improving is the error message: it's a far cry from what really went wrong. If you can find a way of making it say something about "too many open files", that'd be all the improvement we can hope for. > I'm testing a patch for kqueue.c, which limits the open file > notification descriptors, as proposed by Anders. According to my tests > this is not necessary for inotify.c (contrary to what I've assumed). > Will commit the patch once the current emacs-25 commits are merged to > the master. Thanks. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2016 07:54: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145707801510369 (code B ref 22814); Fri, 04 Mar 2016 07:54:01 +0000 Received: (at 22814) by debbugs.gnu.org; 4 Mar 2016 07:53:35 +0000 Received: from localhost ([127.0.0.1]:60758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abkYI-0002hA-Tn for submit@debbugs.gnu.org; Fri, 04 Mar 2016 02:53:35 -0500 Received: from mout.gmx.net ([212.227.15.18]:56300) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abkYG-0002gx-W5 for 22814@debbugs.gnu.org; Fri, 04 Mar 2016 02:53:33 -0500 Received: from detlef.gmx.de ([87.146.40.158]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0M4GRv-1ZlQsX1RxL-00rqSK; Fri, 04 Mar 2016 08:53:26 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> Date: Fri, 04 Mar 2016 08:53:24 +0100 In-Reply-To: <831t7s7tsg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Mar 2016 18:01:51 +0200") Message-ID: <874mcm7k7f.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:mTwDNXkzvy3ZwOvSgz8PXi6UVOq6quGqPRa1Dn+bUYoZMV7oQMo AtyEIDjlR4pGXrm8TYucbv6Kmv04IJgoMHfOyPlH+Rn/0qOCCzdB1hNjjkgBewAELGo9H/u LS9M/xU7bqhawyJ8vmmwaRAoPdFOn+5i0RDIcOpxrTZUJO8+8IGvWBhKXxrRtnTS9VkGpcV E3HCVSI2yM+CpFT/dtGPw== X-UI-Out-Filterresults: notjunk:1;V01:K0:78AJ4xkwGRw=:z5qHEsKAO8r25LbYTjCCKb qwXbdAaK2lrxKrUNocqh5E8/75zHo2ROD5HCAJfjgVY2goWaz10Ymnn/0LParySlHx27onviz HhDl1lI6Wz7P0pEOQ++Lj9eRQmB7AAftL9jUvhg/Elov1MIR2r966B7q8Mgprx8eViXJSiBPO xyhDSm+hgcFwLv3S7zO4cHd7LfyI7Q7tpyw9StD2yBFKE6CJ//A1zl9PSLZWD22TfwY57EzkD O4j138FOK+BWBZil4K0z+bvLRfMHKMrIWkxdgEniLJOpC8drfDENz6Dk4HrJ8w8tabNKaglSZ bpjrJf4Lp265kehcZnm1v4AQeb2Q0w3xv1/JOA0p3GeMCwZygEfxGobBOYkR7UUqF5BeuwFTq y0RTA73weCf/eK8XwbsRC1aL/vKeRgFqwpNpMYKkCr7g1FeP6ryeGewGN13EtsNEUtsZD6qdf iJqIBepJKcd8fed5nW1FqmZLWMqRKvS4eiog3gwuQ9e1Wa0jHI43Ef5e9I3IbsTZUa0nz7L5l hM/UQ53tK6njZuM0XSoTyQhRgGgXvJiA+g/JrsBh+/Z2nB9DHJyJE2sepEs6hYBrZpJM8BViu MI3LBPBZUgJQgGUTDiXl5qvmuOT6+/Afz00vUvtAGE0qsNOsBYfLF/xjOTKLW3wAEFSE77DAm apTNBbFDXxMQIAJttPYbi4ZQafHePti7ckSsE/TggklN07tkEwpLX/dVu3ulb+g4Nc2fh0Wdn 2/TcBN0dbhQkFMsLGmStXmpLA6n2mqXfvFJPlAa3o76nFdQGHttPotAkE6EmREuGPdEXP849P CZVyrkN X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: Hi Eli, >> Indeed, Emacs tries to read the docstring of the just fetched >> function. And it tries to open etc/DOC for this, which fails due to the >> missing file descriptor availability. >> >> I don't believe we need to handle this case; if Emacs is running out of >> file descriptors, anything could happen. > > The only part that might be worth improving is the error message: it's > a far cry from what really went wrong. If you can find a way of > making it say something about "too many open files", that'd be all the > improvement we can hope for. I would apply the following patch: --8<---------------cut here---------------start------------->8--- *** /home/albinus/src/emacs-25/src/doc.c.~2e78353fabe11c768627c50e48375de5693ce7ee~ --- /home/albinus/src/emacs-25/src/doc.c *************** *** 126,131 **** --- 126,134 ---- fd = emacs_open (name, O_RDONLY, 0); if (fd < 0) { + if ((errno == EMFILE) || (errno == ENFILE)) + report_file_error ("Read error on documentation file", file); + #ifndef CANNOT_DUMP if (!NILP (Vpurify_flag)) { --8<---------------cut here---------------end--------------->8--- This ends up in the following error message: Read error on documentation file: Too many open files, /home/albinus/src/emacs-25/lisp/emacs-lisp/cl-seq.elc Is it OK to apply it to the emacs-25 branch, or shall it go to master? Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2016 08:15:02 +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: To: Michael Albinus Cc: Eli Zaretskii , 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: John Wiegley Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145707926412204 (code B ref 22814); Fri, 04 Mar 2016 08:15:02 +0000 Received: (at 22814) by debbugs.gnu.org; 4 Mar 2016 08:14:24 +0000 Received: from localhost ([127.0.0.1]:60778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abksS-0003Am-Hp for submit@debbugs.gnu.org; Fri, 04 Mar 2016 03:14:24 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:34028) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abksR-0003AZ-9u for 22814@debbugs.gnu.org; Fri, 04 Mar 2016 03:14:23 -0500 Received: by mail-pf0-f177.google.com with SMTP id 4so31335215pfd.1 for <22814@debbugs.gnu.org>; Fri, 04 Mar 2016 00:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:reply-to:mime-version; bh=Jf7cVZJRUDOC4tp0jkn4PApWGgn1stdz4DTiewQAXUE=; b=qLYcqAy2wTCsyqD28gxzhjb0qi6NyAYjQIOLk88DTCgq1hwJRYuEffhToVDi57WKbI 9JCF3DJHzWZCSg90W8h4EbxSUBlOFmzpFygpuRBbL8lNIxe1CiOSxL3tr5URZ0GXONy0 uGKswOeygsqgTXlJlVmIKVPRE7YJPhaTUd9H2d6nK750ExqtSQZ2K2pBG2ZOnVzOSeQR TcnYp8Z7G5s0BP0H6NofLE/e8u8m+xUnLVu9kdeErwWx8HhJgza0Z4OGT6/EnFa5MRrI D3gRm8RDeVGedOJ/WnrqFtBG94gVxMzf7pI5rMcyIPCEGJqegZ1AChWNeq5uMyRCJx0R 4WUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:reply-to:mime-version; bh=Jf7cVZJRUDOC4tp0jkn4PApWGgn1stdz4DTiewQAXUE=; b=j5h286nzs1Khu9Ro3GBJ5WBvyHtahcDRSGMnfR75BGMGd71F+8KmD0fVR1gLXxctAs +H5+tmD2MkYvjm+eoJ165BJWr0cB/7m+SGsvRN0Bdsp8zjcpO+A6RDcWbumiLhnaWzlZ +kKZB0bPx0MmdSmIsaRrq9zUf/tt4ZDqjxcvWqlPygosQbGxsh/ggYN8CiMJKQXvU9IZ uECsvhNGyvWcBzatKwW19mh8Y42GomE+0pQqA7piXKzogVX+cSG3B7t8zr8UFD1nQox3 1bgUQVbcQQXVHzTdn/Dv6FePwiyfv9p3w6esoMJBkIg54FpI9b27iphZcAONXRysmsk8 inLw== X-Gm-Message-State: AD7BkJLnASI6jtmq0lbrmv60t2K20YsSyEk5ewQaknBrmvfGUTo8s0WxMtYntfZG2N3bsQ== X-Received: by 10.98.68.194 with SMTP id m63mr10051824pfi.153.1457079257553; Fri, 04 Mar 2016 00:14:17 -0800 (PST) Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id o7sm3385246pfa.37.2016.03.04.00.14.16 (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 04 Mar 2016 00:14:16 -0800 (PST) From: John Wiegley X-Google-Original-From: "John Wiegley" Received: by Vulcan.local (Postfix, from userid 501) id C881D133C4A55; Fri, 4 Mar 2016 00:14:14 -0800 (PST) In-Reply-To: <874mcm7k7f.fsf@gmx.de> (Michael Albinus's message of "Fri, 04 Mar 2016 08:53:24 +0100") Date: Fri, 04 Mar 2016 00:14:12 -0800 Message-ID: References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <874mcm7k7f.fsf@gmx.de> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>>>> Michael Albinus writes: > This ends up in the following error message: > Read error on documentation file: Too many open files, > /home/albinus/src/emacs-25/lisp/emacs-lisp/cl-seq.elc > Is it OK to apply it to the emacs-25 branch, or shall it go to master? I'd like to have this on emacs-25. It's just unfortunate that it hasn't been in any of the pretests. But if the alternative is a more confusing error situation, then it's better for the bug reports that come to be specific. =2D-=20 John Wiegley GPG fingerprint =3D 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGcBAEBCgAGBQJW2UPUAAoJEMFE2PTxn+YwgukL/3Mmmo4ACTCy6y7QTI9OuCv8 bxn9kuAtB2vgE2TYCdX2CxXXAgShqjZX42kkAmOg+nVOjCQkHIdH+saYRkDn2kYO E77Y0CRMMRVCCoXYDhB4ti/7zR33SRV+hhvgVF4fA1p86Fjty4RwTJN7uuDfOZ2q 9df6bD4FMBycQd5dDFdlaifmRVJk3aAmqOqgXPzHEtYfQQoHRTi/4gIGD+UPJj6i KEwuHeKgUjorHwzRSPtS4XXly8lsmsEWsJbssylMLVM5EbbdJSsV3T01IWA/mp5u zQ9JbpyPMgHmRYuQsSfojRfOVan+bKQeXRPOIZfm25VD9qIT8PM9SlXHYEIK0N7O LN1MAQx2bPtHv8a7vA0Qw3RL+XNzdJJ7rvJAQvEN1RM8ECJzXuElqJhk8+owcEQN BKyLpkwDYczs9UxmBbLS0MjIICcz1vXOxYpS1nYToosi6tEis+Ptn1fkgtCRJWE9 VPe4cf2Oxh4Q5k5ocph6h9gAgM8JzRQsTHm2TasiZA== =TN4h -----END PGP SIGNATURE----- --=-=-=-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2016 08:30:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org, andlind@gmail.com Reply-To: Eli Zaretskii Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145708019613519 (code B ref 22814); Fri, 04 Mar 2016 08:30:02 +0000 Received: (at 22814) by debbugs.gnu.org; 4 Mar 2016 08:29:56 +0000 Received: from localhost ([127.0.0.1]:60782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abl7T-0003Vy-V1 for submit@debbugs.gnu.org; Fri, 04 Mar 2016 03:29:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58725) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abl7S-0003Vl-ED for 22814@debbugs.gnu.org; Fri, 04 Mar 2016 03:29:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abl7I-0002Nf-Gi for 22814@debbugs.gnu.org; Fri, 04 Mar 2016 03:29:48 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abl7I-0002Nb-D9; Fri, 04 Mar 2016 03:29:44 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2279 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1abl7H-0004oc-AR; Fri, 04 Mar 2016 03:29:43 -0500 Date: Fri, 04 Mar 2016 10:29:40 +0200 Message-Id: <83h9gmzlvv.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <874mcm7k7f.fsf@gmx.de> (message from Michael Albinus on Fri, 04 Mar 2016 08:53:24 +0100) References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <874mcm7k7f.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Michael Albinus > Cc: andlind@gmail.com, 22814@debbugs.gnu.org > Date: Fri, 04 Mar 2016 08:53:24 +0100 > > > The only part that might be worth improving is the error message: it's > > a far cry from what really went wrong. If you can find a way of > > making it say something about "too many open files", that'd be all the > > improvement we can hope for. > > I would apply the following patch: > > --8<---------------cut here---------------start------------->8--- > *** /home/albinus/src/emacs-25/src/doc.c.~2e78353fabe11c768627c50e48375de5693ce7ee~ > --- /home/albinus/src/emacs-25/src/doc.c > *************** > *** 126,131 **** > --- 126,134 ---- > fd = emacs_open (name, O_RDONLY, 0); > if (fd < 0) > { > + if ((errno == EMFILE) || (errno == ENFILE)) > + report_file_error ("Read error on documentation file", file); > + > #ifndef CANNOT_DUMP > if (!NILP (Vpurify_flag)) > { > --8<---------------cut here---------------end--------------->8--- > > This ends up in the following error message: > > Read error on documentation file: Too many open files, /home/albinus/src/emacs-25/lisp/emacs-lisp/cl-seq.elc LGTM. > Is it OK to apply it to the emacs-25 branch, or shall it go to master? Please commit to emacs-25, and thanks. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2016 14: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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145710032024201 (code B ref 22814); Fri, 04 Mar 2016 14:06:01 +0000 Received: (at 22814) by debbugs.gnu.org; 4 Mar 2016 14:05:20 +0000 Received: from localhost ([127.0.0.1]:60926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abqM4-0006IH-5K for submit@debbugs.gnu.org; Fri, 04 Mar 2016 09:05:20 -0500 Received: from mout.gmx.net ([212.227.15.19]:63687) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abqM2-0006I4-P7 for 22814@debbugs.gnu.org; Fri, 04 Mar 2016 09:05:19 -0500 Received: from detlef.gmx.de ([87.146.40.158]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MAxyW-1allzB0kE8-009xNV; Fri, 04 Mar 2016 15:05:05 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <874mcm7k7f.fsf@gmx.de> <83h9gmzlvv.fsf@gnu.org> Date: Fri, 04 Mar 2016 15:05:03 +0100 In-Reply-To: <83h9gmzlvv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Mar 2016 10:29:40 +0200") Message-ID: <87y49ys5io.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:Elsk2rddU3M8hEblcYJqXCNxsjqjpyjtwUwLi66RJc3Wp7tlAHi CV4yNMJuhMDQT7sC1ClLCCrQQNpOFFKPHKoxKfVBBS0VG3xtyJsd/JfvL4InnpFW2nr4O1K rpTSGMWwp4rwHxtuAvIMyCG0PzPavJYO2rRM4VxvJj4kN8aZwshbvwC/O32KkMhVgrPswYR U6AX5QrPI1/AGCbJNaUJg== X-UI-Out-Filterresults: notjunk:1;V01:K0:dQDBaS36vP8=:b3gS9GGhiIZSS2fa3NEFls Udkxkfxi9uWPaFe+tKqVo62/n72aNUDBhh0kX0hnkbsQEoN2QPRu4myYri6vMG8cCqtBs7mz8 A/xuVCyRt1eFa/bReDYzZxbg3BE/tDMrz1rHN8ICoSiVPyEF+tGuMk8KFKaNiNwsmL6ySinNa CjVD3sjN/RJj1Yy/YuDBB3k6oIC/Pso2ekhI86NMy1xWtdpsGXJ60D+bss9uXlS4l6Pnsl6ww iub/8RPXSqbfdbSUTTIWh9nwcpxiaM40qd9HqQ3TLtGrKB8OULpUm80sadpnJW0q4Lhtacw3K DkkNmBFDhUMrQvciNtE6SiZhsFBE87dHhnUOkJiChUL0BB7ds80CSF5P+cLBtgesJinSvIGCC 6VHDk4o88JXFP/rzIzH8ybWYBF0wo2eVza39LiGrFOAF01YuHrtFM+YbNpD4SBmzrh1of6h+h H2ROHSg9jdlzi/VX7Px6ej1zG0/xBdgonwKo2uecYmmMXN6S266l7hsiLdo/r1I6Zzm2zVUQo vcuw+jPpoBOphg8vnljZ5xxe/BftSz56UG+ICYNe/65zrSpZ9cdNDYtuR8O77/ldNYMRf35TE 9V03isaGema26gjFfdhV1STg8hZv3idsOS9wrurVoh7ANZTqbb2xhA+UTM98QvI16ZYERsOsZ zYMdJqFJnEEovKzVCzKBYjcNWGH9iSh1m1JlIKunDhFXMpXV1GQ7d6LBQQEgE9z/zRypRYK6u 7PHz82E78PO9Q2X8D65y4b6BVjDzXoKn6Lq1LAx1X+BA9kJMgJZkx2Gfi0l4NQZtHGC5wcwZA dkLMIMx X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> Is it OK to apply it to the emacs-25 branch, or shall it go to master? > > Please commit to emacs-25, and thanks. Done. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Mar 2016 14:12:02 +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: To: Eli Zaretskii Cc: 22814@debbugs.gnu.org, andlind@gmail.com Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145710068624724 (code B ref 22814); Fri, 04 Mar 2016 14:12:02 +0000 Received: (at 22814) by debbugs.gnu.org; 4 Mar 2016 14:11:26 +0000 Received: from localhost ([127.0.0.1]:60930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abqRx-0006Qi-SS for submit@debbugs.gnu.org; Fri, 04 Mar 2016 09:11:26 -0500 Received: from mout.gmx.net ([212.227.15.15]:51383) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abqRw-0006QU-71 for 22814@debbugs.gnu.org; Fri, 04 Mar 2016 09:11:24 -0500 Received: from detlef.gmx.de ([87.146.40.158]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LqQnR-1Zxofd446j-00e0g7; Fri, 04 Mar 2016 15:11:17 +0100 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> Date: Fri, 04 Mar 2016 15:11:15 +0100 In-Reply-To: <831t7s7tsg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 02 Mar 2016 18:01:51 +0200") Message-ID: <87twkms58c.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:XIrElStcMZ40lAkatZuhLUczs25Z3auOWF7n1Bb6/Gqri+AFRuJ UiM+40jx+4BWaRzXkgCV9tdqqCvIev7M8MIUJuoU70fbjmsumH1efx8BAnOrZc6SXXKPd+t KbxEXOm4A3XQae4akiSwssibtZ02vAAOqzQnGkWg0DP9ZU6PaZM8gdsulUfY7qg7v8VAko8 sbPQ81ikRLS8YRi+dO+Mw== X-UI-Out-Filterresults: notjunk:1;V01:K0:fWQ20AGV+00=:5LShetZ058PaYCyrn8E+Ye 6+d7gmw6j7V+jUlC8qUHUPvht7ZlEGkN1d019OEuYo3jBPAouEd6R/k3fzF5wIwpwuspwAht1 4qXrn6C8Yca57SSJb1UjRPvju+aqFl4zOiOX/wUNwFdSzwoTcRb+ohPvQ2FfByeOTfO5CoV1n TtGx39w7wyLm7xP+ZD+VFZ1oDyCOJVQ3U6XCmXi8V5VakrPQxFXaeopa2E9KthxV+dkp7/7ER Lr9jtSaU7/OOPK0/EzMAq5lw3t8JjZ9qvrSsNCBYn3eL50afP1K3kY01QHiPgJum+X+Itjk+V OF42IikSpMXZhmOQ1nAir+YRQFpGZVsVzTyaMuqgg3yHkSd2tZW+9Evf+59tStuuJO1vhjwKX XhRKU4I0rgdt6lsexG4e3wuFzaRsVRbRVpvsyvi3NavjHbm4TJWPcJry2xO8Qx1yhi3ho0mlo RpeeDtVlZnSQMny0r1MC5VtXrQUgPZD/FFnOnvFx4h7IOFjb39LcYgYnW0h8iGYuQiNRln31w bxayiJpKSitqoJ2WQOq/VPu+vC+Cgf3UBOtYXLmOOOH/mH3lRl80L8bFFaVR4AAahV+p2olS3 auWkQewR86HTVeUJF2EDgi0jt0LIBkmpfXNOEFna/Lh3rTRwtnG7Kk2vyM2VnjSxF4/GP+5Od iW+vSyATp38ZIP0VxPlbKY+FjGI40xRFLwvnSoKjL17BT8S3MNVgQ2DqK4D2dBtpdA+4V2akO zG3ogCf4+Uz0fPe34ZaWbe6uXlAGYXAIBOrz0te58HBG26wtUeN7CMnZpF5REvvor6r6xJs98 rMSHi26 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> I'm testing a patch for kqueue.c, which limits the open file >> notification descriptors, as proposed by Anders. According to my tests >> this is not necessary for inotify.c (contrary to what I've assumed). >> Will commit the patch once the current emacs-25 commits are merged to >> the master. > > Thanks. Committed to master. Plus a new test file-notify-test09-sufficient-ressources. Anders, do you want to test it, or shall I close this bug report just now? From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X References: In-Reply-To: Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2016 00:33:02 +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: To: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.145713796627216 (code B ref 22814); Sat, 05 Mar 2016 00:33:02 +0000 Received: (at 22814) by debbugs.gnu.org; 5 Mar 2016 00:32:46 +0000 Received: from localhost ([127.0.0.1]:34199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ac09G-00074u-G1 for submit@debbugs.gnu.org; Fri, 04 Mar 2016 19:32:46 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:38465) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1ac09E-00074g-44 for 22814@debbugs.gnu.org; Fri, 04 Mar 2016 19:32:44 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 37BF0160FF5 for <22814@debbugs.gnu.org>; Fri, 4 Mar 2016 16:32:38 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id mApzjnQs_KO3 for <22814@debbugs.gnu.org>; Fri, 4 Mar 2016 16:32:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 71BB0161009 for <22814@debbugs.gnu.org>; Fri, 4 Mar 2016 16:32:37 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id w-4Jn5BXjAqD for <22814@debbugs.gnu.org>; Fri, 4 Mar 2016 16:32:37 -0800 (PST) Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 513B7160FF5 for <22814@debbugs.gnu.org>; Fri, 4 Mar 2016 16:32:37 -0800 (PST) From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <56DA2925.2020009@cs.ucla.edu> Date: Fri, 4 Mar 2016 16:32:37 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080703060901000008050302" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------080703060901000008050302 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit > + if ((errno == EMFILE) || (errno == ENFILE)) > + report_file_error ("Read error on documentation file", file); This new code should be after the 2nd call to 'emacs_open', not after the 1st. The difference is unlikely to matter, but still.... I installed the attached further patch. --------------080703060901000008050302 Content-Type: text/x-diff; name="0001-doc-string-file-descriptor-exhaustion-fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-doc-string-file-descriptor-exhaustion-fix.patch" >From d5e42616a0b5c0b0f0d1b01982d7b949bf8ddc0d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 4 Mar 2016 16:29:55 -0800 Subject: [PATCH] doc string file descriptor exhaustion fix * src/doc.c (get_doc_string): Move newly-added check to a better location (Bug#22814). --- src/doc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc.c b/src/doc.c index 6e79065..a20ecbd 100644 --- a/src/doc.c +++ b/src/doc.c @@ -126,9 +126,6 @@ get_doc_string (Lisp_Object filepos, bool unibyte, bool definition) fd = emacs_open (name, O_RDONLY, 0); if (fd < 0) { - if ((errno == EMFILE) || (errno == ENFILE)) - report_file_error ("Read error on documentation file", file); - #ifndef CANNOT_DUMP if (!NILP (Vpurify_flag)) { @@ -141,6 +138,9 @@ get_doc_string (Lisp_Object filepos, bool unibyte, bool definition) #endif if (fd < 0) { + if (errno == EMFILE || errno == ENFILE) + report_file_error ("Read error on documentation file", file); + SAFE_FREE (); AUTO_STRING (cannot_open, "Cannot open doc string file \""); AUTO_STRING (quote_nl, "\"\n"); -- 2.5.0 --------------080703060901000008050302-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Apr 2016 08:22: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: To: Anders Lindgren Cc: Eli Zaretskii , 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14602765033125 (code B ref 22814); Sun, 10 Apr 2016 08:22:01 +0000 Received: (at 22814) by debbugs.gnu.org; 10 Apr 2016 08:21:43 +0000 Received: from localhost ([127.0.0.1]:56553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apAcp-0000oL-Fh for submit@debbugs.gnu.org; Sun, 10 Apr 2016 04:21:43 -0400 Received: from mout.gmx.net ([212.227.17.21]:57087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apAcn-0000o5-4D for 22814@debbugs.gnu.org; Sun, 10 Apr 2016 04:21:41 -0400 Received: from detlef.gmx.de ([87.146.53.247]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MAloF-1avWQ11XRb-00BszQ; Sun, 10 Apr 2016 10:21:34 +0200 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <87twkms58c.fsf@gmx.de> Date: Sun, 10 Apr 2016 10:21:33 +0200 In-Reply-To: <87twkms58c.fsf@gmx.de> (Michael Albinus's message of "Fri, 04 Mar 2016 15:11:15 +0100") Message-ID: <87mvp1kh6a.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:RVhqtQAeQ9RGZAP3+B5K56p6kW/Tgte6WzN0Et5Jdy2y5fVrpIV 7BZYCNYnry+Z7ogLN8YI69vmP37+v4oL9qt9hVdFiA8VAHor1JAI7Q1JGIL7WneJpZSQX7P /QF3BiYma9DPclKU3TCSDlRH/1fJQHG4JfWc8H5vQiWQKp1gasYdfAa2EGzRbYsBcXhhpGn +CFLxsN28HZ6Ud7pC1KBw== X-UI-Out-Filterresults: notjunk:1;V01:K0:4izFG1lSWVY=:uZMk8Uq/tn896XiyXGiUzJ jGN1vK2lsaPlK2Ay4OP+nZm6MbdWs3JykJh9cWzlCpqYNsv1DTnAcSIy/Lq7w5ZPEI09noWES GMxw1IAXpzRyA8xq+tkr6y/hQh0eCSksqRn/xWDKH0JU62+ioFH5OWASE99EQ/0Asu3u0oW3u RCV592wp/D8W4dktKFVnyejT6BWKUfyL2HprGfwKqdkQgtW/H7LVfcIp1i88dCdz/vBbhYY5C sWN47bD0Dxvd2dXtH3zX8EV76rcaCuU3i8nHxq+nb3LREJvhP1a7pECS0jxC5LHRMiswJfQzP tPgEGgZn36hrpNFcxqKnBMDhcpNm6W+jOjiTQP7C+0HZNTziQrCLT10iZNoTimpPTOs+wPk1E 4kgrYJ1AVTDoVx4l+vswAbuB7ixjuwpQDfjp9h1TtYdhii6Lzsv3rZCKbewZ7AF150CbbwBUE WKUoqMaD75ceQLMvCQupjkYqQko6/A6zuigKZTOKM2rxgk8t6wvj/XN2gKSiTRc9iUhTKsfMS VP5pYFUndjo0DQ+r289zf2ivTa5uzsVTp7tB2LbVe0UVqWJNkmNqtNu1QzQNngYD5ErSPcR03 gdiuNLIvtHUd+hTmihOmOReFby4J2zmXm+gtQk6itF3ptaY50cLf4qeKicYXuVlfi6ojWsDGy ETiJye8NVKxlKFIjlc9wXlAQtVWT8MYtSubfsk/BpJ/IfZ1ewmH7iyPO0UuyvBPNU1gZ63bEa sPt233Dxrg5FzaIA4r7FZ9A2DkNoXkIMhJxJraiV2s62/tflX/2PHjPE6hm7jA4oilzUah+uC GFoZuEP X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Michael Albinus writes: > Eli Zaretskii writes: > >>> I'm testing a patch for kqueue.c, which limits the open file >>> notification descriptors, as proposed by Anders. According to my tests >>> this is not necessary for inotify.c (contrary to what I've assumed). >>> Will commit the patch once the current emacs-25 commits are merged to >>> the master. >> >> Thanks. > > Committed to master. Plus a new test file-notify-test09-sufficient-ressources. > > Anders, do you want to test it, or shall I close this bug report just now? Ping. Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Apr 2016 20:39:02 +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: To: Michael Albinus Cc: Eli Zaretskii , 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.146032068412261 (code B ref 22814); Sun, 10 Apr 2016 20:39:02 +0000 Received: (at 22814) by debbugs.gnu.org; 10 Apr 2016 20:38:04 +0000 Received: from localhost ([127.0.0.1]:57574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apM7Q-0003Bh-AV for submit@debbugs.gnu.org; Sun, 10 Apr 2016 16:38:04 -0400 Received: from mail-vk0-f46.google.com ([209.85.213.46]:36031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apM7O-0003BC-M7 for 22814@debbugs.gnu.org; Sun, 10 Apr 2016 16:38:02 -0400 Received: by mail-vk0-f46.google.com with SMTP id c4so190325929vkb.3 for <22814@debbugs.gnu.org>; Sun, 10 Apr 2016 13:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=6pgirx2NtBfVnofQnRIXxD0r7qHkKHYDO7ZblcAQllc=; b=A5Wz4KTUfo5OTHrd42wjsGbEOR0+ysS9Kim/Szg2ajWfBuDGWuZBRW4ScUuEauC5ub Q8JOAcjZhLT7hOTTSAMUvnIuRNnEa8mI7XlB1uFWpfta5B9bEDwMYvEgC5N5RBaYsJdH WKHWOAJ/uPnrsrAHtv3lXommAYpJBvDEWL0CeedE00atm9z1tHDoGt7jE7KbDmto+uwO zQYFBfsmSVQjngAHhaLWmVmIozPL5irnWVizvS74EXg4Qs4/JtGk0t4Pwv329mf/PaNi 77xg9kVH3OIN0dw/51oNxvzTKGnv44EwgXDttIGG8jp2IMS6+LrQxo1FTEsVLc6p0z/d G+mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=6pgirx2NtBfVnofQnRIXxD0r7qHkKHYDO7ZblcAQllc=; b=cKYQobklyrhy3mMYrzvanJ0dAVvfPn87zGJx7L82FOhLq99aH7HXsBBslt1zZFEj/l otb9LkdZbxbVxZTRCGdFmqmFFh2H0J2P1gOnU7Em6d20D4AWHhvhfcaeJtZ8okysUagG uWZy38V9eWjhI7NzyqNvQvHAcUlPs0ygMygNXMXKejqn9ASEFXnHIBHwzhncEO1aXZNm L9kUSoI2yjuOJsk20SPkUlS0dTHFPVAHyCn19QbA18lSVl2U0QzQzE2/Bfo7+IrkMjZ5 0Wlm+jkH2thq3tnu0neGwXlkeKeeZT6/AyRev7Nqd9RrkUxdtynjAppCxG2wjfHPLqKL 2AJQ== X-Gm-Message-State: AD7BkJJHHqfi0jsyjeH8qLYczrFqrIQay30zuUUffYFtcj3MpuVSLWsGdjvrLT7raPZwhfxtTiF9P+z45wiMZQ== MIME-Version: 1.0 X-Received: by 10.31.108.136 with SMTP id j8mr9824648vki.105.1460320677262; Sun, 10 Apr 2016 13:37:57 -0700 (PDT) Received: by 10.31.214.131 with HTTP; Sun, 10 Apr 2016 13:37:57 -0700 (PDT) In-Reply-To: <87mvp1kh6a.fsf@gmx.de> References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <87twkms58c.fsf@gmx.de> <87mvp1kh6a.fsf@gmx.de> Date: Sun, 10 Apr 2016 22:37:57 +0200 Message-ID: From: Anders Lindgren Content-Type: multipart/alternative; boundary=001a114784c239fd970530276701 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a114784c239fd970530276701 Content-Type: text/plain; charset=UTF-8 Hi! I just took a quick look at this. I noticed that turning on global-auto-revert-mode disables file notifications. Is this still needed when your new system is in place? Personally, I would like to see it revert to the old timer system only when running out of resources. Apart from that, everything looks good. Emacs seems to be running fine even when I have 400 buffers open with global auto-revert enabled. -- Anders On Sun, Apr 10, 2016 at 10:21 AM, Michael Albinus wrote: > Michael Albinus writes: > > > Eli Zaretskii writes: > > > >>> I'm testing a patch for kqueue.c, which limits the open file > >>> notification descriptors, as proposed by Anders. According to my tests > >>> this is not necessary for inotify.c (contrary to what I've assumed). > >>> Will commit the patch once the current emacs-25 commits are merged to > >>> the master. > >> > >> Thanks. > > > > Committed to master. Plus a new test > file-notify-test09-sufficient-ressources. > > > > Anders, do you want to test it, or shall I close this bug report just > now? > > Ping. > > Best regards, Michael. > --001a114784c239fd970530276701 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

I just took a quick look at this. I= noticed that turning on global-auto-revert-mode disables file notification= s. Is this still needed when your new system is in place? Personally, I wou= ld like to see it revert to the old timer system only when running out of r= esources.

Apart from that, everything looks good. = Emacs seems to be running fine even when I have 400 buffers open with globa= l auto-revert enabled.

=C2=A0 =C2=A0 -- Anders


On Sun, Apr 10, 2016 at 10:21 AM, Michael Albinus &= lt;michael.albi= nus@gmx.de> wrote:
Michael Albinus <michael.albinus@gmx.de> writes:

> Eli Zaretskii <eliz@gnu.org>= writes:
>
>>> I'm testing a patch for kqueue.c, which limits the open fi= le
>>> notification descriptors, as proposed by Anders. According to = my tests
>>> this is not necessary for inotify.c (contrary to what I've= assumed).
>>> Will commit the patch once the current emacs-25 commits are me= rged to
>>> the master.
>>
>> Thanks.
>
> Committed to master. Plus a new test file-notify-test09-sufficient-res= sources.
>
> Anders, do you want to test it, or shall I close this bug report just = now?

Ping.

Best regards, Michael.

--001a114784c239fd970530276701-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Apr 2016 06:41:02 +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: To: Anders Lindgren Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14603568194589 (code B ref 22814); Mon, 11 Apr 2016 06:41:02 +0000 Received: (at 22814) by debbugs.gnu.org; 11 Apr 2016 06:40:19 +0000 Received: from localhost ([127.0.0.1]:57918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apVWF-0001Bx-1R for submit@debbugs.gnu.org; Mon, 11 Apr 2016 02:40:19 -0400 Received: from mout.gmx.net ([212.227.15.19]:51938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apVWD-0001Bk-S8 for 22814@debbugs.gnu.org; Mon, 11 Apr 2016 02:40:18 -0400 Received: from detlef.gmx.de ([87.146.60.13]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0McEkx-1b7J5I1W7T-00JbIK; Mon, 11 Apr 2016 08:40:11 +0200 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <87twkms58c.fsf@gmx.de> <87mvp1kh6a.fsf@gmx.de> Date: Mon, 11 Apr 2016 08:40:10 +0200 In-Reply-To: (Anders Lindgren's message of "Sun, 10 Apr 2016 22:37:57 +0200") Message-ID: <87k2k4wsvp.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:7hsaGsJq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0RNKP3YdFc0/O4 4+6m6bZ X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Anders Lindgren writes: > Hi! Hi Anders, > I just took a quick look at this. I noticed that turning on > global-auto-revert-mode disables file notifications. Is this still > needed when your new system is in place? Personally, I would like to > see it revert to the old timer system only when running out of > resources. Really? This shall happen on the emacs-25 branch only. In the master branch, there's no such code in autorevert.el. And that's also the branch the fix in kqueue.c has been committed to. > -- Anders Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Apr 2016 06:49:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14603573245327 (code B ref 22814); Mon, 11 Apr 2016 06:49:02 +0000 Received: (at 22814) by debbugs.gnu.org; 11 Apr 2016 06:48:44 +0000 Received: from localhost ([127.0.0.1]:57923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apVeN-0001Nr-Sm for submit@debbugs.gnu.org; Mon, 11 Apr 2016 02:48:44 -0400 Received: from mail-vk0-f51.google.com ([209.85.213.51]:34430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apVeM-0001Ne-6C for 22814@debbugs.gnu.org; Mon, 11 Apr 2016 02:48:42 -0400 Received: by mail-vk0-f51.google.com with SMTP id e185so200283417vkb.1 for <22814@debbugs.gnu.org>; Sun, 10 Apr 2016 23:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=8citjRHPvfPWXUJ+mUKHO5xrE8BAZ27YabdZfhTAoy0=; b=F8HMM/EZOqOQMBvdb8djyBjGcY+7IGtWKS/YwdcM/bJFgGLFsCCQ4nemnI/ZRzESnW Z9VhctGNj97xGC2D9GCdp8dFKKemrlw4rYAskS6KXOGg50OOwvpwv/cenjVaYXFr1459 nndjQ+jAArljy5Qq9sPzOGjr+Y/pnVA71/34/GYFfvHm3rrz+8S9z+QQzE+xQSAphWy7 sKdP6IzT79kBui9tU996dPI5bmkgkCHxWoKnm+zyrok7qQeZcxiA7D54eZMzWnpNpO3Q YnSuif7feZjl4dzRS7QLTdLmhRnOHPP5FQ5Pv99781gUeNkNn0F52ANJS9guK6Eq7EDT iaXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=8citjRHPvfPWXUJ+mUKHO5xrE8BAZ27YabdZfhTAoy0=; b=L3Lo+JhRoA4qKAVr5jpjPo2XJUeHXvz4aJ87qbSJasb3ZBoeeQ/L222UmMOitg4k7I OhqctxV5BooO6bfmsPjuS6yvb5oU6CmkusjOnJHE04LmZ38VkDtXG9B0FbpjdLdrOeZF 93bo8aeXTgnEJOocesE3z1CDHxZrSCXNnp2XA+P/Fof8Xif9K0oWmb4WyGIycOCrRdnB bhkH9ypdsjnIPgUkYt9jZi8V15UNIaMXB5D/ezR5+7q6DjeWvwNjaD/d4zvdXx6Rh4Oc P5qAWWlimQ045kP9ealSq/5wCdXl82AzQ1lidOUmj3fy39BFkVLhHFg7Yn8MQPbAm7Vc BVng== X-Gm-Message-State: AD7BkJKT3vrWrjwSNpNy3T++XD4aDi/2EHbZSkmYlOCvm9yNQp3YhJjLmPja9L3JfTETP/CIUPeW117PWvmRbw== MIME-Version: 1.0 X-Received: by 10.159.39.71 with SMTP id a65mr10625865uaa.47.1460357316733; Sun, 10 Apr 2016 23:48:36 -0700 (PDT) Received: by 10.31.214.131 with HTTP; Sun, 10 Apr 2016 23:48:36 -0700 (PDT) In-Reply-To: <87k2k4wsvp.fsf@gmx.de> References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <87twkms58c.fsf@gmx.de> <87mvp1kh6a.fsf@gmx.de> <87k2k4wsvp.fsf@gmx.de> Date: Mon, 11 Apr 2016 08:48:36 +0200 Message-ID: From: Anders Lindgren Content-Type: multipart/alternative; boundary=94eb2c1246ba1bf56205302fefa6 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c1246ba1bf56205302fefa6 Content-Type: text/plain; charset=UTF-8 On Mon, Apr 11, 2016 at 8:40 AM, Michael Albinus wrote: > Anders Lindgren writes: > > > Hi! > > Hi Anders, > > > I just took a quick look at this. I noticed that turning on > > global-auto-revert-mode disables file notifications. Is this still > > needed when your new system is in place? Personally, I would like to > > see it revert to the old timer system only when running out of > > resources. > > Really? This shall happen on the emacs-25 branch only. In the master > branch, there's no such code in autorevert.el. And that's also the > branch the fix in kqueue.c has been committed to. > > I tested on the emacs-25 branch. I guess what I saw was the effect of the fact that global auto-revet mode disables notifications. I'll redo the test on the master branch. -- Anders --94eb2c1246ba1bf56205302fefa6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Mon, Apr 11, 2016 at 8:40 AM, Michael Albinus <= michael.albinus= @gmx.de> wrote:
Anders Lindgren <andlind@gmai= l.com> writes:

> Hi!

Hi Anders,

> I just took a quick look at this. I noticed th= at turning on
> global-auto-revert-mode disables file notifications. Is this still
> needed when your new system is in place? Personally, I would like to > see it revert to the old timer system only when running out of
> resources.

Really? This shall happen on the emacs-25 branch only. In the master=
branch, there's no such code in autorevert.el. And that's also the<= br> branch the fix in kqueue.c has been committed to.

<= br>
I tested on the emacs-25 branch.

I g= uess what I saw was the effect of the fact that global auto-revet mode disa= bles notifications.

I'll redo the test on the = master branch.

=C2=A0 =C2=A0 -- Anders
= =C2=A0
--94eb2c1246ba1bf56205302fefa6-- From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Apr 2016 06:59: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: To: Anders Lindgren Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.14603579196186 (code B ref 22814); Mon, 11 Apr 2016 06:59:01 +0000 Received: (at 22814) by debbugs.gnu.org; 11 Apr 2016 06:58:39 +0000 Received: from localhost ([127.0.0.1]:57938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apVnz-0001bi-Ax for submit@debbugs.gnu.org; Mon, 11 Apr 2016 02:58:39 -0400 Received: from mout.gmx.net ([212.227.17.22]:62846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apVnx-0001bU-H4 for 22814@debbugs.gnu.org; Mon, 11 Apr 2016 02:58:37 -0400 Received: from detlef.gmx.de ([87.146.60.13]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M1iGk-1bdcLt1AZm-00tmGr; Mon, 11 Apr 2016 08:58:31 +0200 From: Michael Albinus References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <87twkms58c.fsf@gmx.de> <87mvp1kh6a.fsf@gmx.de> <87k2k4wsvp.fsf@gmx.de> Date: Mon, 11 Apr 2016 08:58:30 +0200 In-Reply-To: (Anders Lindgren's message of "Mon, 11 Apr 2016 08:48:36 +0200") Message-ID: <87a8l0ws15.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:Xg5MZ4ZPChQ1xQvfHrplOHi4YRdNFOy3520c9ILY+bC0PXw1jKg nwxZwqjkSXu4aLsEKhk9s6jI8u5lENUN2u7A4SjPULvYdm96V0/RVlQ2mnizqDJshmVFK2J 8n7pOPQIAacDr2ru8r0SnHsUWHMKvb11ZtHHdmfsnzx+yDbOo7amRUlvSvjPvony1XjDU5A oXshxV98xzG2nk7ycP/sQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:uTQZUoVB2ak=:FSTtS8JouOCEd787EndeMT VklHoGLGmcGynNyPg9klX53i5uZheutkqG2teHY5erXR3C1qHUZWkRMszFq1UM09/kpN+w9Ll 6Rjlxhp400rJR1TI4kDg3vMvaXhaamnluFQTjAJhIur9X8jATOCLRTJemI1gsgxYQeMHMrXzX QkArJz6j4mBe5aQWOhvDbNdvC1VHhhVSNrHmoA0OGqIv1jgA8WLJP+qLC8qT3gPMmb1jjEtjC 6mPSzO/CRQp8VQZ6hplCDoLpOqbn/599GF998vmKCV++95EOcbFWNOCu+ooe3wBQ18A5u2vUF NpqverSjcQg8o/ZeawyTphUsmvWmW/E9NuR6NBggShhK319P9WAMRNFlXgkjPdZu9aB6MtNJs uhGySKBSZ4EQ5FFzrf8BGEdoRVG9jGkXzfzRL+5iUD4QZqQd6ca3FC7++yqtiYGOlUuj3z0UO 0+IJPveedCPeruYMHkJg+1yiRvl0GTzZHF8QkU83a8DQxzm3O7oHyM5rZhv3JOgCXAVxiHLkv r7w5oAz0T9Hl7VFScopEyBYHq2aeC7BjFXtrHSUfQwR+smFYiy2EBxFA+vMNj1ywpdMKNHwZ8 rGcraFvhE4Ds3DuFXMoSD8+KEXZQpza7upmGKwtuP0WNx7zkvK8wzcAbsPHWNmRoMAPIwdpsA CMQP4UxdSN2YXr17sECLD00/Fm89r9nv2IPbU/k1BVwS58rQXHPEWLliFFVmuOtZWSZ3zYKuf 4SmKqIQUvZjUthGDfZH5UOleKl9w+8xxVdA3B8jkm7aQRytxFU+01f1CBeUmrhEM51GxIiUvM XCnKGJg X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Anders Lindgren writes: > I tested on the emacs-25 branch. > > I guess what I saw was the effect of the fact that global auto-revet > mode disables notifications. At least you have confirmed there's no problem left in the emacs-25 branch. Good for the release :-) > I'll redo the test on the master branch. Thanks! > -- Anders Best regards, Michael. From unknown Mon Aug 18 11:27:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Apr 2016 19:00:02 +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: To: Michael Albinus Cc: 22814@debbugs.gnu.org Received: via spool by 22814-submit@debbugs.gnu.org id=B22814.146040115028824 (code B ref 22814); Mon, 11 Apr 2016 19:00:02 +0000 Received: (at 22814) by debbugs.gnu.org; 11 Apr 2016 18:59:10 +0000 Received: from localhost ([127.0.0.1]:59723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aph3G-0007Uq-3Y for submit@debbugs.gnu.org; Mon, 11 Apr 2016 14:59:10 -0400 Received: from mail-vk0-f50.google.com ([209.85.213.50]:34434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aph3E-0007Ub-OY for 22814@debbugs.gnu.org; Mon, 11 Apr 2016 14:59:09 -0400 Received: by mail-vk0-f50.google.com with SMTP id e185so226367871vkb.1 for <22814@debbugs.gnu.org>; Mon, 11 Apr 2016 11:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=UtsStJ0kBoiEvoAM37y0NSjHaBgrGAULadZdFDpFFFs=; b=ydeSRSyb9Ndz1U1zThZBJ/c3SxkZ060ywrOuzs5vMaGrHeVvvKEgOht6Anc/MoPDGl FhJZQFo0RrVC/pG21b43vSsPefF8tVNTQpJ/aKDirU/xW4p0ylZrroE1X0Zv7KWBbXoN OPLL5som7qf7WrCnWnIZr/a8AgJk3t7gBaTlQq8IfyqeJTj1ZmlAExcPZfomt0UtEx+W tel74AvfqorgF90L0U9BFMcECnqDzv/uY8qHVsbALDQlYO5i1WWUb+Wsf6JUvGDNfZvR dtNvAq5GDlk+rCUAzG6SN0YANO4kz05uhACim6ncngz/qb208CDMf8Hnm265TPWON7v3 A1OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=UtsStJ0kBoiEvoAM37y0NSjHaBgrGAULadZdFDpFFFs=; b=HB/bLdf1fmaZ6nL5e9Yjsz87qV6hMfhQjjG3QUp03hTUAUCuNlGVVpVmhWrAdHHixb jf8hWf5cmC3Z1gvpJzUz+u3GJmCuVc8tU+UnHT4ZeQgMu1C2fUacbi9tKtJAoDLFSD1O wVOEwDiujKWa21sVRf6nQM1J0vArvlIugXH0NgAE52ZCluFgVPMJj4m/y7IIdDcrrkjk 3iM8OkgX/D0qpWEqyXN1BaoLxYEMNpDSSFODkQN433TGdeJcTDnJj0CfLMQSHxMFah63 p56obBU4SUv5fT0aamBEVBNt2I3fibqR38it8zOu/RC/xQEsp1u1rCzvL+2ID7iHadt3 zWow== X-Gm-Message-State: AD7BkJI2XEtmQpQGuz0QiGNq0aOcdqn8smhJxeUjGeLkPwEv03FdoLzrE0BKheHxSS7R/Eu1BrPQEmdHwcKvaw== MIME-Version: 1.0 X-Received: by 10.31.58.83 with SMTP id h80mr12553903vka.149.1460401143197; Mon, 11 Apr 2016 11:59:03 -0700 (PDT) Received: by 10.31.214.131 with HTTP; Mon, 11 Apr 2016 11:59:03 -0700 (PDT) In-Reply-To: <87a8l0ws15.fsf@gmx.de> References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <87twkms58c.fsf@gmx.de> <87mvp1kh6a.fsf@gmx.de> <87k2k4wsvp.fsf@gmx.de> <87a8l0ws15.fsf@gmx.de> Date: Mon, 11 Apr 2016 20:59:03 +0200 Message-ID: From: Anders Lindgren Content-Type: multipart/alternative; boundary=001a114389d45eb99d05303a2358 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a114389d45eb99d05303a2358 Content-Type: text/plain; charset=UTF-8 > > > I'll redo the test on the master branch. > > Thanks! I just redid the test on the master branch. I managed to open 400+ files with global auto-revert enabled and Emacs reverted files nicely. I, honestly, don't know if the notification system was enabled, auto-revert-use-notify was t though. Michael, I would like to take the opportunity to thank you for taking care of, and continuing developing, my old auto-revert package! -- Anders --001a114389d45eb99d05303a2358 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> I'll redo the test on the master bra= nch.

Thanks!

I just redid the test on the= master branch. I managed to open 400+ files with global auto-revert enable= d and Emacs reverted files nicely. I, honestly, don't know if the notif= ication system was enabled, auto-revert-use-notify was t though.
=
Michael, I would like to take the opportunity to thank you f= or taking care of, and continuing developing, my old auto-revert package!

=C2=A0 =C2=A0 -- Anders

<= /div>
--001a114389d45eb99d05303a2358-- From unknown Mon Aug 18 11:27:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: David Caldwell Subject: bug#22814: closed (Re: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X) Message-ID: References: <87a8kzi84k.fsf@gmx.de> X-Gnu-PR-Message: they-closed 22814 X-Gnu-PR-Package: emacs Reply-To: 22814@debbugs.gnu.org Date: Tue, 12 Apr 2016 07:45:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1460447101-14101-1" This is a multi-part message in MIME format... ------------=_1460447101-14101-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #22814: 25.0.91; Emacs runs out of file descriptors on OS X which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 22814@debbugs.gnu.org. --=20 22814: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22814 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1460447101-14101-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 22814-done) by debbugs.gnu.org; 12 Apr 2016 07:44:37 +0000 Received: from localhost ([127.0.0.1]:59979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apt01-0003ek-BE for submit@debbugs.gnu.org; Tue, 12 Apr 2016 03:44:37 -0400 Received: from mout.gmx.net ([212.227.15.15]:55339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1apszz-0003eX-SC for 22814-done@debbugs.gnu.org; Tue, 12 Apr 2016 03:44:36 -0400 Received: from detlef.gmx.de ([87.146.59.129]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0Lz4KW-1btnQb2YMa-014Euq; Tue, 12 Apr 2016 09:44:29 +0200 From: Michael Albinus To: Anders Lindgren Subject: Re: bug#22814: 25.0.91; Emacs runs out of file descriptors on OS X References: <87twkupoq9.fsf@gmx.de> <83d1ricxyp.fsf@gnu.org> <87lh66nv22.fsf@gmx.de> <83lh66aru8.fsf@gnu.org> <878u26neeo.fsf@gmx.de> <83io1aaqty.fsf@gnu.org> <87r3fylyfm.fsf@gmx.de> <838u25c3z4.fsf@gnu.org> <87lh637r1w.fsf@gmx.de> <83r3fv8pz7.fsf@gnu.org> <87r3fsvs5a.fsf@gmx.de> <831t7s7tsg.fsf@gnu.org> <87twkms58c.fsf@gmx.de> <87mvp1kh6a.fsf@gmx.de> <87k2k4wsvp.fsf@gmx.de> <87a8l0ws15.fsf@gmx.de> Date: Tue, 12 Apr 2016 09:44:27 +0200 In-Reply-To: (Anders Lindgren's message of "Mon, 11 Apr 2016 20:59:03 +0200") Message-ID: <87a8kzi84k.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:xOgJ3EJFZ+R5vI8RoumVkhxrW7LQBSjwc5KBdVEKXPzYq15YfXT wDOYSMxhFvEO3fBn0tD/GbFgGiB2kTvanRu/PfIVo9tQbpMnpL5jnFo7NS9cMH1VtfiGmwk sAsxvJ7zBR7STdnMxDF+fXLQm/ie0IOo0lDnJCmbal/lSIdoFHCMXJOE4AqQHnVTUWen+wM NVR75j8k5fkhligAwqXIw== X-UI-Out-Filterresults: notjunk:1;V01:K0:sAN7JNqt+IU=:q/SEXvj7xk3SU31Ta/GtGr TBFRAHAGwgc4fDdu80Sopbn5ImLPZLNXHNZQlWPSx6mdp5NAaAeuq5pNiaFVH8NGiX8npGKp/ iLCnykMPQJG6vEu6WXI1yrSoTr9Y07mnAFQ7uRGkpu0V67S8la7XGdiqDyQI0Nab6xX4s3qJa SU1es0F4l8WzGee0tJ6K4FYJjO7Vjvs0WfPVANb3H2glhYtPMRncdLp3Q9/5q6PWwgd018ODy OqKovKwKIgRhEenjZ+xNHdTeJVFcM8gDJnzonS/uB3eNx7AMC0Eiozmk695Jy/4yjtNWgequE xmOyWP6X4zkgKcXZsXW6OQ8aRgebLdnJs5fUGan0KTFvlTqybhWmkGdfA0nAjN3CjCgjj72/J tmeGkSZ/TqQTRQIG6b/hBj2tFDXn2WcwZSkeYxAdKI6o/pUNYd5voXnTQWmAgdCgCHooJJ8V0 xJ2I6tSbX01qc2z/Hh9KZp27wsaEsm/t4P14d+f50ROcJuqG/VlMF+brhLWusYUT5IkNuVbLO BVB8WtS0OcURaZ2Kg0BcHiO1GVb5i9AAiVAyzhbSkIW6p9dx1vH9+oCmKYMBCUEhwAzCZcDQ0 zCcI+9tudvODmN0Ld/GRxtRH+GpBoPW391xxAA6XTOxrjFna7fHRLje2CxhIc0Ao8yJZfgv49 RM+P/Rs5XGmmTU/iVg6bAYhFO4rgoYHWycPuXQd4oyTKQWdxlwHmOTiKWZQUpQ2UCJ7V2vjoH gSXEmaEzlVJXkJ6wNIReE5A8oZg3B+sAqdqUdszJlI2QNFZiLjw6TFwHDIwapDnavh1Z1liIl RR2tW8+ X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22814-done Cc: 22814-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Version: 25.2 Anders Lindgren writes: > I just redid the test on the master branch. I managed to open 400+ > files with global auto-revert enabled and Emacs reverted files nicely. So I'm closing the bug. Thanks for testing! > I, honestly, don't know if the notification system was enabled, > auto-revert-use-notify was t though. If file notification is used, the buffer-local variable auto-revert-notify-watch-descriptor is non-nil for buffers in auto-revert-mode. > -- Anders Best regards, Michael. ------------=_1460447101-14101-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Feb 2016 06:18:57 +0000 Received: from localhost ([127.0.0.1]:46637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBjt-0008DO-Fa for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49323) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZBjs-0008Cy-0a for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZBjl-0002Ae-It for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjl-0002Aa-FN for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:18:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjk-0006wT-6K for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZBjf-00029S-HS for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:48 -0500 Received: from sa38.galvanix.net ([98.126.48.38]:39618 helo=kill.porkrind.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBjf-000277-2x for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:18:43 -0500 Received: from porkrind.org (cpe-23-241-25-146.socal.res.rr.com [23.241.25.146]) by kill.porkrind.org (Postfix) with ESMTPS id 21A745F936 for ; Thu, 25 Feb 2016 22:18:20 -0800 (PST) Authentication-Results: kill.porkrind.org; dkim=pass (1536-bit key; unprotected) header.d=porkrind.org header.i=@porkrind.org header.b=bbRKxLDl; dkim-atps=neutral Received: from [10.0.0.103] (black.local [10.0.0.103]) (authenticated bits=0) by porkrind.org (8.15.2/8.15.2/Debian-3) with ESMTPSA id u1Q6IEh8005698 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 25 Feb 2016 22:18:16 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=porkrind.org; s=apoptygma; t=1456467496; bh=PhlpIh/hwKbBJRZyi6cO+VWTsPXoJ4dvZhHYHKRmpoE=; h=To:Subject:From:Date:From; b=bbRKxLDlm9r53oLF3wc6242t3hYH+qaWWopi6fctwf2nnT4uCfKNhViaPabXwv7eN tYvUx1M15Zohr+HRNmILy1EipV+UX+D6gn8IdTqaEA1EMn2+ed+ll14H4xFgtBpErc t+2r3rQtJY24KJ2tkU66y7TZsOkxDZ0rwMpaTmn8JgU1JEY/OIyDuVUySefUkBCSvY pNdbH93LEGfDGXwM0lOA7d8BHmV6lauPDqzR1TWd/4ZTaAB5LzubAWTLjCI To: bug-gnu-emacs@gnu.org Subject: 25.0.91; Emacs runs out of file descriptors on OS X From: David Caldwell Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAACXBIWXMAAAsTAAALEwEAmpwY AAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+S X8VGAAABiklEQVR42rRYSZIDIQwzLv7/ZXLoEAzeBKG7ag4DRhZeBKQ0Qr5imLWCrKwn0HImc1Mx aAvmmc/cuAT7RMYws6v/gHeb0p4/y5792GJJlLZWOPgsdV5NaRes4Xe4632sLljD7wKv1Ta74H/h MxecN1Rc2TatYcP7zb+6WFfN/zMSHg1Ymuxjrzd+DuLw6Nlekggt1hvr7KK9tRIX85jjM6GTYhfv nzXH3jBdYc4koueBs66M+Xv9O9n5ML4urWssjGeMY3if3bzGSvk30BQ46OOaxJjLCpzPJAzXrOrD z5VFh58TIiwESIiCHNxxwPTy97qDei8YdpVdyYEv6EQcK8n+iTyE/Cn1eoe7HwN+F56oErVSGtJY Q1sR2ehaUHfjvJuv0tL7qAzEbBmfF2IHrVi8zp9N0pZtQZZHOXp/sLW4+hqKvm3iccaPwP3XgnKX n8/YtVeOsnenRG7VCBFlZ5fe3LOyANCVdGAIwDs7tTXGF4hIk15/iAfSgv2UkNFItSszOG3Ha7r0 GQBerhBkHOAzmQAAAABJRU5ErkJggg== Message-ID: 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 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms080209070407070002020804" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) This is a cryptographically signed message in MIME format. --------------ms080209070407070002020804 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, 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. -David In GNU Emacs 25.0.91.1 (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=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Configured features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS 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. Features: (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)) --------------ms080209070407070002020804 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Ct0wggTzMIID26ADAgECAhA5IEwCoOHUpDUe6xUti95tMA0GCSqGSIb3DQEBCwUAMHUxCzAJ BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD ZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEjMCEGA1UEAxMaU3RhcnRDb20gQ2xhc3MgMSBDbGll bnQgQ0EwHhcNMTYwMjA5MDA1NTI1WhcNMTcwMjA5MDA1NTI1WjBAMRswGQYDVQQDDBJkYXZp ZEBwb3JrcmluZC5vcmcxITAfBgkqhkiG9w0BCQEWEmRhdmlkQHBvcmtyaW5kLm9yZzCCASIw DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOqlU6S8xlPcP2hxvHVNDpEO3Vuq+vS1x2dP 1AOhXxKU8qkcX7bpBMx94GtXi4Hskhpl11vOBdJagkXf5/ngCV70lkeCudGdxDaNCreWkNze bdVPLu4/sIjWdG9puNly9QAlGR1zS+NSCXrdvSlxew14mYidSd6/lTFKVzqV3nJDkzyWEtC0 rY1jyZKW3dwowiAjbIDdHAqhqO6XYrs9ISnRRICYNVsWgzr34VMZrduInYvZUkwzBXbB1fo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3AIcifinf3V5L4aTzNwi/g4QJZPu8bzMc+bTUI+Jefxp0rk6eYx2HUWG0SaaP1 1grF4Q8XhEJss74KwL7NvsEIBBCVy3fK5TENTY8GrpejAAAAAAAA --------------ms080209070407070002020804-- ------------=_1460447101-14101-1-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 03 21:49:42 2016 Received: (at control) by debbugs.gnu.org; 4 Dec 2016 02:49:42 +0000 Received: from localhost ([127.0.0.1]:51761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDMs2-0004Js-AJ for submit@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDMrz-0004JW-G1 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDMrs-0001yx-95 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDMrs-0001yr-52 for control@debbugs.gnu.org; Sat, 03 Dec 2016 21:49:32 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cDMrr-0005b2-Kh; Sat, 03 Dec 2016 21:49:31 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <22595.33851.293095.70553@gnu.org> Date: Sat, 3 Dec 2016 21:49:31 -0500 From: Glenn Morris To: control@debbugs.gnu.org Subject: Clean up predictable issues due to Emacs version number change X-Debbugs-No-Ack: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.9 (-------) # Ref: # http://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00238.html # http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00692.html # http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01215.html # Some attempt has been made to check for things backported after the fact. # Erring on the side of a later version number seems preferable anyway. unarchive 10 fixed 10 26.1 notfixed 10 25.2 unarchive 96 fixed 96 26.1 notfixed 96 25.2 unarchive 1149 fixed 1149 26.1 notfixed 1149 25.2 unarchive 1150 fixed 1150 26.1 notfixed 1150 25.2 unarchive 2270 fixed 2270 26.1 notfixed 2270 25.2 unarchive 2405 fixed 2405 26.1 notfixed 2405 25.2 unarchive 2589 fixed 2589 26.1 notfixed 2589 25.2 unarchive 3137 fixed 3137 26.1 notfixed 3137 25.2 unarchive 3393 fixed 3393 26.1 notfixed 3393 25.2 unarchive 4589 fixed 4589 26.1 notfixed 4589 25.2 unarchive 4920 fixed 4920 26.1 notfixed 4920 25.2 unarchive 5001 fixed 5001 26.1 notfixed 5001 25.2 unarchive 5262 fixed 5262 26.1 notfixed 5262 25.2 unarchive 5305 fixed 5305 26.1 notfixed 5305 25.2 unarchive 5314 fixed 5314 26.1 notfixed 5314 25.2 unarchive 5479 fixed 5479 26.1 notfixed 5479 25.2 unarchive 5650 fixed 5650 26.1 notfixed 5650 25.2 unarchive 5661 fixed 5661 26.1 notfixed 5661 25.2 unarchive 5727 fixed 5727 26.1 notfixed 5727 25.2 unarchive 6817 fixed 6817 26.1 notfixed 6817 25.2 unarchive 7385 fixed 7385 26.1 notfixed 7385 25.2 unarchive 7522 fixed 7522 26.1 notfixed 7522 25.2 unarchive 7751 fixed 7751 26.1 notfixed 7751 25.2 unarchive 8634 fixed 8634 26.1 notfixed 8634 25.2 unarchive 8693 fixed 8693 26.1 notfixed 8693 25.2 unarchive 8925 fixed 8925 26.1 notfixed 8925 25.2 unarchive 9342 fixed 9342 26.1 notfixed 9342 25.2 unarchive 9730 fixed 9730 26.1 notfixed 9730 25.2 unarchive 10487 fixed 10487 26.1 notfixed 10487 25.2 unarchive 10540 fixed 10540 26.1 notfixed 10540 25.2 unarchive 10723 fixed 10723 26.1 notfixed 10723 25.2 unarchive 10794 fixed 10794 26.1 notfixed 10794 25.2 unarchive 10980 fixed 10980 26.1 notfixed 10980 25.2 unarchive 11357 fixed 11357 26.1 notfixed 11357 25.2 unarchive 11400 fixed 11400 26.1 notfixed 11400 25.2 unarchive 11788 fixed 11788 26.1 notfixed 11788 25.2 unarchive 12048 fixed 12048 26.1 notfixed 12048 25.2 unarchive 12377 fixed 12377 26.1 notfixed 12377 25.2 unarchive 12378 fixed 12378 26.1 notfixed 12378 25.2 unarchive 12636 fixed 12636 26.1 notfixed 12636 25.2 unarchive 12939 fixed 12939 26.1 notfixed 12939 25.2 unarchive 13269 fixed 13269 26.1 notfixed 13269 25.2 unarchive 13571 fixed 13571 26.1 notfixed 13571 25.2 unarchive 13745 fixed 13745 26.1 notfixed 13745 25.2 unarchive 13949 fixed 13949 26.1 notfixed 13949 25.2 unarchive 14256 fixed 14256 26.1 notfixed 14256 25.2 unarchive 14341 fixed 14341 26.1 notfixed 14341 25.2 unarchive 14484 fixed 14484 26.1 notfixed 14484 25.2 unarchive 14554 fixed 14554 26.1 notfixed 14554 25.2 unarchive 14577 fixed 14577 26.1 notfixed 14577 25.2 unarchive 14687 fixed 14687 26.1 notfixed 14687 25.2 unarchive 14844 fixed 14844 26.1 notfixed 14844 25.2 unarchive 14854 fixed 14854 26.1 notfixed 14854 25.2 unarchive 14915 fixed 14915 26.1 notfixed 14915 25.2 unarchive 14919 fixed 14919 26.1 notfixed 14919 25.2 unarchive 15021 fixed 15021 26.1 notfixed 15021 25.2 unarchive 15047 fixed 15047 26.1 notfixed 15047 25.2 unarchive 15171 fixed 15171 26.1 notfixed 15171 25.2 unarchive 15324 fixed 15324 26.1 notfixed 15324 25.2 unarchive 15445 fixed 15445 26.1 notfixed 15445 25.2 unarchive 15506 fixed 15506 26.1 notfixed 15506 25.2 unarchive 15909 fixed 15909 26.1 notfixed 15909 25.2 unarchive 16136 fixed 16136 26.1 notfixed 16136 25.2 unarchive 16200 fixed 16200 26.1 notfixed 16200 25.2 unarchive 16276 fixed 16276 26.1 notfixed 16276 25.2 unarchive 16294 fixed 16294 26.1 notfixed 16294 25.2 unarchive 16345 fixed 16345 26.1 notfixed 16345 25.2 unarchive 16390 fixed 16390 26.1 notfixed 16390 25.2 unarchive 16406 fixed 16406 26.1 notfixed 16406 25.2 unarchive 16483 fixed 16483 26.1 notfixed 16483 25.2 unarchive 16513 fixed 16513 26.1 notfixed 16513 25.2 unarchive 16579 fixed 16579 26.1 notfixed 16579 25.2 unarchive 16746 fixed 16746 26.1 notfixed 16746 25.2 unarchive 16891 fixed 16891 26.1 notfixed 16891 25.2 unarchive 16904 fixed 16904 26.1 notfixed 16904 25.2 unarchive 17039 fixed 17039 26.1 notfixed 17039 25.2 unarchive 17067 fixed 17067 26.1 notfixed 17067 25.2 unarchive 17119 fixed 17119 26.1 notfixed 17119 25.2 unarchive 17582 fixed 17582 26.1 notfixed 17582 25.2 unarchive 17707 fixed 17707 26.1 notfixed 17707 25.2 unarchive 17716 fixed 17716 26.1 notfixed 17716 25.2 unarchive 17738 fixed 17738 26.1 notfixed 17738 25.2 unarchive 17989 fixed 17989 26.1 notfixed 17989 25.2 unarchive 17999 fixed 17999 26.1 notfixed 17999 25.2 unarchive 18008 fixed 18008 26.1 notfixed 18008 25.2 unarchive 18024 fixed 18024 26.1 notfixed 18024 25.2 unarchive 18026 fixed 18026 26.1 notfixed 18026 25.2 unarchive 18028 fixed 18028 26.1 notfixed 18028 25.2 unarchive 18089 fixed 18089 26.1 notfixed 18089 25.2 unarchive 18092 fixed 18092 26.1 notfixed 18092 25.2 unarchive 18110 fixed 18110 26.1 notfixed 18110 25.2 unarchive 18202 fixed 18202 26.1 notfixed 18202 25.2 unarchive 18203 fixed 18203 26.1 notfixed 18203 25.2 unarchive 18204 fixed 18204 26.1 notfixed 18204 25.2 unarchive 18211 fixed 18211 26.1 notfixed 18211 25.2 unarchive 18279 fixed 18279 26.1 notfixed 18279 25.2 unarchive 18527 fixed 18527 26.1 notfixed 18527 25.2 unarchive 18587 fixed 18587 26.1 notfixed 18587 25.2 unarchive 18634 fixed 18634 26.1 notfixed 18634 25.2 unarchive 18635 fixed 18635 26.1 notfixed 18635 25.2 unarchive 18686 fixed 18686 26.1 notfixed 18686 25.2 unarchive 18692 fixed 18692 26.1 notfixed 18692 25.2 unarchive 18809 fixed 18809 26.1 notfixed 18809 25.2 unarchive 18810 fixed 18810 26.1 notfixed 18810 25.2 unarchive 18829 fixed 18829 26.1 notfixed 18829 25.2 unarchive 19114 fixed 19114 26.1 notfixed 19114 25.2 unarchive 19152 fixed 19152 26.1 notfixed 19152 25.2 unarchive 19209 fixed 19209 26.1 notfixed 19209 25.2 unarchive 19214 fixed 19214 26.1 notfixed 19214 25.2 unarchive 19215 fixed 19215 26.1 notfixed 19215 25.2 unarchive 19255 fixed 19255 26.1 notfixed 19255 25.2 unarchive 19368 fixed 19368 26.1 notfixed 19368 25.2 unarchive 19424 fixed 19424 26.1 notfixed 19424 25.2 unarchive 19497 fixed 19497 26.1 notfixed 19497 25.2 unarchive 19587 fixed 19587 26.1 notfixed 19587 25.2 unarchive 19638 fixed 19638 26.1 notfixed 19638 25.2 unarchive 19722 fixed 19722 26.1 notfixed 19722 25.2 unarchive 19754 fixed 19754 26.1 notfixed 19754 25.2 unarchive 19801 fixed 19801 26.1 notfixed 19801 25.2 unarchive 19851 fixed 19851 26.1 notfixed 19851 25.2 unarchive 20038 fixed 20038 26.1 notfixed 20038 25.2 unarchive 20158 fixed 20158 26.1 notfixed 20158 25.2 unarchive 20181 fixed 20181 26.1 notfixed 20181 25.2 unarchive 20304 fixed 20304 26.1 notfixed 20304 25.2 unarchive 20408 fixed 20408 26.1 notfixed 20408 25.2 unarchive 20460 fixed 20460 26.1 notfixed 20460 25.2 unarchive 20485 fixed 20485 26.1 notfixed 20485 25.2 unarchive 20520 fixed 20520 26.1 notfixed 20520 25.2 unarchive 20654 fixed 20654 26.1 notfixed 20654 25.2 unarchive 20702 fixed 20702 26.1 notfixed 20702 25.2 unarchive 20724 fixed 20724 26.1 notfixed 20724 25.2 unarchive 20878 fixed 20878 26.1 notfixed 20878 25.2 unarchive 21002 fixed 21002 26.1 notfixed 21002 25.2 unarchive 21014 fixed 21014 26.1 notfixed 21014 25.2 unarchive 21024 fixed 21024 26.1 notfixed 21024 25.2 unarchive 21155 fixed 21155 26.1 notfixed 21155 25.2 unarchive 21169 fixed 21169 26.1 notfixed 21169 25.2 unarchive 21171 fixed 21171 26.1 notfixed 21171 25.2 unarchive 21225 fixed 21225 26.1 notfixed 21225 25.2 unarchive 21231 fixed 21231 26.1 notfixed 21231 25.2 unarchive 21252 fixed 21252 26.1 notfixed 21252 25.2 unarchive 21269 fixed 21269 26.1 notfixed 21269 25.2 unarchive 21359 fixed 21359 26.1 notfixed 21359 25.2 unarchive 21427 fixed 21427 26.1 notfixed 21427 25.2 unarchive 21552 fixed 21552 26.1 notfixed 21552 25.2 unarchive 21576 fixed 21576 26.1 notfixed 21576 25.2 unarchive 21577 fixed 21577 26.1 notfixed 21577 25.2 unarchive 21601 fixed 21601 26.1 notfixed 21601 25.2 unarchive 21678 fixed 21678 26.1 notfixed 21678 25.2 unarchive 21679 fixed 21679 26.1 notfixed 21679 25.2 unarchive 21684 fixed 21684 26.1 notfixed 21684 25.2 unarchive 21706 fixed 21706 26.1 notfixed 21706 25.2 unarchive 21759 fixed 21759 26.1 notfixed 21759 25.2 unarchive 21851 fixed 21851 26.1 notfixed 21851 25.2 unarchive 21852 fixed 21852 26.1 notfixed 21852 25.2 unarchive 21853 fixed 21853 26.1 notfixed 21853 25.2 unarchive 21881 fixed 21881 26.1 notfixed 21881 25.2 unarchive 21936 fixed 21936 26.1 notfixed 21936 25.2 unarchive 21962 fixed 21962 26.1 notfixed 21962 25.2 unarchive 22117 fixed 22117 26.1 notfixed 22117 25.2 unarchive 22140 fixed 22140 26.1 notfixed 22140 25.2 unarchive 22170 fixed 22170 26.1 notfixed 22170 25.2 unarchive 22172 fixed 22172 26.1 notfixed 22172 25.2 unarchive 22227 fixed 22227 26.1 notfixed 22227 25.2 unarchive 22315 fixed 22315 26.1 notfixed 22315 25.2 unarchive 22325 fixed 22325 26.1 notfixed 22325 25.2 unarchive 22329 fixed 22329 26.1 notfixed 22329 25.2 unarchive 22348 fixed 22348 26.1 notfixed 22348 25.2 unarchive 22478 fixed 22478 26.1 notfixed 22478 25.2 unarchive 22530 fixed 22530 26.1 notfixed 22530 25.2 unarchive 22531 fixed 22531 26.1 notfixed 22531 25.2 unarchive 22576 fixed 22576 26.1 notfixed 22576 25.2 unarchive 22583 fixed 22583 26.1 notfixed 22583 25.2 unarchive 22586 fixed 22586 26.1 notfixed 22586 25.2 unarchive 22592 fixed 22592 26.1 notfixed 22592 25.2 unarchive 22594 fixed 22594 26.1 notfixed 22594 25.2 unarchive 22595 fixed 22595 26.1 notfixed 22595 25.2 unarchive 22596 fixed 22596 26.1 notfixed 22596 25.2 unarchive 22627 fixed 22627 26.1 notfixed 22627 25.2 unarchive 22632 fixed 22632 26.1 notfixed 22632 25.2 unarchive 22648 fixed 22648 26.1 notfixed 22648 25.2 unarchive 22664 fixed 22664 26.1 notfixed 22664 25.2 unarchive 22720 fixed 22720 26.1 notfixed 22720 25.2 unarchive 22724 fixed 22724 26.1 notfixed 22724 25.2 unarchive 22764 fixed 22764 26.1 notfixed 22764 25.2 unarchive 22799 fixed 22799 26.1 notfixed 22799 25.2 unarchive 22800 fixed 22800 26.1 notfixed 22800 25.2 unarchive 22814 fixed 22814 26.1 notfixed 22814 25.2 unarchive 22824 fixed 22824 26.1 notfixed 22824 25.2 unarchive 22827 fixed 22827 26.1 notfixed 22827 25.2 unarchive 22837 fixed 22837 26.1 notfixed 22837 25.2 unarchive 22841 fixed 22841 26.1 notfixed 22841 25.2 unarchive 22890 fixed 22890 26.1 notfixed 22890 25.2 unarchive 22928 fixed 22928 26.1 notfixed 22928 25.2 unarchive 22940 fixed 22940 26.1 notfixed 22940 25.2 unarchive 22964 fixed 22964 26.1 notfixed 22964 25.2 unarchive 22968 fixed 22968 26.1 notfixed 22968 25.2 unarchive 23020 fixed 23020 26.1 notfixed 23020 25.2 unarchive 23071 fixed 23071 26.1 notfixed 23071 25.2 unarchive 23116 fixed 23116 26.1 notfixed 23116 25.2 unarchive 23139 fixed 23139 26.1 notfixed 23139 25.2 unarchive 23159 fixed 23159 26.1 notfixed 23159 25.2 unarchive 23167 fixed 23167 26.1 notfixed 23167 25.2 unarchive 23262 fixed 23262 26.1 notfixed 23262 25.2 unarchive 23290 fixed 23290 26.1 notfixed 23290 25.2 unarchive 23374 fixed 23374 26.1 notfixed 23374 25.2 unarchive 23390 fixed 23390 26.1 notfixed 23390 25.2 unarchive 23401 fixed 23401 26.1 notfixed 23401 25.2 unarchive 23411 fixed 23411 26.1 notfixed 23411 25.2 unarchive 23459 fixed 23459 26.1 notfixed 23459 25.2 unarchive 23608 fixed 23608 26.1 notfixed 23608 25.2 unarchive 23703 fixed 23703 26.1 notfixed 23703 25.2 unarchive 23730 fixed 23730 26.1 notfixed 23730 25.2 unarchive 23829 fixed 23829 26.1 notfixed 23829 25.2 unarchive 23850 fixed 23850 26.1 notfixed 23850 25.2 unarchive 23863 fixed 23863 26.1 notfixed 23863 25.2 unarchive 23883 fixed 23883 26.1 notfixed 23883 25.2 unarchive 23914 fixed 23914 26.1 notfixed 23914 25.2 unarchive 23949 fixed 23949 26.1 notfixed 23949 25.2 unarchive 23998 fixed 23998 26.1 notfixed 23998 25.2 unarchive 24122 fixed 24122 26.1 notfixed 24122 25.2 unarchive 24133 fixed 24133 26.1 notfixed 24133 25.2 unarchive 24166 fixed 24166 26.1 notfixed 24166 25.2 unarchive 24257 fixed 24257 26.1 notfixed 24257 25.2 unarchive 24308 fixed 24308 26.1 notfixed 24308 25.2 unarchive 24432 fixed 24432 26.1 notfixed 24432 25.2