N8n Cloud: three parallel sub-workflows become “crashed” almost simultaneously, with no recorded node errors

n8n Cloud: three parallel sub-workflows become “crashed” almost simultaneously, with no recorded node errors

Hi everyone,

I’m investigating recurring crashes in n8n Cloud and would appreciate help distinguishing memory pressure, task-runner termination, and other infrastructure failures.

Environment and architecture

  • n8n Cloud, instance-reported version 2.45.5.

  • A scheduled parent starts three sub-workflows with Wait for Sub-Workflow Completion disabled, then finishes successfully.

  • The children process data independently, use native Data Tables for shared state, and record completion votes. Once all three finish, one collector invokes a Bridge workflow.

  • The children contain Code nodes, routing, and Data Table read/insert/update operations.

What happens

In the latest representative test, the parent completed successfully in 12.99 seconds. All three children subsequently became crashed:

Child Duration Stopped at, UTC, 7 November 2026
Gmail 535.114 seconds 02:53:14.885
Official APIs 536.069 seconds 02:53:16.487
Native sources 533.218 seconds 02:53:14.902

They stopped within approximately 1.6 seconds of each other.

For the two executions whose complete data could be retrieved, there are no recorded node errors. Both have a routing node as the last recorded node. They performed 567 and 556 node executions respectively before stopping.

Retrieving the third execution returned HTTP 502. This was a subsequent execution-data GET, not a failed business request inside the workflow.

Earlier runs also crashed together, but after different durations, including roughly 6 and 15 minutes.

Successful control test

A much smaller test using the same parent/children/voting/Bridge pattern completed successfully. Its collectors took only 10–17 seconds.

The failing representative test used 15 previously saved responses totalling approximately 9.8 MB, with actual ingestion/state-processing logic. Neither test made new Gmail, Firecrawl, or external provider calls.

The processing loop carries an Input object and an accumulating command-response Transcript. We measured substantial repeated serialization in saved execution data, but heap/RSS were not measured, so OOM remains a hypothesis.

The child bodies were submitted with executionTimeout: -1; server readback omits that field, so I cannot independently verify effective worker limits.

Questions

  1. Can worker/task-runner termination produce crashed executions while all saved node results remain successful?

  2. Is there an accessible Cloud event/log showing OOM, restart, termination signal, or task-runner failure?

  3. Which evidence would best distinguish memory pressure from a runtime timeout or platform restart?

I have contacted Support, but do not yet have an infrastructure diagnosis. I can provide sanitized workflow details and execution metadata.

Hey @Zeev_Turchinsky, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@Anshul_Namdev, @kjooleng, @Adam13y - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

Hi @Zeev_Turchinsky, in 2.45.5 those sub-workflows still execute in the calling n8n process. Disabling Wait for Sub-Workflow Completion lets the parent finish early, but does not give each child process isolation. A later process failure can therefore interrupt all three children while their previously saved node results remain successful.

An isolated task-runner disconnect or timeout normally reaches the Code node as a task error while n8n remains alive. Also, stoppedAt can be assigned or reconstructed during crash recovery, so those close timestamps aren’t necessarily the exact termination times.

For your existing Support ticket, provide all three execution IDs and the 7 November 02:53:14–17 UTC window. Ask them to correlate the hosting process/container IDs with:

  • Peak memory versus its limit, OOM events, termination reason and restarts.
  • Task-runner disconnects or task timeouts.
  • Effective child-workflow and Code-task timeouts. An omitted executionTimeout field doesn’t verify those limits.

The repeated Input and growing Transcript are the first payload change I would test. In cloned workflows with separate test-state tables and Bridge dispatch disabled, replay the same 15 saved responses with the same three-child parallelism. Carry only the fields needed for the current step and IDs for larger stored data, keeping full transcript history outside the circulating item.

Compare both completion and processing results with the original replay. If that succeeds, you have a tested mitigation for the payload shape. The memory/termination records are still needed before calling the original failure OOM.

When multiple parallel sub-workflows crash simultaneously without node errors after several hundred executions, it typically points to worker-level memory exhaustion (V8 heap limit) or infrastructure task-runner termination under heavy payload pressure. Offloading your state data processing from native Data Tables into chunked iterations or migrating to a dedicated self-hosted n8n instance with custom memory limits will immediately resolve these silent crashes. Let me know if you want to inspect the Code node payload sizes and I can outline a clean memory-efficient batching pattern right here.

Simultaneous crashes with no node error usually point to memory on the instance, since three children plus the Code nodes all hold data at once. Try staggering the starts or running them one after another, and cut the data each child loads. If it stops, it was memory, and then it’s worth asking support to check the instance’s memory graph for the crash timestamps.

@Zeev_Turchinsky for your third question, three checks that need no Cloud logs.

  1. A heartbeat workflow: Schedule Trigger every minute, insert $now into a Data Table, and leave it on for a few days. A gap shows the instance really went down, and when. As Anshul said, stoppedAt can be filled in afterwards, so the gap is the better timestamp to give Support.
  2. Compare the gaps with your job. Gaps only while the three children run means your workload brings the instance down, most likely memory. Gaps at other times too means restarts that have nothing to do with your job.
  3. Look at unrelated executions that were running at 02:53. If they are also marked crashed, it was the whole process.

If it is memory: n8n holds the output of every node run until the execution ends, so the loop keeps a copy of the growing Transcript for each pass. Moving the loop body into a sub-workflow called once per pass, with wait for completion on, lets the parent keep only the small result.

The three children stopping within about 1.6 seconds of each other after ~535s, with empty node errors, is a strong hint the stop came from outside those nodes.

Before changing the workflow, pull the three execution IDs and compare: did any Data Table write succeed in only one child, did the parent already finish, and do the Cloud metrics for that minute show a worker or memory event.

If the collector depends on all three completion votes, add a timeout path that records which attempt_id failed to vote, instead of waiting for a crashed child. That keeps the next diagnosis about the vote contract, not only about Cloud crashes.

When you rerun one crashed child workflow, how does the collector tell which completion votes belong to that attempt and which came from the previous run?

All three children dying within ~1.6 seconds of each other—with no node-level error and a 502 when trying to fetch the third execution—is a classic symptom of the underlying container/worker process getting killed at the OS level rather than a workflow logic failure.

  1. Can worker/task-runner termination produce crashed executions with successful node logs? Yes. When n8n runs in queue/worker mode (or single-process Cloud container) and the Node.js process hits an OOM kill (SIGKILL) or container restart, the execution state is never cleanly finalized. When the instance comes back up, n8n’s startup recovery marks any running executions left orphaned in the DB as crashed, leaving whatever node outputs were already flushed to the database looking green. That also explains why all three parallel children died simultaneously—they were sharing the same worker memory pool.

  2. Is there an accessible Cloud event/log for OOM or container restarts? Not directly inside the n8n Cloud UI—you only get workflow execution logs, not container/Kubernetes pod events or dmesg output. Support has to check the pod termination reason (OOMKilled vs. platform maintenance/eviction) on their side.

  3. How to distinguish memory pressure from a timeout or platform restart:

    • Runtime timeout usually logs a clean Execution timed out error on a specific execution rather than crashing three independent workflows at the exact same timestamp (02:53:14–02:53:16), especially since earlier runs failed at completely different durations (6, 9, and 15 minutes).

    • OOM vs. platform restart: Carrying ~9.8 MB of payload plus an accumulating Transcript inside a 550+ node loop means every iteration clones/serializes that growing object in V8 heap memory and execution history. A quick way to prove OOM yourself without container metrics is to strip the Transcript / heavy Input fields out of the loop (save them to the Data Table per step instead of passing them forward in memory) or split the 15 items into smaller batches—if the crashes vanish under the exact same duration, it’s definitely heap exhaustion.