Antoine Pitrou <pit...@free.fr> added the comment:

At any rate, given the constraints you're working with (thousands of child 
processes, memory conservation issues), I suggest you abandon the idea of using 
multiprocessing and write your own subprocess-server instead.

I would suggest doing so using asyncio, which should allow you to control as 
many subprocesses as you want without spawning countless threads or 
intermediate processes:

https://docs.python.org/3/library/asyncio-subprocess.html

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35238>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to