Interview Prep/Jenkins/Controller health, disk & upgrades

UI is slow and the thread dump shows dozens of threads `BLOCKED` on `hudson.model.Queue`

AdvancedTroubleshootingController health, disk & upgrades
Answer

Likely causes → Queue maintenance is slow due to a huge queue, expensive label expressions, or a plugin with slow QueueTaskDispatcher/canTake logic (e.g. throttling plugins evaluating many items).

Diagnose → Several thread dumps a few seconds apart; find the thread holding the queue lock and its stack (plugin package names).

Fix → Reduce queue size (cancel redundant builds), simplify label logic, update or remove the offending plugin.

Prevent → Keep queue-affecting plugins minimal; monitor queue size.

All Jenkins questions Roadmap: Jenkins

More on Controller health, disk & upgrades