You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Concourse seems to have a limit of 256 containers per worker #235
And when we run fly workers, we see that one worker has 256 containers:
$ fly -t concourse workers
name containers platform tags
6077fe29-fd93-4eaf-8a34-cb09fd0cb3dc 256 linux none
bcb69d65-ccf7-4a34-ac7e-b31aae4af20b 0 linux aws
c4014445-7173-4eb8-8686-a25c102668a2 109 linux none
d45d970c-a817-487a-8efd-711b53881995 0 linux vsphere
e550fbac-063c-422d-b58f-300214992521 134 linux none
Is this 256 container limit artificially imposed / is there some workaround to increase this limit?
This error comes from Garden we just bubble it up. @julz@goonzoid - Is there a way to increase this limit? If so, is it documented anywhere? Is it a good idea to increase it?
You can increase max_containers here, if you do this you also likely want to increase the subnet pool size to make sure it has enough IPs (the default /22 CIDR only gives you enough for 256 containers).
just for history - I am going to add to this issue and note that at present garden-runc doesn't respect the max_containers setting for anyone that may stumble into this issue when searching. The true way to raise the number of containers is to bump the subnet pool size that @julz mentioned but going much above 300 seems to make the network throughput on the worker slow for every other container.
Activity
concourse-bot commentedon Dec 17, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
xoebus commentedon Dec 17, 2015
Thanks for the bug report.
This error comes from Garden we just bubble it up. @julz @goonzoid - Is there a way to increase this limit? If so, is it documented anywhere? Is it a good idea to increase it?
julz commentedon Dec 17, 2015
You can increase max_containers here, if you do this you also likely want to increase the subnet pool size to make sure it has enough IPs (the default /22 CIDR only gives you enough for 256 containers).
xoebus commentedon Dec 17, 2015
👍 Thanks Julz.
bump atc fly testflight ginkgo gomega
zachgersh commentedon Dec 16, 2016
just for history - I am going to add to this issue and note that at present garden-runc doesn't respect the
max_containerssetting for anyone that may stumble into this issue when searching. The true way to raise the number of containers is to bump the subnet pool size that @julz mentioned but going much above 300 seems to make the network throughput on the worker slow for every other container.bump atc go-concourse
bump fly skymarshal
bump etree tsa handlers mux clockwork goxmldsig genproto grpc