[Bug] claude process CPU spikes 50-100% when idle (regression in 2.1.108)

Resolved 💬 4 comments Opened Apr 15, 2026 by jhamon Closed Apr 16, 2026

Description

Starting with version 2.1.108, the claude process repeatedly spikes to
50–100% CPU even when idle between API calls. This does not occur in 2.1.104.

Environment

  • Claude Code: 2.1.108 (regression), 2.1.104 (working)
  • OS: Ubuntu 24.04 (GCP e2-standard-2, 2 vCPU / 8GB RAM)
  • Shell: zsh, running inside tmux
  • Invocation: claude --dangerously-skip-permissions

Symptoms

  • claude process repeatedly spikes to 50–100% CPU as measured in htop, even when idle or waiting for API responses
  • Multiple Claude Code instances in tmux panes compound the problem, causing system-wide resource exhaustion in an environment that previously worked fine with multiple claude instances running in parallel

Steps to Reproduce

  1. Install Claude Code 2.1.108
  2. Run claude --dangerously-skip-permissions in a tmux session
  3. Observe CPU usage in htop — process spikes to 50–100% CPU even while

waiting for user input or API responses

Workaround

Downgrading to 2.1.104 resolves the issue:

~/.local/bin/claude install 2.1.104

View original on GitHub ↗

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