My WF is going to crash after a few hours

Describe the problem/error/question

My WF will run well between 260 and 560 min then will crash…

I re-run it, and then ok for a few hours, and BAM…

Had the same problem with previous versions…

What is the error message (if any)?

Editor is now accessible via:
https://…

<— Last few GCs —>

[7:0x7fb62e2a3650] 25345655 ms: Mark-Compact 3841.8 (4129.2) → 3825.8 (4128.7) MB, 2505.32 / 0.02 ms (average mu = 0.268, current mu = 0.212) allocation failure; scavenge might not succeed
[7:0x7fb62e2a3650] 25348158 ms: Mark-Compact 3838.8 (4128.7) → 3825.8 (4128.7) MB, 2329.84 / 0.10 ms (average mu = 0.184, current mu = 0.069) task; scavenge might not succeed

<— JS stacktrace —>

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

Invalid timestamp value for N8N_RELEASE_DATE: $(date -u +“%Y-%m-%dT%H:%M:%SZ”)
User settings loaded from: /home/node/.n8n/config
Last session crashed
Initializing n8n process
n8n ready on 0.0.0.0, port 5678

There is a deprecation related to your environment variables. Please take the recommended actions to update your configuration:

  • N8N_RUNNERS_ENABLED → Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more: Task runners | n8n Docs

Found unfinished executions: 2092
This could be due to a crash of an active workflow or a restart of n8n.
Currently active workflows:

  • aaaFinal (ID: j49fIUlYnzmlrsiQ)
  • aaap (ID: 0t3DAUx4mc7C6nt8)
  • aaa (ID: Ojanu92DO8WyVoRk)
  • Backup WF simple (ID: 5Ls4qVqdZJB4wTtl)
    [Recovery] Logs available, amended execution
    Version: 1.82.3

Please share your workflow

Can’t share it there…

But basically, it’s http requests call…

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.82.3
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Ubuntu

Could you ctl a ctl c, then click the ‘</>’ button on the forums when replying and paste into the field provided?

It sounds like the workflow is very unoptimized, but can’t confirm without seeing it in more detail.

1 Like