From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 21 11:41:38 2016 Received: (at submit) by debbugs.gnu.org; 21 Oct 2016 15:41:38 +0000 Received: from localhost ([127.0.0.1]:45136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxbww-0006wD-El for submit@debbugs.gnu.org; Fri, 21 Oct 2016 11:41:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxbwu-0006vw-AX for submit@debbugs.gnu.org; Fri, 21 Oct 2016 11:41:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxbwn-0007hZ-RD for submit@debbugs.gnu.org; Fri, 21 Oct 2016 11:41:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxbwn-0007hT-Nc for submit@debbugs.gnu.org; Fri, 21 Oct 2016 11:41:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxbwm-0002y8-B6 for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2016 11:41:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxbwl-0007gS-5r for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2016 11:41:28 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:36822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bxbwk-0007gB-VV for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2016 11:41:27 -0400 Received: by mail-wm0-x236.google.com with SMTP id d199so1949495wmd.1 for ; Fri, 21 Oct 2016 08:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=aeUZsdnt3FzDsqYX8QRe529TwoJ2MIzfPrkOo0I560c=; b=F6T1oQes2xVvE20W7395mimOhZBZbqNoyhA4iRgTCZdeEMFN31ytEuxflGeheiHeWH uvw5tiYWUUiEi8X05ejCUxZhE76hSld3IkYm3OqFEXs8WuYq2LlOzz+5k+BvUi/Z5MFC Iws/u6x1q1SUfixRKPZqjfn9W/eC6NoyzxAXHi2UAfCjOHGO7/CM5ZYC127j+vaDzDIL 9o0phGSwxLfDVV5MrUmihD1DH7vXGh55jwxWqZVhHDvMkoVDfnNkufk8PZW7mV8i9p5Z ZFJwi3kpGP0qTfUvmVIUb0uFVb9IPv/cHg1+x0SIE+KSGPXSRiTw5nnoXvCUgUGDH/gB FRPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=aeUZsdnt3FzDsqYX8QRe529TwoJ2MIzfPrkOo0I560c=; b=eegQkppvkZv3edSUYg/ApORbMkM48gC2bdGWkfMpq6v4Z/zF/RfYS1r3XxbDdyShV0 c9o28vE4u6INubVdaKpudTTHqFEwrilTG4yoYZZwz845eOhVvIBH2LVweQxYtCTcQRed PKV1pgRFBgDJt36NFNmpWsElr0jk5s9Ojwa9Li0aIIZis0P/ocLcMjzUt/k+CQ9g309E qLOz22mq6R+wnStQPQaluzhFUkGRvxeQD0fq3MeCGwpQDiKUJCdg4JcUY1Fj1tTZ7qZa DkkjI0t1o1QFqReoCjN5Z+ObbRifm4bXW54BAPDo4A5yRwKlkOxFz5zfIj5jUBCTFD0e KMcw== X-Gm-Message-State: ABUngvdQHulvhkpVw6jbVVMr2ifhCFdHLPTHopYxs9sPs/3y8DbTXyM79oASF6Cx40Igww== X-Received: by 10.194.24.199 with SMTP id w7mr1250749wjf.197.1477064485492; Fri, 21 Oct 2016 08:41:25 -0700 (PDT) Received: from a.muc.corp.google.com ([2a00:79e0:15:4:49d8:a285:1d7b:d502]) by smtp.gmail.com with ESMTPSA id k74sm4740421wmd.18.2016.10.21.08.41.24 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 21 Oct 2016 08:41:24 -0700 (PDT) From: Philipp Stephani To: bug-gnu-emacs@gnu.org Subject: 26.0.50; Emacs should not use pselect Date: Fri, 21 Oct 2016 17:41:21 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: -3.8 (---) 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: -3.8 (---) Emacs uses pselect for IO multiplexing, limiting the number of available file descriptors to FD_SETSIZE. Rather, epoll/kqueue should be used, if available. In GNU Emacs 26.0.50.10 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2016-10-20 built on localhost Repository revision: 56f8384bb3f20d55693a3a1db8aa2cf490e6d18e Windowing system distributor 'The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-modules --enable-checking --enable-check-lisp-object-type' Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd 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 term/tty-colors 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 obarray 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 inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 97880 7352) (symbols 48 20418 0) (miscs 40 331 119) (strings 32 18006 4996) (string-bytes 1 591250) (vectors 16 13824) (vector-slots 8 454325 6227) (floats 8 183 10) (intervals 56 215 0) (buffers 976 12) (heap 1024 22892 1161)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Gesch=C3=A4ftsf=C3=BChrer: Matthew Scott Sucherman, Paul Terence Manicle Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und l=C3= =B6schen Sie die E-Mail und alle Anh=C3=A4nge. Vielen Dank. This e-mail is confidential. If you are not the right addressee please do = not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 25 07:45:40 2016 Received: (at 24756) by debbugs.gnu.org; 25 Oct 2016 11:45:40 +0000 Received: from localhost ([127.0.0.1]:55772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bz0Am-0006mb-5V for submit@debbugs.gnu.org; Tue, 25 Oct 2016 07:45:40 -0400 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bz0Ak-0006mO-Bx for 24756@debbugs.gnu.org; Tue, 25 Oct 2016 07:45:38 -0400 Received: by mail-wm0-f54.google.com with SMTP id c78so19392052wme.0 for <24756@debbugs.gnu.org>; Tue, 25 Oct 2016 04:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1sU67zIR5bVCL4/uyDQmFflfgtKWvLs12EnH3E2itu8=; b=RaYeJRlhrS9JXeZY/5JHR0G75gKKIh4QGD0Isai3q3KC0PVzAZrvKQvgkCKKQZX/Ru BELxB2MC+/gMthd3+E3WUFNQzacTVvsyIzsHMNqXEB8plpD/2uH1tHEa0VBDrdarrJJm 9OlSp3FFpAvizH7vDXF3z+jib8uYRevFEuoCB04W7ewl09/yaO3w5I8wxDSVXJDZkOX7 ok6TXQI/B0I0C8CE+aVFpEKBD16YvRT8NcxWilD4d5Q8OsOEBe7DmJ5NCi9to9hkQ6Ug EHP7llJ7KLAqpycTRiCdFbvUhbqbwRXWz87Ly7+xfocR5YwLrZUlQmO5TnjmcGYR5alZ 2OCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=1sU67zIR5bVCL4/uyDQmFflfgtKWvLs12EnH3E2itu8=; b=B+eDoahHiNexgrnynVjNYR+Uz8v146Xy3cfoEXl3o3KTb82hAYCg9uzFs9Vec++Z9I k4zUnVJyhFQ4a1i5Hfyq3QyZyXbXX/hwNNnaaGBssIq9HQn42Ezt/ohHelgq+WfyoDjQ MK7KzkAkv5JDeS3x7J8QADHXlnV8ny+OJ4q3Ge7i2wvMAWvtGm2HkuTxa9HYb9J4Mfkr OgroUtFTvWOrsbWIQ1l6qJ4CmBfh4ToLlIUEclGj4eEv66d2lNcr/3loFriZRTvs0vVP VoIfAHkazJD5bshBFlB2YMHclUqAeavoqrQq/LxjWDL/8T+dQmOPq/SaJ2h5lV38vLG5 W4Cw== X-Gm-Message-State: ABUngveOdY4AsWCmWtsOlMb/CArhl/kdvxXwvvsT1aheemJ14OG3eb/feRY8wG3r8QvFm8ZksdT4amUMY/iEDw== X-Received: by 10.194.94.39 with SMTP id cz7mr18499234wjb.141.1477395932585; Tue, 25 Oct 2016 04:45:32 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Philipp Stephani Date: Tue, 25 Oct 2016 11:45:22 +0000 Message-ID: Subject: Re: bug#24756: 26.0.50; Emacs should not use pselect To: 24756@debbugs.gnu.org Content-Type: multipart/alternative; boundary=047d7bb03ddcc124ef053faf0b98 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 24756 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 (/) --047d7bb03ddcc124ef053faf0b98 Content-Type: text/plain; charset=UTF-8 Philipp Stephani schrieb am Fr., 21. Okt. 2016 um 17:42 Uhr: > > Emacs uses pselect for IO multiplexing, limiting the number of available > file descriptors to FD_SETSIZE. Rather, epoll/kqueue should be used, if > available. > > Some good counter-arguments were brought up: - pselect is in the POSIX standard, whereas the possible replacements (ppoll/epoll/kqueue) are not. - The file descriptor limit should only be hit in pathological cases, e.g. when leaking background processes, and is only a symptom of a bug somewhere else. A higher FD limit would only hide the symptom, but not fix the underlying root cause. Given that, I'm no longer convinced that switching away from pselect would be a good idea (but I'll leave this bug open for now to provide a space for discussion). --047d7bb03ddcc124ef053faf0b98 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Philip= p Stephani <p.stephani2@gmail.c= om> schrieb am Fr., 21. Okt. 2016 um 17:42=C2=A0Uhr:

Emacs uses pselect for IO multiplexing, limiting the number of available file descriptors to FD_SETSIZE.=C2=A0 Rather, epoll/kqueue should be used, = if
available.


Some good counter-arguments were brought u= p:
- pselect is in the POSIX standard, whereas the possible repla= cements (ppoll/epoll/kqueue) are not.
- The file descriptor limit= should only be hit in pathological cases, e.g. when leaking background pro= cesses, and is only a symptom of a bug somewhere else. A higher FD limit wo= uld only hide the symptom, but not fix the underlying root cause.

Given that, I'm no longer convinced that switching away= from pselect would be a good idea (but I'll leave this bug open for no= w to provide a space for discussion).=C2=A0
--047d7bb03ddcc124ef053faf0b98-- From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 00:03:14 2019 Received: (at 24756-done) by debbugs.gnu.org; 29 Sep 2019 04:03:14 +0000 Received: from localhost ([127.0.0.1]:51895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEQQU-0003KE-Gz for submit@debbugs.gnu.org; Sun, 29 Sep 2019 00:03:14 -0400 Received: from mail-pg1-f172.google.com ([209.85.215.172]:34924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEQQT-0003Jw-Bg for 24756-done@debbugs.gnu.org; Sun, 29 Sep 2019 00:03:13 -0400 Received: by mail-pg1-f172.google.com with SMTP id a24so5488368pgj.2 for <24756-done@debbugs.gnu.org>; Sat, 28 Sep 2019 21:03:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=/+Lcdso9DQWuqBNvRCZYW2JvcHMLb8W/fGVgL9L88Z8=; b=Y4tV7UWHyrFusLRFZrKeH8AKCU7EEEQA/836cRdqthnq8dExMP0cipVjbDH3JgTxhR iyaGe5fsC8c6+8V8MRY55pEinN6Xly0B4g3vhGapQmSnL3rr4m0Qcg3NQKRlYNiyEsN6 wbshN0mEwaK0nB1RzCERL3OKNdZ6OipcJh5dn44+7kHkiHSQ/MuibugEGpxSI9zwGrYG tNxLDu3JUmo/mh6+OnldK1QSfDLTFb0vdRabAfg+PkZJ/cWXJ3gT9oZzaqkM0W14klPg Qoz+PHQKTjr7cF1dXUjzkFNeA0Qubmbil9qVYZMRGr6QtEvKCEMJ9rMvZpedqSwsp3Hq /0HQ== X-Gm-Message-State: APjAAAW6bQuBMiwhmu6yxqZx/ePpYeeSuslWCKodsKCOkkgEccC/6zhR 8slaQx3oy1g93iD2cT8+8MTmDicEDNiJR550PRo= X-Google-Smtp-Source: APXvYqy0+Miyya+F5cf3Of6tMb/eIEdt0EE/CitAkRFeg4h3iJeoXMhIWHsW3PNVPDbfRLjEcWeSJHOOGRkxNRKz6ps= X-Received: by 2002:a17:90a:cc08:: with SMTP id b8mr19404261pju.119.1569729787474; Sat, 28 Sep 2019 21:03:07 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sun, 29 Sep 2019 06:02:56 +0200 Message-ID: Subject: Re: bug#24756: 26.0.50; Emacs should not use pselect To: Philipp Stephani Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 24756-done Cc: 24756-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.6 (/) Philipp Stephani writes: > Philipp Stephani schrieb am Fr., 21. Okt. 2016 um 17:42 Uhr: > > Emacs uses pselect for IO multiplexing, limiting the number of available > file descriptors to FD_SETSIZE. Rather, epoll/kqueue should be used, if > available. > > Some good counter-arguments were brought up: > - pselect is in the POSIX standard, whereas the possible replacements (ppoll/epoll/kqueue) are not. > - The file descriptor limit should only be hit in pathological cases, e.g. when leaking background processes, and is only a symptom of a bug somewhere else. A higher FD limit would only hide the symptom, but not fix the underlying root cause. > > Given that, I'm no longer convinced that switching away from pselect would be a good idea (but I'll leave this bug open for now to provide a space for discussion). That was three years ago, and no such discussion has taken place here. If there is a continued need to discuss this, perhaps it's better to take it to emacs-devel. I'm therefore closing this bug report. If anyone disagrees, they should feel free to reopen. Best regards, Stefan Kangas From unknown Thu Aug 14 22:22:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Oct 2019 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator