Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No, it is not necessary to create a new multiprocessing.pool() process for every one that ceases to exist. When a process in the pool ceases to exist, the pool automatically replaces it with a new process, so the number of processes in the pool remains constant. However, if the pool is large and has a high turnover rate, creating a new pool for every process that ceases to exist may be more efficient in terms of resource management.