Search code examples
tfsagents

Maximum number of TFs agents connected to a TFS instance


On Team Foundation (TFS2017) which is the maximum number of build agents that you can have connected to your TFS instance?


Solution

  • There is not any official document statement the limitation of build agent numbers with TFS for now. Also didn't get any related prompt info such as: build agents have reached the maximum.

    For multiple machines, you could configure as much as you require, there is no evidently limitation.

    For a single machine, it depends on the hardware. If your agent server is virtual, then it is already slower as compared to the physical, you also need to allocate sufficient RAM for it.

    Can I install multiple private agents on the same machine?

    Yes. This approach can work well for agents that run jobs that don't consume a lot of shared resources.

    You might find that in other cases you don't gain much efficiency by running multiple agents on the same machine. For example, it might not be worthwhile for agents that run builds that consume a lot of disk and I/O resources.

    You might also run into problems if concurrent build processes are using the same singleton tool deployment, such as NPM packages. For example, one build might update a dependency while another build is in the middle of using it, which could cause unreliable results and errors.

    Source Link