Worker Process Management¶
The worker process sub-app provides fine-grained control over multiple background worker instances.
Process Lifecycle¶
Start Multiple Instances¶
Start several worker instances at once, each with its own hostname.
Advanced Start Flags¶
--queues/-Q: Comma-separated list of queues to listen to.--concurrency: Number of child processes per worker instance.--detach/-d: Run workers in the background.
Stop¶
Gracefully shut down all running worker processes.
Restart¶
Stop then restart all worker processes to apply code changes.
Monitoring & Logs¶
Status¶
See a detailed table of running worker processes, including their PIDs, uptime, and resource usage.
| Process Status | |
|---|---|
Logs¶
Tail the logs specifically for the worker processes.
| Worker Logs | |
|---|---|
Background Processes
Status and log commands are particularly useful when workers are started with the --detach flag.