Subject: bug#13079: 24.3.50; Emacs cannot create subprocess

From: Eli Zaretskii <[email-masked]>
Date: Tue, 04 Dec 2012 22:23:31 +0200

> Date: Tue, 4 Dec 2012 16:03:56 +0800
> From: Li Zhai <[email-masked]>
> 
> I've noticed emacs cannot create subprocess in some cases:
> 
>  (progn
>   (dotimes (i 25)
>     (call-process-region (point-min) (point-min) "ddeclient" t 0 nil
> "SUMATRA" "control")
>     (message "%d" i)))
> 
> After executed above codes, emacs report:
> 
> "Spawning child process" "resource temporarily unavailable"

I cannot reproduce this here.  Does this happen in "emacs -Q"?
Also, what do you mean "after executing"?  Does it mean Emacs displays
this message before it ends the loop, i.e. before it launches 25
processes?  Or do you mean that after all the 25 processes are
launched, Emacs cannot start more subprocesses?  If the latter, does
the problem go away after you wait for all the 25 ddeclient
subprocesses to exit?