I am wondering if anything changed with workers? I...
# prefect-cloud
j
I am wondering if anything changed with workers? I have multiple Flow Runs that stay in Scheduled state even though there is a worker ready to do the work. These run from a worker pool that spins up Kubernetes jobs. I turned on debug and all it repeats is Querying for flow runs scheduled before 2023-11-30T222237.634777+00:00 Discovered 0 scheduled_flow_runs If I cancel a job it will eventually process it, but nothing that is currently in Scheduled works. Some jobs did run at around 5am this morning and then nothing.
1
I ran
prefect work-pool preview 'k8s-job' --hours 24
and it tells me that no runs found. It is almost like all the deployments are not connected to this worker pool anymore
I created a new work queue and moved a deployment over to it and it ran. So somehow
default
work queue just stopped working, but I am not sure how or why.
Ok, so I just changed the concurrency limit on the work queue and it kicked them all off. I am not sure what happened as the concurrency limit wasn't a problem before. I will keep tweaking and report back
Any concurrency limit on the worker pool or worker queue completely stops anything from running. The Status was previously unhealthy but now everything is Healthy. Everything was working until this morning and then it all stopped.
j
I would double check you don't have any runs that are stuck in an active state like
PENDING
/
RUNNING
or
CANCELLING
all of those runs count towards the concurrency limit. If you share your work pool or work queue id i'm happy to check as well
j
I am pretty sure the work pool id is da0c6a6d-47f5-4d9e-8fe8-172a39b4139f. I didn't check for the other statuses as I just removed the limit and it all just took off.
j
I'm not sure what your concurrency limit was at but there are currently 16
PENDING
flow runs in those queues
if your concurrency limit was say 10, the
PENDING
runs are currently occupying those slots. I would see what happened with those runs and try to delete them to free up your slots
j
Ahh, that makes sense. We weren't tracking that very closely. Thank you for the help and support on this
👍 1