<@ULVA73B9P> I have a process worker set up on a m...
# ask-marvin
j
@Marvin I have a process worker set up on a machine. It is visible in the Prefect UI, but for some reason does not take any flow runs. What might be the problem?
m
Your process worker might not be taking any flow runs due to several potential issues: 1. Work Pool Mismatch: Ensure that the worker is polling the correct work pool that matches the type of your flow runs. Workers can only poll work pools that match their type. 2. Worker Status: Check the worker status in the Prefect UI to ensure it is active and not in a failed or stopped state. 3. Logs: Review the worker logs for any errors or warnings that might indicate why it is not executing flow runs. Logs can be accessed through the Prefect UI. 4. Heartbeat: If the worker has stopped sending heartbeats, it might be considered inactive. You can configure the heartbeat threshold with the
PREFECT_WORKER_HEARTBEAT_SECONDS
setting. For more details on troubleshooting workers, you can refer to the Prefect Workers Documentation.
j
@Marvin where can I access the worker logs?
m
You can access the worker logs through the Prefect Cloud UI if you're connected to Prefect Cloud. Each flow run will include a link to its associated worker’s logs, which can provide insights into any issues the worker might be experiencing. If you are running Prefect locally or on a self-hosted server, you would typically access the logs from the location where the worker process is running, often in the terminal or a log file depending on your setup. For more detailed information, refer to the Prefect Workers Documentation.