n8n - 💡(How to fix) Fix Can't stop running workflows [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
n8n-io/n8n#29665Fetched 2026-05-05 06:03:15
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
commented ×1labeled ×1mentioned ×1subscribed ×1

Error Message

Describe the problem/error/question

What is the error message (if any)?

  • error: all

Code Example

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.
RAW_BUFFERClick to expand / collapse
<!-- Please follow the template below. Skip the questions that are not relevant to you. -->

Describe the problem/error/question

There are two workflows which have been running for 6,5 hours which I can't get stopped.

What is the error message (if any)?

Problem stopping execution Timeout waiting for lock SqliteWriteConnectionMutex to become available

Please share your workflow/screenshots/recording

<img width="1399" height="1140" alt="Image" src="https://github.com/user-attachments/assets/2cb4d1ca-a1ab-4c0c-9e0a-f99ec0b5e678" />
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.

Share the output returned by the last node

<!-- If you need help with data transformations, please also share your expected output. -->

Debug info

core

  • n8nVersion: 2.17.5
  • platform: docker (cloud)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 20
  • license: enterprise (sandbox)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 720 hours
  • maxCount: 25000 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/147.0.0.0 safari/537.36 edg/147.0.0.0
  • isTouchDevice: false

Generated at: 2026-05-04T06:54:00.764Z

extent analysis

TL;DR

The workflows can be stopped by checking the SqliteWriteConnectionMutex lock and potentially adjusting the database configuration or concurrency settings.

Guidance

  • Investigate the SqliteWriteConnectionMutex lock to determine why it's not becoming available, potentially due to a long-running query or high concurrency.
  • Check the concurrency setting (currently 20) and consider reducing it to alleviate potential contention on the database.
  • Review the pruning settings to ensure they are not causing excessive database activity, potentially blocking the mutex.
  • Consider checking the database for any long-running queries or transactions that may be holding the lock.

Notes

The provided information suggests a potential issue with database contention or locking, but without further details on the workflows or database activity, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Adjust the concurrency setting and monitor the workflows to see if it resolves the issue, as it may help alleviate the contention on the SqliteWriteConnectionMutex lock.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix Can't stop running workflows [1 comments, 2 participants]