claude-code - 💡(How to fix) Fix [Bug] Performance Degradation: CLI Operations Running Slowly

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…

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/michael/.local/share/claude/versions/2.1.112 (expected in multi-process scenarios)\n at Od_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n at Ke6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T16:05:13.383Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n at Qf8 (/$bunfs/root/src/entrypoints/cli.js:8242:9948)\n at A (/$bunfs/root/src/entrypoints/cli.js:8242:9012)\n at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9838)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n at Qf8 (/$bunfs/root/src/entrypoints/cli.js:8242:9948)\n at closeTabInIDE (/$bunfs/root/src/entrypoints/cli.js:8242:8595)\n at F (/$bunfs/root/src/entrypoints/cli.js:8242:19612)\n at onChange (/$bunfs/root/src/entrypoints/cli.js:8242:20655)","timestamp":"2026-04-17T16:06:21.967Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T17:47:09.087Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T17:47:09.087Z"},{"error":"Error: Not connected\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n at new Promise (native:1:11)\n …

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/michael/.local/share/claude/versions/2.1.112 (expected in multi-process scenarios)\n    at Od_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n    at Ke6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T16:05:13.383Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Qf8 (/$bunfs/root/src/entrypoints/cli.js:8242:9948)\n    at A (/$bunfs/root/src/entrypoints/cli.js:8242:9012)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9838)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Qf8 (/$bunfs/root/src/entrypoints/cli.js:8242:9948)\n    at closeTabInIDE (/$bunfs/root/src/entrypoints/cli.js:8242:8595)\n    at F (/$bunfs/root/src/entrypoints/cli.js:8242:19612)\n    at onChange (/$bunfs/root/src/entrypoints/cli.js:8242:20655)","timestamp":"2026-04-17T16:06:21.967Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T17:47:09.087Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T17:47:09.087Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n   …
RAW_BUFFERClick to expand / collapse

Bug Description All very slow this morning.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.112
  • Feedback ID: 134baa4d-858f-45a4-9a8c-78a280f89119

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/michael/.local/share/claude/versions/2.1.112 (expected in multi-process scenarios)\n    at Od_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n    at Ke6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T16:05:13.383Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Qf8 (/$bunfs/root/src/entrypoints/cli.js:8242:9948)\n    at A (/$bunfs/root/src/entrypoints/cli.js:8242:9012)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9838)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T16:06:14.385Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Qf8 (/$bunfs/root/src/entrypoints/cli.js:8242:9948)\n    at closeTabInIDE (/$bunfs/root/src/entrypoints/cli.js:8242:8595)\n    at F (/$bunfs/root/src/entrypoints/cli.js:8242:19612)\n    at onChange (/$bunfs/root/src/entrypoints/cli.js:8242:20655)","timestamp":"2026-04-17T16:06:21.967Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T17:47:09.087Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/src/entrypoints/cli.js:93:54381)\n    at callTool (/$bunfs/root/src/entrypoints/cli.js:829:9909)\n    at qM7 (/$bunfs/root/src/entrypoints/cli.js:4753:3718)\n    at CB (/$bunfs/root/src/entrypoints/cli.js:4752:37989)\n    at Sx5 (/$bunfs/root/src/entrypoints/cli.js:8242:9518)\n    at j (/$bunfs/root/src/entrypoints/cli.js:8242:8148)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:8242:8479)\n    at qX (/$bunfs/root/src/entrypoints/cli.js:477:63169)","timestamp":"2026-04-17T17:47:09.087Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:93:54436)\n    at new Promise (native:1:11)\n   …

Note: Content was truncated.

extent analysis

TL;DR

The most likely fix is to investigate and resolve the "Not connected" errors and lock acquisition failures in the application.

Guidance

  • Investigate the cause of the "Not connected" errors, which appear to be related to the callTool function and request method in the cli.js file.
  • Check the application's connection settings and ensure that it is properly configured to connect to the required services or APIs.
  • Look into the lock acquisition failures, which may be related to multi-process scenarios, and consider implementing a retry mechanism or adjusting the locking mechanism to handle such scenarios.
  • Review the application's error handling and logging to ensure that it is properly handling and logging errors, and consider adding additional logging or debugging statements to help diagnose the issue.

Example

No specific code example can be provided without more context, but reviewing the cli.js file and the callTool and request functions may be a good starting point.

Notes

The provided error messages are truncated, which may limit the ability to provide a more specific solution. Additionally, the issue may be related to a specific version of the application or a particular configuration, which is not specified in the provided information.

Recommendation

Apply a workaround by investigating and resolving the "Not connected" errors and lock acquisition failures, as this is likely to be the root cause of the issue. This may involve modifying the application's connection settings, adjusting the locking mechanism, or implementing a retry mechanism to handle temporary connection issues.

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