[Bug] High CPU usage and input lag during idle state

Resolved 💬 3 comments Opened Feb 3, 2026 by ksacry-ft Closed Feb 3, 2026

Bug Description
My claude code instance is sitting idle, yet using a lot of CPU. Additionally, typing in the prompt is very laggy. This happens more frequently recently it seems. It took me a couple minutes just to type this short feedback statement.

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.29
  • Feedback ID: ae0b0d97-4d88-4f7d-a694-eeb1b1b954ee

Errors

[{"error":"Error: ENOTDIR: not a directory, open '/home/kevin-sacry/code/erp/.claude/settings.local.json.tmp.1516738.1770134925586'\n    at writeFileSync (unknown)\n    at J_ (/$bunfs/root/claude:5144:631)\n    at GI (/$bunfs/root/claude:119:28503)\n    at J0$ (/$bunfs/root/claude:340:2389)\n    at $R (/$bunfs/root/claude:340:4951)\n    at zk (/$bunfs/root/claude:340:6297)\n    at persistPermissions (/$bunfs/root/claude:6098:11273)\n    at persistPermissions (/$bunfs/root/claude:6098:11377)\n    at handleUserAllow (/$bunfs/root/claude:6098:12957)\n    at handleUserAllow (/$bunfs/root/claude:6098:13205)","timestamp":"2026-02-03T16:08:45.586Z"},{"error":"Error: Failed to read raw settings from /home/kevin-sacry/code/erp/.claude/settings.local.json: Error: ENOTDIR: not a directory, open '/home/kevin-sacry/code/erp/.claude/settings.local.json'\n    at GI (/$bunfs/root/claude:120:80)\n    at J0$ (/$bunfs/root/claude:340:2389)\n    at $R (/$bunfs/root/claude:340:4951)\n    at zk (/$bunfs/root/claude:340:6297)\n    at persistPermissions (/$bunfs/root/claude:6098:11273)\n    at persistPermissions (/$bunfs/root/claude:6098:11377)\n    at handleUserAllow (/$bunfs/root/claude:6098:12957)\n    at handleUserAllow (/$bunfs/root/claude:6098:13205)\n    at onAllow (/$bunfs/root/claude:6098:15944)\n    at onAllow (/$bunfs/root/claude:6098:15955)","timestamp":"2026-02-03T16:08:45.587Z"},{"error":"Error: Failed to read raw settings from /home/kevin-sacry/code/erp/.claude/settings.local.json: Error: ENOTDIR: not a directory, open '/home/kevin-sacry/code/erp/.claude/settings.local.json'\n    at GI (/$bunfs/root/claude:120:80)\n    at J0$ (/$bunfs/root/claude:340:2389)\n    at $R (/$bunfs/root/claude:340:4951)\n    at zk (/$bunfs/root/claude:340:6297)\n    at persistPermissions (/$bunfs/root/claude:6098:11273)\n    at persistPermissions (/$bunfs/root/claude:6098:11377)\n    at handleUserAllow (/$bunfs/root/claude:6098:12957)\n    at handleUserAllow (/$bunfs/root/claude:6098:13205)\n    at onAllow (/$bunfs/root/claude:6098:15944)\n    at onAllow (/$bunfs/root/claude:6098:15955)","timestamp":"2026-02-03T16:08:45.587Z"},{"error":"MaxFileReadTokenExceededError: File content (32352 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 nzD (/$bunfs/root/claude:3520:5255)\n    at async call (/$bunfs/root/claude:3529:1511)\n    at async J01 (/$bunfs/root/claude:3056:12903)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T16:09:27.095Z"},{"error":"AbortError: The operation was aborted.\n    at unknown\n    at abortChildProcess (node:child_process:937:42)\n    at onAbortListener2 (node:child_process:35:24)\n    at abort (unknown)\n    at <anonymous> (/$bunfs/root/claude:5144:2153)","timestamp":"2026-02-03T16:13:20.292Z"},{"error":"MaxFileReadTokenExceededError: File content (29652 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 nzD (/$bunfs/root/claude:3520:5255)\n    at async call (/$bunfs/root/claude:3529:1511)\n    at async J01 (/$bunfs/root/claude:3056:12903)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T17:26:11.473Z"},{"error":"MaxFileReadTokenExceededError: File content (29652 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 nzD (/$bunfs/root/claude:3520:5255)\n    at async call (/$bunfs/root/claude:3529:1511)\n    at async <anonymous> (/$bunfs/root/claude:3541:1608)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-03T17:26:56.551Z"}]

View original on GitHub ↗

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