Nimesh Kumar
01/07/2025, 8:42 AMBianca Hoch
01/07/2025, 1:17 PMNimesh Kumar
01/07/2025, 1:20 PMNimesh Kumar
01/07/2025, 1:21 PMBianca Hoch
01/07/2025, 1:24 PMNimesh Kumar
01/07/2025, 1:27 PMBianca Hoch
01/07/2025, 1:37 PMNimesh Kumar
01/07/2025, 1:38 PMBianca Hoch
01/07/2025, 1:40 PMNimesh Kumar
01/07/2025, 2:00 PMNimesh Kumar
01/08/2025, 4:38 PMNimesh Kumar
01/09/2025, 5:25 AMBianca Hoch
01/09/2025, 3:48 PMBianca Hoch
01/09/2025, 3:49 PMprefect agent start -q my-queue
or did you run prefect agent start -q my-queue -p default-agent-pool
?Nimesh Kumar
01/09/2025, 4:10 PMprefect agent start -q my-queue -p default-agent-pool
then my flows were stuck into Late state
and when i ran prefect agent start -q my-queue
then queue were assinged into default-agent-pool (which i was expecting) but when i put concurrency in the default-agent-pool for example 2 then it did not restrict the flow to 2 reather it gets restricted to 5 which was a concurrency limit of my work queueBianca Hoch
01/09/2025, 4:20 PMprefect agent start -q my-queue -p default-agent-pool
then my flows were stuck into Late state
I think adding the -p
argument is needed for the pool-level concurrency to be respected, then. 🤔
As for the pool accumulating late runs, are there any flow runs stuck in a PENDING
or CANCELLING
state? Any runs in those states will also count against the concurrency work pool's limit.Nimesh Kumar
01/09/2025, 4:25 PMprefect agent start -q my-queue -p default-agent-pool
or prefect agent start -q my-queue
command becasue in the first command -p is there. ?Bianca Hoch
01/09/2025, 6:41 PMprefect agent start -q my-queue -p default-agent-pool