[Bug] Model context window limit errors with insufficient token usage

Resolved 💬 3 comments Opened Feb 25, 2026 by danielraffel Closed Mar 1, 2026

Bug Description
I'm getting a lot of "model has reached its context window limit" for no good reason.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.58
  • Feedback ID: d2e12ac5-ad91-464a-bdc8-00890b3f1d83

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/danielraffel/.local/share/claude/versions/2.1.58 (expected in multi-process scenarios)\n    at pPR (/$bunfs/root/claude:3631:2100)\n    at qvA (/$bunfs/root/claude:3631:1211)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:40:29.165Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:92:3470)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:40:44.231Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:92:3470)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:42:27.338Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:92:3470)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:42:47.344Z"},{"error":"MaxFileReadTokenExceededError: File content (39153 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at _t_ (/$bunfs/root/claude:1783:7740)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:43:15.495Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/danielraffel/Code/symphony-maestro.\n    at call (/$bunfs/root/claude:1792:6346)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:43:20.855Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:92:3470)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:43:25.566Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:92:3470)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:43:40.661Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/danielraffel/Code/symphony-maestro/og_source/symphonymk1/ext/Symphony64/Driver/'\n    at Io_ (/$bunfs/root/claude:1646:248)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:43:54.527Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:92:3470)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/claude:95:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-25T21:43:57.871Z"},{"error":"Error\n    at <anonymous> (/$bunfs/root/claude:79:11055)\n    at <anonymous> (/$bunfs/root/claude:93:10230)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/claude:92:3470)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (nati…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗