n8n in Production: Queue Mode, Misfires, and the Failures That Never Alert (2026)
An automation failure rarely looks like an error. The invoice workflow that posts on the first of the month did not crash — the trigger never fired, so there was no execution to crash and no error workflow to run. Three days later, someone notices the numbers are short.
n8n has changed under its users twice in the past two months. Version 2.45.0, released October 20, 2026, turned on a database-backed scheduler by default; 2.50.6 is the current release as of today. Both decide whether a missed run comes back or is simply gone. Every default below was read from n8n's own documentation on December 2, 2026.
At a glance
- Who — teams running scheduled or webhook-triggered workflows that touch money, records or customers, on self-hosted n8n or Cloud Pro and above.
- Cost — every fix here is configuration. The real bill is the run that did not happen, and a two-hour gap in a reconciliation job costs more than the worker that would have prevented it.
- When — before the first workflow that must succeed every day. Past roughly 2,000 executions a day, or any write into a ledger or CRM, treat it as mandatory.
- Caveat — a queue protects work already accepted; it cannot hold webhooks that arrive while the main instance is down.
Disclosure: this post contains an affiliate link to Make.com. If you subscribe through it, Signal & Silicon earns a commission at no extra cost to you. Every n8n default and limit below was read from n8n's own documentation on December 2, 2026.
Two failures, and neither one sends an email
n8n's error handling is built around the execution. When a run fails, the error workflow selected in Workflow Settings fires with the execution id, the failing node and the stack trace. It has one blind spot: it needs an execution that reaches a failed state. The expensive failures sit on the other side of that condition, where nothing pages anyone.
The run that never happened
Until this autumn, n8n's scheduler kept pending runs in the main process's memory. When an instance stops, its timers go with it, and n8n "skips any run whose time passed during the downtime rather than catching it up." A restart at 02:59 was enough to lose the 03:00 job. A skipped run leaves no execution record at all, so the Error Trigger has nothing to fire on; the only evidence is an absence.
The run that finished green
On Error: Continue tells n8n to proceed with the last valid data after a node fails, and the execution is then recorded as successful. No error workflow runs, because from the platform's point of view nothing failed. The same holds for Continue (using error output), which sends failed items down a second output. Both are right for a batch of 200 addresses where one bad record should not stop the other 199 — and a systemic risk when they are applied by habit to a workflow that writes invoices.
The crash that leaves a corpse
Queue mode adds a third. Redis holds the queue, and the documentation is explicit: when Redis loses queued jobs, n8n does not rebuild them from PostgreSQL — it marks the affected executions as crashed. With N8N_WORKFLOW_AUTODEACTIVATION_ENABLED on, n8n can also unpublish a workflow after three crashed executions in a row, so the failure stops arriving at all.
Table 1. Four ways a workflow stops, and what each one tells you.
| Failure mode | What you see | What alerts | Decision rule |
|---|---|---|---|
| Schedule skipped | No execution record at all | Nothing | Upgrade past 2.45, then set a grace period longer than your slowest deploy. |
| Node error swallowed | Execution marked successful, data missing | Nothing | Keep Continue for item-level tolerance only; fail the run when the whole result is wrong. |
| Worker died mid-run | Execution status "crashed", queued siblings gone with Redis | Nothing by default | Turn on Redis persistence and alert on the crashed status. |
| Hung node | Execution running for hours, holding a concurrency slot | Nothing until something times out | Set Timeout Workflow on every workflow with an HTTP or AI node. |
Fixing the silence: schedules, retries, error workflows
Version 2.45.0 moved scheduling out of process memory and into the database. Each upcoming run is written down before it is due, every main instance claims from a shared queue, and a reaper releases runs whose instance died mid-claim. A restart no longer drops the work; what happens to a run that falls inside one is now a policy decision.
Choose the policy per workflow
Past its grace period, a missed run meets one of three policies. Discarding the backlog, the default, suits snapshot jobs: an hourly status sync that runs late recreates a state that has already passed. A catch-up run suits anything idempotent whose job is to restore truth, such as a nightly reconciliation. No policy replays a backlog run by run — a four-hour outage on a five-minute schedule yields one catch-up, not forty-eight — so a workflow that depends on every interval needs a state marker of its own.
A grace period that matches your deploys
The default grace is 60 seconds (N8N_SCHEDULER_MISFIRE_GRACE), with a floor derived from the executor interval and a cap of 30 days. Set it to your slowest rollout: a 90-second deploy under a 60-second grace still loses every run that fell in its first 30 seconds. N8N_SCHEDULER_MAX_ATTEMPTS (default 5) caps how many times a run may be reclaimed after a crash before it is dead-lettered, which is the number to raise on infrastructure that restarts often.
One error workflow, two payload shapes
A single error workflow can serve the whole instance, and should, because one place to change an alert channel beats forty. Two details decide whether it works. A trigger-node failure arrives with a trigger object instead of an execution id and URL, so a handler that reads execution.id throws exactly when the scheduler is broken. And an alert-only workflow has no queue behind it: write the failed execution to a table, so a missed notification is still recoverable.
Retry has a five-second ceiling
Node retries cap at five tries and 5,000 ms of wait, with defaults of three tries one second apart. That covers a rate limit and a dropped connection, not an API down for ten minutes, and it ignores the Retry-After header. The sharper problem is that a retry reruns the whole node with all of its input items, because n8n does not track which items succeeded: in a batch of five where one got a 429, the other four are sent again. Reads waste quota; writes duplicate an invoice. It is the same hazard that makes CRM sync pipelines tricky, and the same fix applies as in How to Automate AI Meeting Notes Into Your CRM — an idempotency key written by the upstream system, not by the retry logic.
Stop letting Continue be the default
On Error: Continue is the setting worth auditing first, because it converts a failure into data that nobody reads. Continue (using error output) is the honest version: failed items leave through a second connector, and the run stays green only if that branch does something with them. If nothing downstream inspects it, it is a quieter Continue. Business-rule failures deserve the same treatment — a Stop And Error node fails the workflow when a total does not reconcile, routing it into the error workflow instead of letting bad data pass as a valid run.
Queue mode: what breaks first
Queue mode splits n8n into a main process that receives triggers, a pool of workers, and an optional webhook tier. Redis carries the queue; PostgreSQL carries workflows, credentials and execution data, which is why SQLite is not supported here, and every process needs the same encryption key. Three details cause most incidents: Redis is the only copy of the queue, so enable AOF persistence and a replica; workers answer no readiness check unless QUEUE_HEALTH_CHECK_ACTIVE is set; and a worker's /metrics endpoint is the only place the drain rate is visible.
Concurrency below 5 is a database problem
n8n recommends worker concurrency of 5 or higher, against a default of 10. The reason is not CPU. Many processes each holding a connection exhaust the PostgreSQL pool, and the symptom is timeouts across every workflow at once. Scale by adding workers at a sane concurrency, not by splitting the same capacity into thinner ones.
The 30-second deploy that kills a 4-minute run
Workers shut down gracefully for 30 seconds by default (N8N_GRACEFUL_SHUTDOWN_TIMEOUT). Anything still running after that is killed mid-write, after its API calls have already had their effect. Raise the timeout past your longest legitimate run, or make the long jobs checkpoint and resume.
Table 2. Defaults that are fine in a demo and wrong in production.
| Setting | Default | Set it to | Why it matters | Decision rule |
|---|---|---|---|---|
N8N_GRACEFUL_SHUTDOWN_TIMEOUT |
30 seconds | Longest run plus a margin | Deploys otherwise kill in-flight writes | Raise it before the first long workflow, not after the first incident. |
| Worker concurrency | 10 | 5 to 10 per worker | Shallow concurrency across many workers exhausts PostgreSQL connections | Add workers, not thinner ones. |
EXECUTIONS_DATA_PRUNE_MAX_COUNT |
10,000 | Your retained history | At 100,000 runs a day the cap keeps about 2.4 hours | Keep a week of failures, not a week of everything. |
N8N_SCHEDULER_MISFIRE_GRACE |
60 seconds | Slowest deploy window | Runs inside a rollout fall outside the grace | Measure the rollout, then double it. |
QUEUE_HEALTH_CHECK_ACTIVE |
Off on workers | On | A worker without readiness looks healthy while doing nothing | Every process answers its own check. |
N8N_METRICS |
Off | On, with scheduler metrics | Queue depth and scheduling lag are otherwise invisible | If you cannot chart the queue, you are guessing. |
Sizing the queue for the backlog, not the average
Queue mode turns an outage into a debt, and the interest rate is set by one ratio: how much faster workers drain than work arrives. Suppose arrivals continue at rate a while nothing is draining, and workers then drain at rate c. The backlog is a × T for an outage of T hours, and it clears in T × a / (c − a).
That ratio sets the sizing decision. At three times average arrival, a two-hour outage is cleared in one hour. At 1.5 times it costs four hours of catching up, and a Friday release leaves you clearing debt into Saturday. At 1.05 times it takes forty hours — the queue is technically working and operationally useless.

Figure 1. Hours needed to clear a backlog after an outage, by how much worker capacity exceeds average arrival (my calculation from the queue equation).
The target is a drain rate of three to five times peak arrival, which sounds extravagant until you price the alternative. Idle workers are cheap; a backlog that outlives the maintenance window costs a weekend. The queue does not hold webhooks that arrive while the main process is down, either — those fail at the load balancer — so if a lost webhook costs money, the buffer has to sit in front: SQS, Cloud Tasks, RabbitMQ, or a table the main process drains on startup.
Silent misses are routine, not exotic
Put numbers on it. Twenty workflows on a 15-minute schedule, four deploys a month, a 90-second rollout. For each schedule the chance that a run falls inside the window is 90 seconds out of 900 — ten percent — and across twenty schedules and four deploys that is eight missed runs a month, under a scheduler that never says a word.
Table 3. Expected missed runs per month from ordinary deploys (my calculation: 20 schedules at 15-minute intervals, 4 deploys per month).
| Deploy downtime | In-memory scheduler | Durable scheduler, 60-second grace | Decision rule |
|---|---|---|---|
| 30 seconds | 2.7 runs | 0 | A rolling restart is invisible only if the grace covers it. |
| 90 seconds | 8 runs | 2.7 runs | Raise the grace to the rollout length, then confirm the catch-up policy is safe to repeat. |
| 10 minutes | 53 runs | 48 runs | A ten-minute window is a design problem; move the deploy or split the schedule. |
Six checks that turn silence into an alert
Configuration prevents most of this; monitoring catches the rest. These are ordered by silence removed per hour of work.
- Ping an external monitor at the end of every critical workflow. A heartbeat with a period slightly longer than the schedule catches the run that never started, and a ping placed last also catches one that died halfway.
- Check readiness, not liveness.
/healthzanswers whether the process is reachable;/healthz/readinessanswers whether its database and Redis connections are usable. - Turn on metrics.
N8N_METRICS=trueexposes/metrics, and scheduler metrics add queue depth, scheduling lag, dispatch throughput, retries and dead letters. - Alert on absence. A check that workflow X has produced no execution in six hours catches what no ping does, and annotated executions are never pruned, so a weekly audit row survives retention.
- Size the timeout. Timeout Workflow stays off until you set it, and a hung node holds a worker slot indefinitely. Anything calling an HTTP or AI endpoint needs a ceiling; the per-token arithmetic behind those calls is in GPU Cloud Rental and Inference Break-Even.
- Test the alarm. Once a quarter, add a Stop And Error node to a copy of a critical workflow and confirm the error workflow fires and the message lands somewhere a person reads.
When to stop running your own workers
Owning the queue is a real trade, and the same one that decides between renting a GPU and paying per token (see Self-Host an LLM or Pay Per Token): control bought with attention. n8n Cloud draws the line for you. Starter runs 5 concurrent executions with a 5-minute ceiling each; Pro raises that to 20 or 50 concurrency and 40 minutes; queue mode itself is an Enterprise feature on Cloud, so a team that needs workers is either self-hosting or on a sales call.
Two signals say keep the operations: workflows longer than a few minutes, and a platform engineer who already owns PostgreSQL and Redis. Two say give them up: nobody wants to be paged for a queue, and the workflows are standard SaaS plumbing whose per-run pricing is easy to compare — the arithmetic is in Make vs. Zapier vs. n8n in Late 2026. A managed platform such as Make sells the scheduler, the retries and the run history as one line item.
Either way, the failure taxonomy does not change. A missed run is missed whether the queue is yours or theirs; what changes is who notices first.
If the arithmetic is the part you want ready-made: the 2026 AI Workflow & GPU Cost Playbook collects the run-cost and break-even models published on this site — 25 workflow pricing tiers, six GPU routes for a 730-hour month, and the twelve-line quarterly cost review — with an editable Excel calculator that takes your own volumes. It is $15 on Gumroad, and no vendor paid for its conclusions.
Related reading
- Make vs. Zapier vs. n8n in Late 2026: What 10k, 100k and 1M Workflow Runs Actually Cost
- How to Automate AI Meeting Notes Into Your CRM Without Failing Compliance or Overpaying per Seat
- GPU Cloud Rental and Inference Break-Even in Late 2026: Vast.ai vs. RunPod vs. AWS and GCP On-Demand
Source notes
Prices checked: 2026-12-02. Defaults and limits below were read from n8n's documentation and the published package on the same day, on version 2.50.6.
- Queue mode: main, worker and webhook roles,
EXECUTIONS_MODE=queue, Redis settings,QUEUE_HEALTH_CHECK_ACTIVE, worker/healthz,/healthz/readinessand/metrics,N8N_GRACEFUL_SHUTDOWN_TIMEOUTdefault 30 s, worker--concurrencydefault 10, "n8n recommends setting concurrency to 5 or higher", SQLite not supported, shared encryption key,N8N_REDIS_KEY_PREFIX— https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/enable-queue-mode/ - Same page, queue data loss: "If Redis loses queued jobs, n8n doesn't rebuild them from PostgreSQL. It marks the affected executions as crashed instead" — https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/enable-queue-mode/
- Durable scheduler: on by default from 2.45.0, runs recorded in the database, in-memory scheduler "skips any run whose time passed during the downtime",
N8N_SCHEDULER_MISFIRE_GRACE60 s (floor from executor interval, cap 30 days), three misfire policies, poll triggers always skip — https://docs.n8n.io/deploy/host-n8n/configure-n8n/durable-scheduler/ - Changelog, 2.45 released 2026-10-20: "Durable scheduler on by default for Schedule Trigger nodes" — https://docs.n8n.io/changelog
- Concurrency control:
N8N_CONCURRENCY_PRODUCTION_LIMIT, queued executions cannot be retried, queued work resumes on startup — https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/control-concurrency/ - Execution data: pruning defaults
EXECUTIONS_DATA_MAX_AGE336 hours andEXECUTIONS_DATA_PRUNE_MAX_COUNT10,000, annotated executions never pruned,EXECUTIONS_DATA_SAVE_ON_SUCCESS=none— https://docs.n8n.io/deploy/host-n8n/configure-n8n/scaling/manage-execution-data/ - Monitoring:
/healthzand/healthz/readinessalways on for the main server, health checks off by default on workers,/metricsdisabled untilN8N_METRICS=trueand unavailable on n8n Cloud — https://docs.n8n.io/deploy/host-n8n/keep-n8n-running/monitor-n8n/ - Error handling: error workflow set in Workflow Settings, Error Trigger payload (
execution.id,execution.url,execution.retryOf,lastNodeExecuted), different payload for trigger-node errors, Stop And Error — https://docs.n8n.io/build/flow-logic/handle-errors-gracefully/ - Node settings: On Error (Stop Workflow, Continue, Continue using error output), Retry On Fail, Always Output Data — https://docs.n8n.io/build/understand-workflows/workflow-components/work-with-nodes
- Retry limits: Retry On Fail "allows at most five tries, up to 5 seconds apart", and the HTTP Request node does not honor
Retry-After— https://docs.n8n.io/integrations/builtin/handle-rate-limits - Retry defaults (3 tries, 1,000 ms) and the 5-try / 5,000 ms clamp in the execution engine — https://github.com/n8n-io/n8n
- Scheduler metrics and
N8N_SCHEDULER_MAX_ATTEMPTS5,N8N_WORKFLOW_AUTODEACTIVATION_ENABLEDdefault false with 3 crashed executions:N8N_METRICS_INCLUDE_SCHEDULER_METRICSadds queue depth, scheduling lag, dispatch throughput, retries and dead letters — https://docs.n8n.io/deploy/host-n8n/configure-n8n/basic-configuration/use-environment-variables/ - Cloud limits and pricing: Starter €20/month with 5 concurrent executions and a 5-minute maximum execution duration; Pro €50/month with 20 or 50 concurrent and 40 minutes; queue mode on Cloud is an Enterprise feature — https://n8n.io/pricing/
- Current version 2.50.6 on npm, Node.js 24 or later — https://registry.npmjs.org/n8n/latest

Comments
Post a Comment