Why does my job queue even if I have enough containers?

If you are currently on a container-based plan for CircleCI your jobs may queue if there are not enough containers in your plan to accommodate the current workload.

There are no queues for users on our "Performance" plan, which is usage-based.

 

Understanding container usage


For example, if you have a total of 4 containers available on your account, you could:

When working with workflows, it is important to remember that the total max number of containers needed at one time will be required to be available in order to start the workflow.


For example, if in a "fan-out" workflow a single job fans-out into 4 parallel jobs, and fans back to 1 job, the entire workflow will require 4 free containers to begin.

Fan-out and Fan-in Workflow

The workflow in this example can not begin unless there are at least 4 containers available. This means if another single container job was running, even with three containers free the first job of this workflow can not begin. This is done so there are no large delays between jobs of a workflow.

To avoid queues:

To avoid queueing all together, check out our new usage-based Performance plan.

 

Was this article helpful?
1 out of 2 found this helpful

Comments

0 comments

Please sign in to leave a comment.