claude-code - 💡(How to fix) Fix [Bug] Claude Code performance degradation or unexpected behavior [1 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
anthropics/claude-code#47786Fetched 2026-04-15 06:42:23
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/Aditya/.local/share/claude/versions/2.1.104 (expected in multi-process scenarios)\n at Tc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n at Se6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:09:48.361Z"},{"error":"MaxFileReadTokenExceededError: File content (10018 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:11:20.280Z"},{"error":"Error: 1P event logging: 93 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:12:00.471Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13352)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:12:07.994Z"},{"error":"Error: Stream idle timeout - partial response received\n at _p7 (/$bunfs/root/src/entrypoints/cli.js:7923:10845)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:13:22.811Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:07.228Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:16.291Z"},{"error":"MaxFileReadTokenExceededError: File content (14532 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:16.760Z"},{"error":"Error: 1P event logging: 96 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:01.077Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.046Z"},{"error":"MaxFileReadTokenExceededError: File content (14532 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.177Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.368Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:34.514Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters t…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/Aditya/.local/share/claude/versions/2.1.104 (expected in multi-process scenarios)\n    at Tc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n    at Se6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:09:48.361Z"},{"error":"MaxFileReadTokenExceededError: File content (10018 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:11:20.280Z"},{"error":"Error: 1P event logging: 93 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:12:00.471Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13352)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:12:07.994Z"},{"error":"Error: Stream idle timeout - partial response received\n    at _p7 (/$bunfs/root/src/entrypoints/cli.js:7923:10845)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:13:22.811Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:07.228Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:16.291Z"},{"error":"MaxFileReadTokenExceededError: File content (14532 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:16.760Z"},{"error":"Error: 1P event logging: 96 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:01.077Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.046Z"},{"error":"MaxFileReadTokenExceededError: File content (14532 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.177Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.368Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:34.514Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters t…
RAW_BUFFERClick to expand / collapse

Bug Description Claude has become damn stupid, pls fix

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.104
  • Feedback ID: 48320da1-93ed-4768-90a8-6525ef89375c

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/Aditya/.local/share/claude/versions/2.1.104 (expected in multi-process scenarios)\n    at Tc_ (/$bunfs/root/src/entrypoints/cli.js:2836:2153)\n    at Se6 (/$bunfs/root/src/entrypoints/cli.js:2836:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:09:48.361Z"},{"error":"MaxFileReadTokenExceededError: File content (10018 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:11:20.280Z"},{"error":"Error: 1P event logging: 93 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:12:00.471Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13352)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:12:07.994Z"},{"error":"Error: Stream idle timeout - partial response received\n    at _p7 (/$bunfs/root/src/entrypoints/cli.js:7923:10845)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:13:22.811Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:07.228Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:16.291Z"},{"error":"MaxFileReadTokenExceededError: File content (14532 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:47:16.760Z"},{"error":"Error: 1P event logging: 96 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:01.077Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.046Z"},{"error":"MaxFileReadTokenExceededError: File content (14532 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.177Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:24.368Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at kY7 (/$bunfs/root/src/entrypoints/cli.js:4449:12671)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T08:48:34.514Z"},{"error":"MaxFileReadTokenExceededError: File content (16648 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters t…

Note: Content was truncated.

extent analysis

TL;DR

The issue is likely caused by exceeding the maximum allowed tokens when reading files, and a potential fix is to use offset and limit parameters to read specific portions of the file.

Guidance

  • The repeated MaxFileReadTokenExceededError suggests that the file content exceeds the maximum allowed tokens (10000), and using offset and limit parameters could resolve this issue.
  • The Lock acquisition failed error may be related to multi-process scenarios, but without more context, it's difficult to provide a specific solution.
  • The AxiosError: timeout of 5000ms exceeded and Error: Stream idle timeout - partial response received errors indicate potential network or connection issues.
  • To mitigate these errors, consider implementing retry mechanisms or increasing timeout values.

Example

No specific code example can be provided without more context, but using offset and limit parameters when reading files could look like this:

// Pseudo-code example, actual implementation may vary
readFile(offset: 0, limit: 1000);

Notes

The provided issue content is truncated, which limits the ability to provide a comprehensive solution. The errors suggest a combination of file reading and network issues, but more information is needed to provide a definitive fix.

Recommendation

Apply workaround: Use offset and limit parameters when reading files to avoid exceeding the maximum allowed tokens. This may require modifying the existing code to handle file reading in a more efficient manner.

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

claude-code - 💡(How to fix) Fix [Bug] Claude Code performance degradation or unexpected behavior [1 participants]