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
Feature request: ability to limit number of tasks per worker #676
Reacted by Shijin Abraham, Glenn Oppegard, Devin Brown, Vlad Kasatkin, Diogo Lemos, Phillip Baker, Bas Zalmstra, Mervyn Anthony, Mike Sarahan, Ryan McLeod and 3 more
This would be very helpful for my team. In our case, we need to ensure that a given worker is only running 1 instance of a specific task (since the task will fail if it has to compete for resources).
This would be useful for the Pivotal Tracker team to prevent overload of workers (assuming that Concourse would schedule jobs on workers with less container utilization).
I'm having the same problem when more than one job is running simultaneously on the Darwin worker, even if the jobs are in different pipelines triggered by their corresponding git commits. Other than the first one, that started using the worker resource, the rest of the jobs fail. We then need to halt all commits and then will have to be manually trigger one after the other to pass the jobs.
Is there some workaround to this? This is a huge limitation and defeats the whole purpose of setting up concourse on darwin if the max number of jobs/tasks cannot be overridden and set to 1. :(
@mervyn777 Sorry, this issue is currently not prioritized so it might be a bit until it gets worked on. You might be able to use the pool-resource as a workaround to ensure that only one task is being run at a time.
@clarafu : Thanks for that great resource! Solves my problem for the moment. Currently the workaround gets lock for a complete job but not tasks within job. Is it possible to get a lock for individual tasks within a job? So that no 2 similar tasks run in different pipelines but the jobs can run concurrently as long as they are running different tasks requiring different resources.
I'd like to have such an option, too – but unrelated to macOS. In my case, there are not very powerful VPS in the cloud that currently hosts ATC & TSA along with a worker, and also the much more powerful server in office as an external worker. Something like worker weight would be very helpful to schedule workload to office server more often than to the cloud one.
Activity
concourse-bot commentedon Oct 3, 2016
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.
hryamzik commentedon Oct 6, 2016
That's also useful for resources to avoid multiple simultaneous puts at the same time.
matt-royal commentedon Oct 31, 2016
This would be very helpful for my team. In our case, we need to ensure that a given worker is only running 1 instance of a specific task (since the task will fail if it has to compete for resources).
oppegard commentedon Jan 6, 2017
This would be useful for the Pivotal Tracker team to prevent overload of workers (assuming that Concourse would schedule jobs on workers with less container utilization).
baszalmstra commentedon Apr 18, 2017
This would be useful to run graphics heavy tests on a worker and not overload the worker with multiple tests.
mervyn777 commentedon Jun 27, 2017
Any updates on this issue???
I'm having the same problem when more than one job is running simultaneously on the Darwin worker, even if the jobs are in different pipelines triggered by their corresponding git commits. Other than the first one, that started using the worker resource, the rest of the jobs fail. We then need to halt all commits and then will have to be manually trigger one after the other to pass the jobs.
Is there some workaround to this? This is a huge limitation and defeats the whole purpose of setting up concourse on darwin if the max number of jobs/tasks cannot be overridden and set to 1. :(
clarafu commentedon Jul 11, 2017
@mervyn777 Sorry, this issue is currently not prioritized so it might be a bit until it gets worked on. You might be able to use the pool-resource as a workaround to ensure that only one task is being run at a time.
mervyn777 commentedon Jul 18, 2017
@clarafu : Thanks for that great resource! Solves my problem for the moment. Currently the workaround gets lock for a complete job but not tasks within job. Is it possible to get a lock for individual tasks within a job? So that no 2 similar tasks run in different pipelines but the jobs can run concurrently as long as they are running different tasks requiring different resources.
msarahan commentedon Sep 13, 2017
I recommend also adding a Windows label, but more broadly, this is a critical feature for any system where docker containers are not an option.
leshik commentedon Mar 11, 2018
I'd like to have such an option, too – but unrelated to macOS. In my case, there are not very powerful VPS in the cloud that currently hosts ATC & TSA along with a worker, and also the much more powerful server in office as an external worker. Something like worker weight would be very helpful to schedule workload to office server more often than to the cloud one.
ddadlani commentedon Jun 25, 2019
This is related to #2928, which is currently in progress.
ddadlani commentedon Jul 30, 2019
Closing this since it has been implemented in #4118