# What limits the number of concurrent builds?

**URL:** <https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801>\
**Category:** Discussion\
**Created:** [June 24, 2020, 6:30am UTC](https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801 "2020-06-24T06:30:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![larsfosdal](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/larsfosdal/32/2022_2.png) [@larsfosdal](https://www.finalbuilder.com/forums/u/larsfosdal)\
**Post date:** [June 24, 2020, 6:30am UTC](https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801/1 "2020-06-24T06:30:50Z")

</div>

I am only using one agent on the main build server, and we have an extra five-pack of concurrent build licenses - but still the number of concurrent builds never exceeds two.

Is it bound to the number of physical cores?

The server is VM on Azure  
Processor Intel® Xeon® Platinum 8171M CPU @ 2.60GHz, 2095 Mhz, 2 Core(s), 4 Logical Processor(s)  
and it is insistant on running only two concurrent builds.

The old server was a VM on a regular server.  
Processor Intel® Xeon® CPU E5-2643 v4 @ 3.40GHz, 3392 Mhz, 4 Core(s), 4 Logical Processor(s)  
and it happily ran six concurrent builds.

Why the change in behaviour?

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/b/beb147e835d6e5ef4c8b52eac923587ad2f7d2f7.png)

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [June 24, 2020, 6:33am UTC](https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801/2 "2020-06-24T06:33:42Z")

</div>

It’s a default setting per agent (2) - on the admin Agents page, there is a Concurrent Stages column, you can change that setting per agent.

---

<div class="post-metadata">

**Author:** ![larsfosdal](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/larsfosdal/32/2022_2.png) [@larsfosdal](https://www.finalbuilder.com/forums/u/larsfosdal)\
**Post date:** [June 24, 2020, 6:48am UTC](https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801/3 "2020-06-24T06:48:41Z")

</div>

Thanks, Vincent!  
I have a lot to learn about Continua CI, for sure.  
But I LOVE it!

---

<div class="post-metadata">

**Author:** ![larsfosdal](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/larsfosdal/32/2022_2.png) [@larsfosdal](https://www.finalbuilder.com/forums/u/larsfosdal)\
**Post date:** [June 24, 2020, 7:06am UTC](https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801/4 "2020-06-24T07:06:05Z")

</div>

It does make me wonder, though - why wasn’t the quantity of concurrent builds reflected through the restore? Is it stored in the registry?

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [June 24, 2020, 7:06am UTC](https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801/5 "2020-06-24T07:06:39Z")

</div>

Did your agent names change? If so that would be why.

---

<div class="post-metadata">

**Author:** ![larsfosdal](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/larsfosdal/32/2022_2.png) [@larsfosdal](https://www.finalbuilder.com/forums/u/larsfosdal)\
**Post date:** [June 24, 2020, 7:11am UTC](https://www.finalbuilder.com/forums/t/what-limits-the-number-of-concurrent-builds/6801/6 "2020-06-24T07:11:18Z")

</div>

TBH, I don’t know. I did not change the default agent name in the new installation, and I didn’t change the name after the drop/restore, but I cannot say for sure that it hadn’t changed from the old machine.

I did remove a second agent which we no longer used - but that was for a second server that we had since long stopped using.
