[BUG] Claude Code hangs - cannot interact. CPU Utilization at 100+%. Must force quit process to terminate.

Resolved 💬 2 comments Opened Jul 9, 2025 by aantix Closed Jul 9, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [X] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: <!-- output of claude --version -->
  • Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
  • Terminal: <!-- e.g. iTerm2, Terminal App -->

Bug Description

<!-- A clear and concise description of the bug -->
We're trying to roll out our pilot, and we have users that experience intermittent locked sessions -

They are unable to type, interact at all with the Claude Code session. The process has to be terminated with a kill -9. CPU Utilization is at 100% for the hung process.

Steps to Reproduce

  1. Launch Claude Code with claude
  2. hangs - no interactivity whatsoever.

Expected Behavior

We should be able to interact and utilize Claude Code.

Actual Behavior

Have to force kill the process.

Additional Context

Here's our env setup

export CLAUDE_CODE_USE_BEDROCK=1
export AWS_REGION=us-west-2
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=4096
export MAX_THINKING_TOKENS=1024
export ANTHROPIC_MODEL='us.anthropic.claude-sonnet-4-20250514-v1:0'
export ANTHROPIC_SMALL_FAST_MODEL='us.anthropic.claude-3-5-haiku-20241022-v1:0'

View original on GitHub ↗

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