n8n queue mode workers: health checks and stuck executions
In queue mode, the main n8n process puts executions in a Redis queue and workers run them. If the workers or Redis stop, schedules keep firing but executions stay queued and never finish. Turn on worker health checks with QUEUE_HEALTH_CHECK_ACTIVE=true and watch /healthz and /healthz/readiness on each worker.
Last updated · By Marc Vergara
Part of the n8n workflow monitoring guide, for self-hosted instances. On a single-process instance, the equivalent problem is a schedule that stops: see n8n workflow stopped running, with no error.
What breaks when workers stop
Nothing fails, so nothing alerts. Executions sit in the queue as queued, and the error workflow never runs because the execution never ends.
Forum threads about executions stuck in Queued usually trace back to workers that can't reach Redis or the database, or that crashed. The scheduler itself can also stop silently; one report found the error only in the main container's logs.
Health checks for workers
Set QUEUE_HEALTH_CHECK_ACTIVE=true on each worker. It then serves /healthz (is the worker up) and /healthz/readiness (are its database and Redis connections ready).
The port is QUEUE_HEALTH_CHECK_PORT, 5678 by default. The main n8n process always serves /healthz. Point your container orchestrator's health check, or an uptime monitor, at these endpoints.
What to alert on
Alert when a worker's readiness check fails, and when executions stay queued longer than your slowest workflow normally takes.
- Worker
/healthz/readinessfailing for more than a minute or two. - Redis unreachable from the main process.
- A scheduled workflow with no finished run for longer than its interval plus a grace period.
- A growing count of queued executions.
FAQ
- Why are my n8n executions stuck in Queued?
- In queue mode, a queued execution is waiting for a worker. Usually no worker is running, or the workers can't reach Redis or the database. Check the worker logs and their /healthz/readiness endpoint.
- How do I enable the n8n worker health check?
- Set QUEUE_HEALTH_CHECK_ACTIVE=true on the worker. It serves /healthz and /healthz/readiness on QUEUE_HEALTH_CHECK_PORT, 5678 by default.
- Does the n8n error workflow catch stuck queued executions?
- No. The error workflow runs when an execution ends in an error. A queued execution hasn't ended.
Sources
- n8n docs: queue mode
- n8n docs: monitoring
- n8n community: jobs stay in Queued status
- n8n community: Schedule Trigger silently stops firing
Next step: run through the free checklist of 12 silent failures on one client account this week.