Author pitrou
Recipients 4-launchpad-kalvdans-no-ip-org, oesteban, pitrou
Date 2018-12-17.20:57:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545080235.35.0.788709270274.issue35238@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-12-17 20:57:15pitrousetrecipients: + pitrou, oesteban, 4-launchpad-kalvdans-no-ip-org
2018-12-17 20:57:15pitrousetmessageid: <1545080235.35.0.788709270274.issue35238@psf.upfronthosting.co.za>
2018-12-17 20:57:15pitroulinkissue35238 messages
2018-12-17 20:57:15pitroucreate