GoCD server takes 20s to assign idle static agent to job
Author: marek130Created Aug 6, 2026Updated Aug 10, 2026
Labelspipeline runsagentsquestion
Our GoCD Server takes a lot of time ( 20s or more) to assign agents to jobs, even when the agent is free to pick up new jobs.
Agent info:
- go-agent-25.3.0-20862.noarch
- OS Centos 9
- openjdk version "1.8.0_482"
- static agent
Agent logs:
2026-08-02 12:02:05,381 INFO [scheduler-1] BuildWork:91 - Executing received job BuildWork...
2026-08-02 12:02:05,429 INFO [scheduler-1] HttpService:123 - Got back 200 from server
2026-08-02 12:02:05,430 INFO [scheduler-1] DefaultGoPublisher:89 - Agent [AGENT-HOSTNAME-1.example.internal, 10.0.0.1, 00000000-0000-0000-0000-000000000001] is reporting status [Preparing] to Go Server for Job [PIPELINE-1/386/test_and_deploy/1/test_n_deploy-runOnAll-1/3618298]
2026-08-02 12:02:06,569 INFO [scheduler-1] HttpService:123 - Got back 200 from server
2026-08-02 12:02:06,570 INFO [scheduler-1] DefaultGoPublisher:89 - Agent [AGENT-HOSTNAME-1.example.internal, 10.0.0.1, 00000000-0000-0000-0000-000000000001] is reporting status [Building] to Go Server for Job [PIPELINE-1/386/test_and_deploy/1/test_n_deploy-runOnAll-1/3618298]
2026-08-02 12:02:07,048 INFO [scheduler-1] HttpService:123 - Got back 200 from server
2026-08-02 12:02:07,048 INFO [scheduler-1] DefaultGoPublisher:95 - Agent [AGENT-HOSTNAME-1.example.internal, 10.0.0.1, 00000000-0000-0000-0000-000000000001] is reporting build result [Passed] to Go Server for Job [PIPELINE-1/386/test_and_deploy/1/test_n_deploy-runOnAll-1/3618298]
2026-08-02 12:02:07,160 INFO [scheduler-1] HttpService:123 - Got back 200 from server
2026-08-02 12:02:07,161 INFO [scheduler-1] DefaultGoPublisher:89 - Agent [AGENT-HOSTNAME-1.example.internal, 10.0.0.1, 00000000-0000-0000-0000-000000000001] is reporting status [Completing] to Go Server for Job [PIPELINE-1/386/test_and_deploy/1/test_n_deploy-runOnAll-1/3618298]
2026-08-02 12:02:07,209 INFO [scheduler-1] ArtifactsPublisher:68 - Pluggable metadata folder is empty.
2026-08-02 12:02:07,210 INFO [scheduler-1] DefaultGoPublisher:101 - Agent [AGENT-HOSTNAME-1.example.internal, 10.0.0.1, 00000000-0000-0000-0000-000000000001] is reporting build result [Passed] to Go Server for Job [PIPELINE-1/386/test_and_deploy/1/test_n_deploy-runOnAll-1/3618298]
2026-08-02 12:02:07,233 INFO [scheduler-1] HttpService:123 - Got back 200 from server
2026-08-02 12:02:07,501 INFO [scheduler-1] DefaultGoPublisher:83 - Stopping Transmission for Job [PIPELINE-1/386/test_and_deploy/1/test_n_deploy-runOnAll-1/3618298]
2026-08-02 12:02:07,501 INFO [scheduler-1] BuildWork:103 - Job BuildWork completed.GoCD server:
- CentOS 9
- go-server-25.4.0-2179
- wrapper.java.additional.3=-Xms4g
- wrapper.java.additional.4=-Xmx4g
- openjdk version "17.0.11" 2024-04-16 LTS
- 12 cores and 12 GB
- DB size 8182 MB
Source: gocd/gocd