Timeout not working properly (not timingout)

Hey,

I run a huge number of workflows (around 20k/day), and it sometimes seems like the timeout feature doesn’t work.

For instance, I have a workflow with a timeout set to 2 min which most of the time timeout as required (after 2 min 10 sec as per the screenshot).

But sometimes, it happen that all of the 10 running execution keep running for hours. I don’t know why, and it stops any other workflow from running as there is already 10 execution running…

Any way to make sure it doesn’t happen (meaning the timeout really times out)?

Information on your n8n setup

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

Same problem here.

Maybe is a bit late hee, but there are 2 env variables that handles the Timeout. :

Example:

  • EXECUTIONS_TIMEOUT=120 (2 minutes default and this applies for instancelevel)

  • EXECUTIONS_TIMEOUT_MAX=600 (10 minutes max per workflow, and this aplies to workflow level)

And wokflow level vatiable can set as workflow-specific timeout (in the workflow settings) to any value between 0 and 600 seconds. If not set, the workflow will use the default of 120 seconds.

Cheers!

1 Like