n8n outage

Help me with n8n service downtime monitoring issues. Today in my company we have n8n on our infrastructure, but because of heavy workflows running in parallel, it ends up crashing the tool. Today we have Datadog to monitor logs and errors. Do you think Datadog has a trigger that could help me with this notification or would I need to use another tool?

Hey @Caio_Lima_Santos welcome to the n8n community.

Yes, Datadog’s HTTP Check can do this. Configure it to request https://YOUR-N8N-HOST/healthz/readiness with http_response_status_code: "200". Restart the Agent, then create a metric monitor for network.http.can_connect, filtered to that URL, and alert when it drops below 1. That checks database readiness as well as HTTP availability.

Run the check from another host that can reach n8n, so an n8n server crash doesn’t take the monitor down with it.

Datadog HTTP Check

A readiness probe answers “is it up” - it does not tell you why the instance keeps falling over, and that is the part you can actually fix. Heavy parallel flows bringing n8n down usually comes down to a few things:

  • Everything in one process. With EXECUTIONS_MODE=queue plus separate worker containers (Redis as the queue backend), execution load moves off the main instance, so the UI and the scheduler stay responsive while workflows run.
  • Too much concurrency for the box. Check N8N_CONCURRENCY_PRODUCTION_LIMIT against the real CPU and RAM of the host or container; on a small VPS it is often better to lower it and let the queue absorb the peaks than to raise it.
  • Unbounded execution data. Keep EXECUTIONS_DATA_PRUNE=true and set EXECUTIONS_DATA_MAX_AGE, otherwise the database grows until every execution write crawls and the instance appears to hang.
  • Memory. A container that hits its memory limit gets OOM-killed, which looks exactly like a random outage. Watch the container’s memory over the day and note which workflow is running when it dies.

For the alerting you already have: keep the HTTP check as the “is it down” signal, and set it to critical only after 2-3 consecutive failures so one slow response does not page anyone. Then set N8N_METRICS=true and scrape the instance’s metrics endpoint with Datadog’s OpenMetrics check - queue depth and per-workflow execution durations show which workflow is dragging the instance down, which a reachability check never will.

The distinction between availability monitoring and failure diagnosis is important.

A health check can tell us when n8n is unavailable, while execution metrics, memory usage, and queue depth can help identify why it is struggling.

In my n8n + FastAPI + PostgreSQL demo, I’ve tested duplicate-event handling, concurrent requests, database failure, and recovery. I’m interested in how teams combine external uptime monitoring with workflow-level metrics to detect failures early and recover safely.

Would you recommend starting with Datadog HTTP checks and infrastructure metrics before moving to queue-mode workers?

Hey Caio! Saw your post about n8n crashing when multiple workflows run in parallel.

I work as an SRE specializing in Datadog and cloud infrastructure, so this caught my attention.

Since you’re already using Datadog, you could probably get better visibility into what’s causing the crashes, not just alerts when n8n goes down.

Are you running n8n in queue mode with separate workers, or is everything running in the same process?

Happy to share a few ideas if you’re still troubleshooting it.

Datadog can do this. Add a Synthetic HTTP check on n8n’s /healthz endpoint and alert when it fails. For the crashes themselves, switch to queue mode so workers take the heavy executions, and cap memory and concurrency so parallel runs can’t take the main instance down.

I’d first check the n8n server logs to see whether there’s an error or resource spike around the time it goes down. Also, check CPU and memory usage, and confirm whether the database and any external services are working properly. That should help narrow down the cause.

The problem is that we investigated some logs, but there is no definitive pattern of “n8n crashed”

Yeah, Datadog can do this, no extra tool needed. Set up a Synthetic HTTP test against n8n’s /healthz endpoint and alert on failures, plus a monitor on container memory and OOM kill events, since heavy parallel runs usually die from memory. Longer term, run n8n in queue mode with separate workers and Redis so heavy workflows can’t take down the main instance.

One alerting case worth testing alongside the HTTP check above: the check stops reporting altogether. A monitor for an unhealthy value does not automatically cover missing samples.

  1. On the existing HTTP metric monitor, scope the exact n8n URL/instance and confirm it has received regular samples. Missing-data notification cannot validate a check that has never reported.
  2. Enable Show NO DATA and notify, with a window suited to the check interval and ingestion delay. Make sure the notification also handles the no-data state; an alert-only message condition can omit it.
  3. Test this on a separate test check: let it report, pause that check without stopping production n8n, and verify the notification reaches your team. Restore it and confirm reporting resumes.

Datadog’s missing-data troubleshooting covers those settings.

This detects a monitoring blind spot; it does not identify what crashed n8n. I haven’t inspected your Datadog monitor, deployment or crash evidence, so I can’t say whether you already cover this or whether memory caused the downtime.

Minimolo