`hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@6e4b:agent-07": Remote call on agent-07 failed. The channel is closing down or has closed down`
IntermediateTroubleshootingAgents, executors & the queue
Answer
Likely causes → The agent process died (OOM-killed, pod evicted, VM rebooted), or the network connection dropped (idle timeout on a load balancer or proxy).
Diagnose → Check the agent host: dmesg | grep -i kill, kubectl describe pod (OOMKilled, Evicted), proxy timeouts; agent remoting logs.
Fix → Give the agent/pod more memory, fix eviction causes (ephemeral storage limits), raise LB idle timeouts or rely on WebSocket ping.
Prevent → retry(conditions: [agent(), kubernetesAgent()]) around stages to survive occasional agent loss.
More on Agents, executors & the queue
Build stuck: `Still waiting to schedule task. ‘Jenkins’ doesn’t have label ‘docker’`Beginner`Waiting for next available executor on ‘linux’` for 20 minutes during peak hoursBeginner`All nodes of label ‘windows’ are offline`BeginnerInbound agent fails: `SEVERE: http://jenkins:8080/tcpSlaveAgentListener/ is invalid: 404 Not Found`IntermediateAgent connects but builds fail with `java.io.IOException: Cannot run program "nohup" (in directory "C:\jenkins\workspace\app"): CreateProcess error=2`Beginner`Building on the built-in node can be a security issue. You should set up distributed builds.` warning, and some jobs still run thereBeginner