https://prefect.io logo
k

KoaNguyn

08/01/2023, 7:16 AM
I would like to ask some questions about the task concurrency limit. Is it normal for failed tasks to take up task concurrency slots and do not release them? If so, are there any best practices about freeing up the task concurrency limit? My team is currently using prefect 2.10.8.Thank you!!
b

Bianca Hoch

08/01/2023, 5:39 PM
Hello! Hmm. To my knowledge there are a few edge cases where the concurrency slot is not released. This isn't expected behaviour though, failed tasks should not take up concurrency slots.
I'd recommend creating an issue in GitHub if you haven't already. As a workaround, you should be able to clear the concurrency slots with the following command:
$ prefect concurrency-limit reset <tag>
k

KoaNguyn

08/02/2023, 1:24 AM
Thank you for your response!