Interview Prep/Jenkins/Agents, executors & the queue

`Waiting for next available executor on ‘linux’` for 20 minutes during peak hours

BeginnerTroubleshootingAgents, executors & the queue
Answer

Likely causes → All executors on matching nodes are busy, or the cloud has hit its concurrency cap.

Diagnose → Check Build Executor Status and Load Statistics for the label; for clouds, check the cap versus running pods: kubectl -n jenkins-agents get pods | wc -l.

Fix → Add capacity (more agents or higher cloud cap and quota), reduce waste (abortPrevious, skip unchanged), stagger cron jobs.

Prevent → Alert on queue wait time and review capacity monthly.

All Jenkins questions Roadmap: Jenkins

More on Agents, executors & the queue