14장. Jenkins 장애를 queue·agent·plugin으로 분해한다
job이 시작되지 않으면 queue reason, matching label, offline agent, executor, throttle부터 본다. 시작 후 멈추면 workspace I/O, external dependency, credential wait, process tree를 본다. controller CPU와 GC가 높으면 plugin thread dump와 build storm을 확인한다.
queued -> label/capacity/throttle
running -> command/process/network/workspace
controller-> plugin/GC/storage/queue persistence
“재시작하면 된다” 전에 thread dump, system log, queue snapshot, plugin changes를 보존한다. restart가 pipeline durability와 in-flight deployment에 미치는 영향을 runbook에 적는다. controller upgrade는 plugin compatibility, backup restore, rollback과 canary controller에서 검증한다.