Waiting for a buildkite agent to become available

Hello, I am working with a setup where I have multiple pipeline working with several buildkite agents. There are times when I see 203 agents working at the same time. Unfortunately, if too many agents are running various builds, it makes new builds have to wait. I have yet to see over 204 agents working at the same time. Is there a way to increase the number of agents working to minimize the waiting game? I completely get the concurrency option, but when it’s not specific, I would have thought it would be unlimited unless there is another constraint I have not yet discovered.

Appreciate any insight.


Hey @tomc :wave: Welcome to the community!

Without understanding how you’re running your agents, it’s hard to give specific advice. That said, it does sound to me like you might be using our Elastic CI Stack to run your agents. If that’s the case, you could look at increasing the max instances as part of your stack configuration.

If not, could you share some more details about how you’re running your agents?