-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsperf:memoryplatform:windowsIssue specifically occurs on WindowsIssue specifically occurs on Windows
Description
Preflight Checklist
- I have searched existing issues and this hasn't been reported yet
- This is a single bug report (please file separate reports for different bugs)
- I am using the latest version of Claude Code
What's Wrong?
The Problem:
- Winston logger was configured with file rotation ( I see numbered files like combined476.log)
- Some code I wrote likely had excessive logging in a tight loop (possibly in SMS queue processor or auth debugging)
- The rotation triggered constantly, creating hundreds of files
- This consumed 100% CPU writing logs faster than disk could handle
CRITICAL BUG REPORT
Issue: Claude Code generated infinite logging loop causing system freeze
Impact: CPU 100%, disk space exhaustion, required force-kill Node.js twice
When: November 3, 2025, around 10:45 AM
Evidence:
- 5 rotated log files (combined476-480.log) @ 5.2MB each in 1 minute
- auth-debug.log grew to 14.7MB
- CPU pegged at 100%
- Had to force-stop Node.js processes twice
What Should Happen?
Issue: Claude Code appears to have generated logging code with:
- No rate limiting on log writes
- Debug logging inside tight loops
- Winston file rotation misconfigured (maxsize/maxFiles not properly set)
- No disk space or CPU monitoring safeguards
Error Messages/Logs
Steps to Reproduce
Issue: Claude Code appears to have generated logging code with:
- No rate limiting on log writes
- Debug logging inside tight loops
- Winston file rotation misconfigured (maxsize/maxFiles not properly set)
- No disk space or CPU monitoring safeguards
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.31
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsperf:memoryplatform:windowsIssue specifically occurs on WindowsIssue specifically occurs on Windows