Parallel Pool Job Stuck on “Job Queued” for 10–15 Minutes Before Connecting

Hello,
I’m experiencing a delay issue when starting a parallel pool in MATLAB. Whenever I run code that uses parfor or opens a parallel pool, MATLAB prints repeated messages like:
25-Nov-2025 09:12:11: Job Queued. Waiting for parallel pool job with ID 5 to start ...
25-Nov-2025 09:13:12: Job Queued. Waiting for parallel pool job with ID 5 to start ...
25-Nov-2025 09:14:13: Job Queued. Waiting for parallel pool job with ID 5 to start ...
This continues for about 10–15 minutes before the pool finally connects. After it connects, everything runs normally — the problem is only the long waiting time before the workers start.
I’m looking for a fix or configuration change that eliminates this long delay and allows the pool to start right away.

댓글 수: 5

Are you using Distributed Computing, or is this a normal local parallel process pool?
its a normal local parallel process pool
same ongoing problems here on R2025a and R2025b.
@jessupj can you try a threaded pool?
Use of class or function matlab.system.internal.executeCommand is not supported on a thread-based worker. Use a PARPOOL('Processes') process-based pool or a different process-based pool instead.

댓글을 달려면 로그인하십시오.

 채택된 답변

Raymond Norris
Raymond Norris 2025년 12월 15일
You might consider using the Threaded profile. It ought to start quicker and might support the features you need for your parfor.
Alternatively, contact MathWorks Technical Support (support@mathworks.com) to resolve this.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

제품

릴리스

R2024b

질문:

2025년 11월 25일

댓글:

2026년 2월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by