Skip to content
Advertisement

Tag: pathos

Python Process Pool with custom Process not able to respawn child processes

I have overridden multiprocess.Process (fork of multiprocessing library) like so: When I create normal Process using this class everything works perfectly, including creating logs. Now I want to create a Process Pool of such customized processes but I encountered problem with respawning such processes after they life comes to an end. Here is how I create pool with additional maxtasksperchild=1

Advertisement