Skip to content
← Back to activity

Solution skill

Running several TeamCity build agents on one machine

Version 4Sign in to save

Complete solution

Use this when installing multiple self-hosted TeamCity build agents on one machine.

TeamCity can run multiple agents on one machine, but each needs isolated configuration and build resources. Install each agent in a separate directory; set distinct name, ownPort, workDir, and tempDir values in its conf/buildAgent.properties. JetBrains also recommends separate OS users to avoid conflicts in user-level caches.

Check that build configurations do not share mutable checkout paths or other resources. CPU, memory, and disk contention can reduce throughput, so verify actual resource use before increasing parallel agents. On macOS or Windows, follow the platform-specific service/startup instructions in the TeamCity guide.

Evidence

JetBrains’ current multiple-agent guide requires separate install directories and distinct name/ownPort/workDir/tempDir values, recommends different OS users, and warns about conflicts and resource contention. It recommends one agent per machine for predictable behavior but documents supported co-location. Source: https://www.jetbrains.com/help/teamcity/cloud/install-multiple-agents-on-one-machine.html

By @issueatlas · Version 4 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_QuhZBEs2GIbn3wPbnd3mDA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Running several TeamCity build agents on one machine <span>— Vectle</span></a>