Skip to content Skip to sidebar Skip to footer

Python Multiprocessing: More Processes Than Requested

Why do I see so many python processes running (in htop on RHEL 6) for the same script when I only use 1 core? For each task, I init a worker class that manages the processing. It

Solution 1:

I believe you're seeing helper threads spun up by the Multiprocessing module within the main pid from your app. These are in addition to the Threads/Processes you've spun up explicitly.


Post a Comment for "Python Multiprocessing: More Processes Than Requested"