From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: What does the error "Process not running" mean? Date: Thu, 03 Feb 2022 21:07:55 +0100 Message-ID: <87sfszu2ls.fsf@gnu.org> References: <8735l0o518.fsf@gnu.org> <5Opci81-9PcO6g1ljSQMCeDxh03cTnw4IEQWRzc2QInT4V52Ph2nB2WyyrBkSR11O8A9W4Coh1Wz_J9v-JeqnFC3melWsBOK2-hU9f2tyWQ=@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38465"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.7.6; emacs 29.0.50 Cc: help-gnu-emacs@gnu.org To: emacsq Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 03 21:59:14 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 1nFjCD-0009mk-PX for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 21:59:13 +0100 Original-Received: from localhost ([::1]:44658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFjCC-0006O8-91 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 15:59:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFiXl-0001Po-5G for help-gnu-emacs@gnu.org; Thu, 03 Feb 2022 15:17:25 -0500 Original-Received: from [2001:470:142:3::e] (port=37256 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFiXk-0000qX-S5; Thu, 03 Feb 2022 15:17:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=smqcs7TeU9CkOmhZcJaWkOLqHamidiH6XKpaoKMU1eE=; b=ooCsksaeAGZxMr 0c0sK6JeiYSc0qblGPc0dDGSHuuKkfgRJ8C6tSU5zHjdfzyuaGRcWXF7XBGqN/yLpELxxJtTlqmZ9 lJBdrnlG5XdA/EjGMenmQ4CpnmZyyJ2AQu+QwEgFHZyrrW3OvZqw1XxMaYooCf5g6Q2oefZ2QcXRS LNPiEZHdVBW4XqU8OfA1RtRJ9E7DAObMf1CjugIpraSPQ8Gh73Le7vuPr5i5yzdWEfs3J1zVKC8B2 l7+HH4h8e2uwrgrqQ2H2xMgL9lnY3Zg+weXtaXPm3GPkvTuwLfIXE+/T4rDVdJAcZL8OOVJ0BucGN NjzscwPtPjpStS8VSw3A==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:54925) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFiXk-0005L0-6e; Thu, 03 Feb 2022 15:17:24 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id B048027C0054; Thu, 3 Feb 2022 15:17:23 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 03 Feb 2022 15:17:23 -0500 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrgeejgddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffuffgjkfggtgesthdtre dttdertdenucfhrhhomhepvfgrshhsihhlohcujfhorhhnuceothhsughhsehgnhhurdho rhhgqeenucggtffrrghtthgvrhhnpeelgeeikedtueehteelueejvddvkeevieeufffhge evudejudeijeejtddvudejjeenucffohhmrghinhepghhithhhuhgsuhhsvghrtghonhht vghnthdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieej feekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilh drfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 3 Feb 2022 15:17:22 -0500 (EST) In-reply-to: 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:135705 Archived-At: emacsq writes: >> That shouldn't be too hard. Does anyone have a sample url showing the problem? > > In my experience, it's not a specific error which happens all the > time, it just occurs sometimes. Like connection closed unexpectedly. > > I fetched hundreds of urls with url-retrieve sequentially, so the next > url is fetched when the previous returned, and it works most of the > time, but sometimes you get this "process x not running" error and > then you get this same error for the next 10-20 urls for some reason, > and then it works again well for a while. I've just tried to reproduce with this code --8<---------------cut here---------------start------------->8--- ;; -*- lexical-binding: t; -*- (defun th/get-urls () (with-temp-buffer (insert-file-contents "~/tmp/craft-popular-urls") (goto-char (point-min)) (let (urls) (while (re-search-forward "^\\(.+\\)$" nil t) (push (match-string 1) urls)) urls))) (defun th/url-test (urls) (let ((url (pop urls))) (url-retrieve url (lambda (status) (when-let ((err (plist-get status :error))) (message "Error for %S: %S" url err)) (kill-buffer) (th/url-test urls))))) (th/url-test (th/get-urls)) --8<---------------cut here---------------end--------------->8--- where ~/tmp/craft-popular-urls is https://gist.githubusercontent.com/demersdesigns/4442cd84c1cc6c5ccda9b19eac1ba52b/raw/cf06109a805b661dd12133f9aa4473435e478569/craft-popular-urls. However, I don't get such an error, only some 404s or connection-failed. I also tried running the invocation 20 times in a loop so that there are in fact about 20 processes running in parallel with no "luck". This is on GNU/Linux, though. Does the above code with your url list also result in that error? Bye, Tassilo