help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What does the error "Process <URL> not running" mean?


From: emacsq
Subject: Re: What does the error "Process <URL> not running" mean?
Date: Sun, 06 Feb 2022 18:25:03 +0000

> It is much more probable that you are hitting here the 32 subprocesses
> limit we impose on MS-Windows (for boring technical reasons related to
> how we emulate 'pselect' and SIGCHLD there).  If a Lisp program
> attempts to create more than 32 sub-processes/network connections at
> the same time, it will indeed get "Too many open files" (EMFILE).

Now I'm using url-queue-retrieve where the default number of
parallel processes is 6, so if the queue works well then there
shouldn't be too many subprocesses.

> I don't think that's the case: we close the handles as soon as the
> network connection is closed.

I tried url-queue-retrieve with url-queue-parallel-processes set
to 1 and there was no 'not running' error then.

But during fetching the urls there were lots of open processes,
when I checked list-processes, so either the connections linger,
or the 'open' state of network processes in list-processes
means something else than an open network connection.

This is with url-queue-parallel-processes set to 1 and when
I started the queue list-processes was empty:


<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open
<various site urls> --      open






reply via email to

[Prev in Thread] Current Thread [Next in Thread]