the concurrency limit shows 181 active tasks for t...
# ask-community
d
the concurrency limit shows 181 active tasks for the tag but when i try to find the tasks by id ( after inspecting this tag ) these tasks are not found.. how do i fix this ?
k
Hi @Deepanshu Aggarwal, are you using the tag name or the tag id to run
prefect concurrency-limit inspect
command? Also which version of Prefect are you using?
I was able to see the running tasks when I used the cli command by passing the tag name
d
tag name to inspect
i can see the list of task ids by using the inspect command but when i try to use delete api to delete all those tasks it gives me 404 basically all these task were generated by a flow run which got killed after a while but the task still remain in the list here
how do i clean that
k
Hey @Deepanshu Aggarwal , I'm not sure if there is a CLI command for deleting task runs but I do see our API command https://docs.prefect.io/api-ref/rest-api/#/Task%20Runs
d
how do i use any task api when it says task not found