Zombie MATLAB Processes Remain After parpool/parfor and delete(gcp(‘nocreate’))
I’m encountering a persistent issue with MATLAB’s Parallel Computing Toolbox when using "parpool(‘Processes’, 20)" or "parpool(20)" and later "parfor" computing.
I launch a pool using "parpool(‘Processes’, 20)" or "parpool(20)" and then run a parfor loop. During execution, CPU and memory usage behave normally.
After the computation ends as expectation, I call "delete(gcp(‘nocreate’))" to close the parallel pool or time ends MATLAB shuts it down. However, CPU usage spikes to 100%, and dozens of MATLAB background processes remain visible in Task Manager, each using ~1–2% CPU. Even after closing the main MATLAB GUI, the processes continue running.
The only thing i can do is restart the computer.I’m encountering a persistent issue with MATLAB’s Parallel Computing Toolbox when using "parpool(‘Processes’, 20)" or "parpool(20)" and later "parfor" computing.
I launch a pool using "parpool(‘Processes’, 20)" or "parpool(20)" and then run a parfor loop. During execution, CPU and memory usage behave normally.
After the computation ends as expectation, I call "delete(gcp(‘nocreate’))" to close the parallel pool or time ends MATLAB shuts it down. However, CPU usage spikes to 100%, and dozens of MATLAB background processes remain visible in Task Manager, each using ~1–2% CPU. Even after closing the main MATLAB GUI, the processes continue running.
The only thing i can do is restart the computer. I’m encountering a persistent issue with MATLAB’s Parallel Computing Toolbox when using "parpool(‘Processes’, 20)" or "parpool(20)" and later "parfor" computing.
I launch a pool using "parpool(‘Processes’, 20)" or "parpool(20)" and then run a parfor loop. During execution, CPU and memory usage behave normally.
After the computation ends as expectation, I call "delete(gcp(‘nocreate’))" to close the parallel pool or time ends MATLAB shuts it down. However, CPU usage spikes to 100%, and dozens of MATLAB background processes remain visible in Task Manager, each using ~1–2% CPU. Even after closing the main MATLAB GUI, the processes continue running.
The only thing i can do is restart the computer. parpool, parfor, parallel computing MATLAB Answers — New Questions