https://prefect.io logo
s

skrawczyk

07/26/2023, 3:25 PM
Is there a good way to tell the reason for a work queue going into the
unhealthy
state? It looks like one of ours did so right at 9am this morning. Our infrastructure is all up and healthy, so I'm not sure why the work queue would report
unhealthy
1
j

Jamie Zieziula

07/26/2023, 4:27 PM
Hi Scott! are there any late runs in the queue? This will cause the queue to report unhealthy
s

skrawczyk

07/26/2023, 4:45 PM
Yes there are 50+ late runs! I assumed they were late because of the unhealthy queue though.
j

Jamie Zieziula

07/26/2023, 4:49 PM
do you have a concurrency limit set?
oop nevermind i see that you dont
can you restart the worker and see if that helps?
s

skrawczyk

07/26/2023, 4:52 PM
I did try restarting before posting here unfortunately :/
j

Jake Kaplan

07/26/2023, 5:20 PM
Could you check if your work pool is paused? It's the toggle on the main work pool page (below is an
active
example of the toggle):
s

skrawczyk

07/26/2023, 5:48 PM
^^^ that was the cause, thank you!
Are you aware of any reason why that would happen behind the scenes other than a User switching it?
like a default value on an API call or something?
j

Jake Kaplan

07/26/2023, 5:51 PM
The primary ways for a work pool to get paused are: • the UI toggle here •
prefect work-pool pause ...
via the CLI • An automation is configured to pause a work pool based on certain triggers The default state of a work pool is always active. There shouldn't be anything else behind the scenes that is switching this to pause automatically
s

skrawczyk

07/26/2023, 5:58 PM
interesting, thanks for the info. Seems like it had to have been a user via CLI or the toggle
👍 1
j

Jamie Zieziula

07/26/2023, 6:29 PM
thanks jake for the help!
2 Views