I’m experiencing a problem where some of my n8n workflows are running indefinitely, with one execution lasting 885 minutes before I manually stopped it.
However, after stopping the execution, I lost access to the execution logs, making it difficult to debug the root cause.
Setup Details:
-
n8n Version: 1.73.0
-
Database: PostgreSQL
-
Deployment: Google Cloud (Docker-based)
-
Operating System: Linux
What I Have Observed:
-
Some executions are running for several hours (885+ minutes) without stopping.
-
No clear errors appear in the logs before stopping.
-
After stopping, the execution is no longer accessible in the Executions tab.
-
Other workflows, such as Email Receiver and Email Processor, show similar behavior.
Questions:
-
Why are these executions running indefinitely, and how can I prevent this?
-
How can I properly debug workflows that run too long?
-
Is there a way to retain execution logs even after stopping an execution manually?
-
Could this be an issue with the workflow design, database setup, or n8n settings?