From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: emacsq Newsgroups: gmane.emacs.help Subject: Re: What does the error "Process not running" mean? Date: Tue, 08 Feb 2022 06:01:44 +0000 Message-ID: <2KGCWqeOYZK7qnMdSBh-Raxgh13tr57fdOByEUspa48I8oFnYm5yghnpOAa74-0O2b1J6c-2u8sXzJGCcjQEStHbITePOIxRdh1G6xYtsYY=@protonmail.com> References: =?us-ascii?Q?_<87sfszu2ls.fsf@gnu.org>_<3qySp5xSA2V0n9C8vwql9UbGKia8POa7OZcDnXg6e8jvW59uKuICMg8MMi5o-drq2sIcWWOejQJhal9aBXZaZM09a6oyenNylYnn5Qjp-H8=3D@protonmail.com>_<6Ox0QxOSiVddeNsCaACeldkV9F-Nh9dM-rRERWveYqhG8t126cIm2MGmadX7Uy8YL-IQX9-Y=5F=5FZjAwEKArVB5v81UoZWZ7U4=5F1R70ywhZZY=3D@protonmail.com>__<8jy--UTf4wNbxysxHArjzE3ADfF5mB=5FZsfnFd7sgKpf=5FGM=5F9O5YqVK1PH1QbnoizHbb6HonK-BeQEQx0OpCmSRnMSpJzNTcHHXASGOoiD9I=3D@protonmail.com>__<0exCUWooGz4gRj1cdyO2isMWNvQjJYG7ewlmlP4yVyI0TcmLay25bHVnvt9HS1COppfJrHcWLaIi5WHaAQ-fOZuwq0UcYLtOv3yca17aha0=3D@protonmail.com>_<87pmny8nb4.fsf@gnu.org>_<=5FcUGEWwwd0FeA?= =?us-ascii?Q?1-yUQ5OJfKvG6Y2m4lFHC0m42EOzULv02BYrQMv6BYH-YMsVim1q3G8b3ZNnmPMGB0ZgQP7=5F2Ib5vLqAHln3bVDUOqT3eU=3D@protonmail.com>?= Reply-To: emacsq Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18417"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Tassilo Horn Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 08 07:03:36 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHJbD-0004bl-H6 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 07:03:35 +0100 Original-Received: from localhost ([::1]:55384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHJbB-0002Kp-S1 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 01:03:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41092) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHJZh-0002KC-3l for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 01:02:04 -0500 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:21931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHJZd-00075e-6Z for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 01:02:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644300105; bh=i23AuNvN2nOltuynqf8LEz3x5YubInVmygP3jVGWkWw=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=YLLoO2mPuPnbAScOFNEj4CaEfREF4YRE2RbJO7kzReQIAo7MxbX5N1K1yP6z8Zx6G Onlo2oRbQkPtkmY8rISk7QAol0fH/xpeg2ptXPoD18w0EOiZOXNVE9MNcYH5D+kosB NleIRsr5mZopqG0+kb/pgJ8tY+7dRwJPUiyyyXJm0t2Eq0tPjJzN8OWkW+ZSycf6uT 5w44PYcFS4SITG3q9fpS50XcYTinUn82u97z8ZIU54M1TR3TEnbKTo5qxHnJkGJ4Sb DMJ/jvjxZXDzldI00V4+xqRs1Im0vc8uX58s3RSGLdyyNxI1JitioXFmvc/np+Lwoe 1Or5En0fyCJLA== In-Reply-To: <_cUGEWwwd0FeA1-yUQ5OJfKvG6Y2m4lFHC0m42EOzULv02BYrQMv6BYH-YMsVim1q3G8b3ZNnmPMGB0ZgQP7_2Ib5vLqAHln3bVDUOqT3eU=@protonmail.com> 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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135821 Archived-At: > I checked url-http.el and it looks like existing open connections > are kept, in case someone wants to talk to the same host:port again > So going back to the original question: why do I get on windows "Too many open files" error when increasing the number of parallel connecti= ons beyond 1? Sometimes I even get such an error with parallel =3D 1, but rarely and only 1 or 2 connections fail. But with parallel > 1 I get many such errors. In the context of sockets "Too many open files" means too many open sockets: WSAEMFILE 10024 Too many open files. Too many open sockets. Each implementation may have a maximum number of soc= ket handles available, either globally, per process, or per thread. url-http having open connections laying around could explain this, but when I searched for winsock socket limits I found that there is not really a low limit, you can open thousands of sockets by default, so having some open connections shouldn't matter. But the problem is present, so there must be some low limit in emacs' windows code or elsewhere which prevent fetching urls in parallel without errors. If someone reading this uses emacs on windows, could you run the test code above, but with parallel connections set to 5, for example? Do you also get "Too many open files" errors when fetching the urls?