From unknown Mon Jun 23 04:11:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53814 <53814@debbugs.gnu.org> To: bug#53814 <53814@debbugs.gnu.org> Subject: Status: process-status returns invalid/undocumented status file-error for network process Reply-To: bug#53814 <53814@debbugs.gnu.org> Date: Mon, 23 Jun 2025 11:11:50 +0000 retitle 53814 process-status returns invalid/undocumented status file-error= for network process reassign 53814 emacs submitter 53814 emacsq severity 53814 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 02:26:21 2022 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 07:26:22 +0000 Received: from localhost ([127.0.0.1]:36272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGbwD-0005m8-Mc for submit@debbugs.gnu.org; Sun, 06 Feb 2022 02:26:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:34206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGbwC-0005m1-FI for submit@debbugs.gnu.org; Sun, 06 Feb 2022 02:26:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGbw2-0003vk-Qj for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 02:26:15 -0500 Received: from mail-4324.protonmail.ch ([185.70.43.24]:55591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGbvy-0003qZ-AC for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 02:26:10 -0500 Date: Sun, 06 Feb 2022 07:26:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1644132362; bh=Haek1vwyK7/GTmuCcL3bpKrQdgLsXYufeWW1Scsq2oE=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=w/zs0uQM0iVCCFDzyRFVOUmUgoRD8TmuUUbXInLSfwslUnqjxmP64U1LYReZqgJzM 2GdGRsOJU9v80vZ4kjBYqI1PsTCaUUnlQ8ltlbi4GuBdTNAgHBOKd87+Ctkfn/3skm dQG693dhfhd3IebmpPlbpE5/7yoBQ1FrTeqxOxTeh0xbcqfP+TxENa4+lvP2wUxSWL 9YQPPZvFgU548DTU+Ub2yLPNJxLidffwol3MRV8QgzD3zif6NgbgV4K/9C39//L2br reR1YhKPUQ59fxxINdwVxf83lXV7Nxm7xCnf7NXkmXV4TqXG8n+Z/FPcgsUjQSR36i jRwEfMuMcrhNg== To: "Bug reports for GNU Emacs, the Swiss army knife of text editors" From: emacsq Subject: process-status returns invalid/undocumented status file-error for network process Message-ID: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.24; envelope-from=laszlomail@protonmail.com; helo=mail-4324.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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: , Reply-To: emacsq Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) M-x list-process shows some network processes with the status file-error. According to the docs this is not a valid return value for process-status: Return the status of PROCESS. The returned value is one of the following symbols: run -- for a process that is running. stop -- for a process stopped but continuable. exit -- for a process that has exited. signal -- for a process that has got a fatal signal. open -- for a network stream connection that is open. listen -- for a network stream server that is listening. closed -- for a network stream connection that is closed. connect -- when waiting for a non-blocking connection to complete. failed -- when a non-blocking connection has failed. nil -- if arg is a process name and no such process exists. PROCESS may be a process, a buffer, the name of a process, or nil, indicating the current buffer's process. Apparently, process.c does set this this invalid status for some reason: Lisp_Object data =3D get_file_errno_data (err, contact, xerrno); pset_status (p, list2 (Fcar (data), Fcdr (data))); unbind_to (count, Qnil); return; https://github.com/emacs-mirror/emacs/blob/3af9e84ff59811734dcbb5d55e04e1fd= b7051e77/src/process.c#L3642 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 05:44:14 2022 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 10:44:14 +0000 Received: from localhost ([127.0.0.1]:36572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGf1h-0006y9-Ty for submit@debbugs.gnu.org; Sun, 06 Feb 2022 05:44:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:50926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGf1g-0006y1-6c for submit@debbugs.gnu.org; Sun, 06 Feb 2022 05:44:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGf1f-0001zR-Su for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 05:44:11 -0500 Received: from mail-4319.protonmail.ch ([185.70.43.19]:44703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGf1d-0004Cr-AM for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 05:44:11 -0500 Date: Sun, 06 Feb 2022 10:44:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1644144246; bh=4V9fksK4zK8WBdtZu2F0wMW65aWxukvwA1E7Gvlo6xw=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc; b=DKBlIhBlCu15oM42RCrbe3IiVFPUeJBHY8B1J+liNh6kDa9fTbEedTondZA04yz2x ECE4iw5r3Fk5Lg6i5Fzg8AmXHNcDEOEyYbLDd02yiqWlY+tPHOj3ipMoPf1HBo1TF6 4+JZ8iDJBCDPoNUd2GZr3SCRdbiYQH3ORRYt3ln1Se24yP7t/FPJf349jDm+0nTOmM +ak1AjwVR/OlTasigIWRGLv1Ns72XQ6Gq1kwNw15fvXRBjpcZGlu+tyIpnhwlPqNyX ythLZjlvuD3AIyGSsFkfS+rc+aaqLv0F0cQx5S03X1H5fs6uhYtdzFKG9lzIXYY8Ry qSqbfyi0xtHjQ== To: "Bug reports for GNU Emacs, the Swiss army knife of text editors" From: emacsq Subject: Re: process-status returns invalid/undocumented status file-error for network process Message-ID: In-Reply-To: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> References: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.19; envelope-from=laszlomail@protonmail.com; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: , Reply-To: emacsq Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Apparently, process.c does set this this invalid status for some > reason: > > Lisp_Object data =3D get_file_errno_data (err, contact, xerrno); > pset_status (p, list2 (Fcar (data), Fcdr (data))); > unbind_to (count, Qnil); > return; > So process.c sets the status to file-error, and it also has error message obtained via get_file_errno_data. I checked what it says for such a process: ("make client process failed" "Too many open files" :name "example.com" ...= ) So I guess it's a too many open connections error, but instead of saying that, it sets the status to the undocumented file-error. What's strange is when I delete such a 'file-error' process from the process list, then it immediately goes to connect and then open state for the given domain, which is not clear for me how it is possible, since delete-process removes the process from the list of processes. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 07:32:51 2022 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 12:32:51 +0000 Received: from localhost ([127.0.0.1]:36695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGgip-00066Y-Db for submit@debbugs.gnu.org; Sun, 06 Feb 2022 07:32:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:39974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGgio-00066R-FG for submit@debbugs.gnu.org; Sun, 06 Feb 2022 07:32:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGgim-0006h5-8I for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 07:32:49 -0500 Received: from mail-4325.protonmail.ch ([185.70.43.25]:54907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGgii-0003h0-Um for bug-gnu-emacs@gnu.org; Sun, 06 Feb 2022 07:32:47 -0500 Date: Sun, 06 Feb 2022 12:32:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1644150743; bh=6quay1oxeIP5A3FjYonz+pMlNZT1SPwURXpibx0jvcE=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc; b=DZD6Bx31yY+p0uN/FY7lqO+TLHBmPz3+WkLmRRJZ267FyAk17O2uP2Fz3vsrAqocI 4plSVzzDElmY9IiZs3n/nhZMhgsJ4bSUHQlV8qID0r2TvIHA0WhoQSL/Z62BSMcqEc 3acwZK4flf6oG3TY7EG5axv00PXjJKIt4+F33KjIMA8uD3zzkIWL50sqWP0T8Oigh8 PUH3oYutj8LoTRj9C4mb5sV+H/ivhk811gwCOaU8fm4Gko3T05icxxB6+MEdIa7IQV LdipgpdarQxcQVgXoZDSnB5AFNTlZQyxmqgnpiX1beSwb6KgjM8pExnlrLRCAG2ogh DLKyw7OEqhluA== To: "Bug reports for GNU Emacs, the Swiss army knife of text editors" From: emacsq Subject: Re: process-status returns invalid/undocumented status file-error for network process Message-ID: In-Reply-To: References: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.43.25; envelope-from=laszlomail@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: , Reply-To: emacsq Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > So I guess it's a too many open connections error, but instead of > saying that, it sets the status to the undocumented file-error. I found a relevant commit from 2018 by Lars, and its commit says: src/process.c (connect_network_socket): When an async :family 'local client fails (with a file error, for instance), mark the process as failed. https://github.com/emacs-mirror/emacs/commit/92ba34d89ac4f5b5bbb818e1c39a3c= c12a405790#diff-18c8f6291e2c6a6f88223e509421492528e624157da1ba063401a6ffc36= e63b6L3595 Does failed here mean the Qfailed status? Then why is status set to to the car of file error returned by get_file_errno_data which returns file-error or some other file related bug? Somebody who was part of this discussion then may be able to shed some light on it. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 18:27:07 2022 Received: (at 53814) by debbugs.gnu.org; 6 Feb 2022 23:27:07 +0000 Received: from localhost ([127.0.0.1]:40222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqvz-0002xJ-JU for submit@debbugs.gnu.org; Sun, 06 Feb 2022 18:27:07 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqvx-0002wp-VW for 53814@debbugs.gnu.org; Sun, 06 Feb 2022 18:27:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AHzO9f53bpiks0lAiIHbQ8FXh844bt3Rfvo5kNSGzWc=; b=IBOrwunJDo2gtB0qDJVoVx9k1x MA5G047XHP1XGpdLLUcAPoWr5plc+j5I9nxa2SFl+Kbcf0oG0GfUKGXicDen9nLQnxM13zONBWTzH MjNtXN4K5yH/1PBjNiGlsTyP7hjsvlOMxKLg1MmocEpvka+jFUkS7igPZiwYqVXcbTJY=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGqvo-0000zu-SN; Mon, 07 Feb 2022 00:27:00 +0100 From: Lars Ingebrigtsen To: emacsq Subject: Re: bug#53814: process-status returns invalid/undocumented status file-error for network process References: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> X-Now-Playing: Alice Coltrane's _Eternity_: "Morning Worship" Date: Mon, 07 Feb 2022 00:26:53 +0100 In-Reply-To: (emacsq's message of "Sun, 06 Feb 2022 12:32:22 +0000") Message-ID: <87fsov4lvm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: emacsq writes: > src/process.c (connect_network_socket): When an async :family > 'local client fails (with a file error, for instance), mark the > process as failed. I've now fixed this in Emacs 29. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53814 Cc: 53814@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: -3.3 (---) emacsq writes: > src/process.c (connect_network_socket): When an async :family > 'local client fails (with a file error, for instance), mark the > process as failed. I've now fixed this in Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 18:27:55 2022 Received: (at 53814) by debbugs.gnu.org; 6 Feb 2022 23:27:55 +0000 Received: from localhost ([127.0.0.1]:40225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqwk-0002yJ-Rn for submit@debbugs.gnu.org; Sun, 06 Feb 2022 18:27:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqwi-0002y4-Hs for 53814@debbugs.gnu.org; Sun, 06 Feb 2022 18:27:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BaHyUaZa8eIeMJ6nUnsFTxJet1svVCHKVZ3AP8kt1ao=; b=KQgDAQDkyLh9XQqfiiisNQMq/S mySBZ9KazdSqHVeejbAfc2vFQjRBKPZXMG7W8LRErrOTmYAO0dYBJ7L1gLE/JFxhRfjaiSQNCIV0M EMYbiRZgYKM6h9nNlpg98+EJY0off2RrDT/A7tO+avInNni7pxjbGl/MDk8WvDZXur/U=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGqwa-00010R-9S; Mon, 07 Feb 2022 00:27:46 +0100 From: Lars Ingebrigtsen To: emacsq Subject: Re: bug#53814: process-status returns invalid/undocumented status file-error for network process References: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> X-Now-Playing: Alice Coltrane's _Eternity_: "Morning Worship" Date: Mon, 07 Feb 2022 00:27:43 +0100 In-Reply-To: (emacsq's message of "Sun, 06 Feb 2022 10:44:05 +0000") Message-ID: <87bkzj4lu8.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: emacsq writes: > What's strange is when I delete such a 'file-error' process from > the process list, then it immediately goes to connect and then open > state for the given domain, which is not clear for me how it [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53814 Cc: 53814@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: -3.3 (---) emacsq writes: > What's strange is when I delete such a 'file-error' process from > the process list, then it immediately goes to connect and then open > state for the given domain, which is not clear for me how it is > possible, since delete-process removes the process from the list > of processes. Presumably something is waiting for the connection to complete, and then reconnects when it is? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 18:28:05 2022 Received: (at control) by debbugs.gnu.org; 6 Feb 2022 23:28:05 +0000 Received: from localhost ([127.0.0.1]:40230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqwv-0002zC-2i for submit@debbugs.gnu.org; Sun, 06 Feb 2022 18:28:05 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGqwo-0002yB-2m for control@debbugs.gnu.org; Sun, 06 Feb 2022 18:28:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TbNvbv6nwxnG7N7uTYc9tNdFCYP32C5WvlIBIxKSGT8=; b=PsilUcPn0Te3FFMw3My6sLKg0+ /EIDsxMKx1crDmDwstEQPfpbJmFzcqCVLNgx5dZVGdxTV1oJQnH4u0BVMGTzfwpXKPOuvCZFAwCjr SG625VQWCxKfBJHxFS9tHZoW3c288ntXbvaQmh+z2Rdt2neOqJIu7ZaFgsdgzx5tvEVc=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGqwf-00010Y-V4 for control@debbugs.gnu.org; Mon, 07 Feb 2022 00:27:52 +0100 Date: Mon, 07 Feb 2022 00:27:49 +0100 Message-Id: <87a6f34lu2.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53814 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 53814 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 53814 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 07 01:39:46 2022 Received: (at 53814) by debbugs.gnu.org; 7 Feb 2022 06:39:46 +0000 Received: from localhost ([127.0.0.1]:40715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGxgg-000314-95 for submit@debbugs.gnu.org; Mon, 07 Feb 2022 01:39:46 -0500 Received: from mail-4325.protonmail.ch ([185.70.43.25]:13499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGxge-00030r-B6 for 53814@debbugs.gnu.org; Mon, 07 Feb 2022 01:39:45 -0500 Date: Mon, 07 Feb 2022 06:39:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1644215977; bh=RmUbfLVTThQD+cT5czp1hvaAvaqEMhL1PMnH/a+yIMs=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=YSmHOdjlM0mKvJjfZZ5NySr4ndDWjI7pISk8KjXw4IBkc/0DbyHMEpcLL3ipfsb8N 9gX7tO7iyyMLm1n6FrCRK23p5KMISUQhOZnLUq9Ae94k7Xi6hO/A0iCjXsWUkB39s/ tdLRl3/WST0TL8PMZtDSAOLyG+T2mPzrZ1fXoEO/HM7gq5IMNquugsRYKvZ7KeznTb XKi79i3V9lnjfFuSf3pf1hEY5BHZhFouS311890SuKGWbGdYsWC/r1nbKuqicJxqPe Fw2MSWvBp29lBTwKzr4k2hCL/hEf0GRTacX4oYsGHYbmk1PqIyPYS8cc529eU9wgvT T2+gIu80K6Dlw== To: Lars Ingebrigtsen From: emacsq Subject: Re: bug#53814: process-status returns invalid/undocumented status file-error for network process Message-ID: In-Reply-To: <87bkzj4lu8.fsf@gnus.org> References: <-ejTwlwSAZHwKfzZZGDR7XPlHefJ7smDjLy3BOHW66oB1-7iUBOsqY09uHYjt9HL6BZ9f3-54MMMbs04SGv_v7xKZYL9qOk24aUKQVl1Qj8=@protonmail.com> <87bkzj4lu8.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53814 Cc: 53814@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: , Reply-To: emacsq Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > > What's strange is when I delete such a 'file-error' process from > > the process list, then it immediately goes to connect and then open > > state for the given domain, which is not clear for me how it is > > possible, since delete-process removes the process from the list > > of processes. > > Presumably something is waiting for the connection to complete, and reco= nnects when it is? Apparently, url-http has some kind of a retry mechanism, so when the failed process is deleted then the process sentinel restarts the connection. Which does not feel entirely right, because if I delete the process explicitly then the process sentinel should be deactivated, instead of being called and letting it restart the connection. From unknown Mon Jun 23 04:11:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 07 Mar 2022 12:24:05 +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