KBEC-00436 CloudBees CD (CloudBees Flow) Timeout settings

Article ID:360033183951
2 minute readKnowledge base
On this page

Summary

This article outlines the timeout settings in Cloubees CloudBees CD (CloudBees Flow).

Timeouts that can be configured in with UI settings (Administration  Settings):

Agent abort timeout - Time the server waits for responses to the abort agent command. After this timeout has elapsed, the step is force aborted. Defaults to 90 seconds.

Agent connection timeout - Time to wait for connections to agents to open. Defaults to 60 seconds.

Idle connection timeout - The number of milliseconds to keep idle connections open. Defaults to 5 minutes.

Agent socket timeout - The number of milliseconds the server waits for responses to agent commands. Defaults to 60 seconds.

Idle login session timeout - Number of minutes before an idle user session is terminated. Defaults to 3 days.

Webhook session timeout - Number of minutes before a webhook session is terminated. Defaults to 180 days.

Timeouts that can be configured in with ecconfigure command:

Agent Configuration Options:

--agentIdleConnectionTimeout=milliseconds - Idle connection timeout, in milliseconds.

--agentIdleOutboundConnectionTimeout=seconds - Idle time after which an outbound connection is closed, in seconds.

--agentIdlePostRunnerTimeout=seconds - Idle time after which a PostRunner thread is terminated, in seconds.

--agentIdleServerRequestWorkerTimeout=seconds - Idle time after which a ServerRequestWorker thread is terminated, in seconds.

--agentIdleWorkerTimeout=seconds - Idle time after which a Worker thread is terminated, in seconds.

--agentOutboundConnectTimeout=milliseconds - Timeout for the agent establishing outbound connections, in milliseconds.

--agentOutboundRequestTimeout=hours - Timeout after which the agent gives up trying to send a request to a server, in hours.

--agentServerConnectTimeout=seconds - Socket connection timeout for outbound requests to a server, in seconds.

--agentServerReadTimeout=seconds - Socket read timeout for responses from a server, in seconds.

--agentWrapperPingTimeout=seconds - Java virtual machine-wrapper heartbeat timeout, in seconds.

--agentWrapperShutdownTimeout=seconds - The wrapper’s shutdown timeout, in seconds.

--agentWrapperStartupTimeout=seconds - The wrapper’s startup timeout, in seconds.

Server Configuration Options:

--serverWrapperPingTimeout=seconds - Java virtual machine-wrapper heartbeat timeout, in seconds.

--serverWrapperStartupTimeout=seconds - The wrapper’s startup timeout, in seconds.

--serverWrapperShutdownTimeout=seconds - The wrapper’s shutdown timeout, in seconds.

Repository Server Configuration Options:

--repositoryIdleConnectionTimeout=milliseconds - The idle connection timeout, in milliseconds.

--repositoryWrapperPingTimeout=seconds - Java virtual machine-wrapper heartbeat timeout, in seconds.

--repositoryWrapperStartupTimeout=seconds - The wrapper’s startup timeout, in seconds.

--repositoryWrapperShutdownTimeout=seconds - The wrapper’s shutdown timeout, in seconds.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.