Skip to content

[BUG] Parallel Claude Code sessions started right after 5-hour limit resets — first 3–4 work, the rest fail with "Server is temporarily limiting requests (not your usage limit) · Rate limited" #53922

Description

@NowatariSoma

Preflight Checklist

  • I have searched existing issues and this specific scenario hasn't been reported yet
  • This is a single bug report
  • I am using the latest version of Claude Code (2.1.119)

What's Wrong?

When my 5-hour usage window resets and I resume work by bulk-spawning ~10
Claude Code sessions back-to-back via a script
(each running in its own
terminal / git worktree for parallel spec implementation), the first 3–4
sessions start normally, but the next 5–6 sessions fail almost immediately
with:

API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited

The error message itself states it is not the user's usage limit — yet it
consistently triggers only on the later sessions of a rapid-fire parallel
launch right after a quota reset. Waiting and retrying the failed sessions
individually eventually succeeds, which strongly suggests a server-side
concurrency/burst limiter that activates aggressively when many sessions
bootstrap simultaneously.

This is reproducible nearly every single time I follow my normal workflow
(a single command that fans out parallel spec implementation across multiple
worktrees), so this isn't a one-off transient.

What Should Happen?

Either:

  1. All sessions should be admitted (the message claims it's not a usage-limit
    issue), or
  2. The CLI should transparently back off and retry the bootstrap requests
    with jitter instead of surfacing a hard error to the user, or
  3. The error message should clearly state that this is a concurrency/burst
    limit and document how many parallel session bootstraps are supported per
    unit of time.

Steps to Reproduce

  1. Hit the 5-hour usage limit and wait for it to reset.
  2. Run a script / wrapper command that spawns ~10 `claude` processes in rapid
    succession across separate working directories (git worktrees in my case).
  3. Observe: the first 3–4 sessions initialize and work normally.
  4. The next 5–6 sessions return
    `API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited`
    shortly after startup or on their first prompt.
  5. Retrying the failed sessions one-by-one with a delay eventually succeeds.

Error Messages/Logs

```
API Error: Server is temporarily limiting requests (not your usage limit) · Rate limited
```

Claude Model

Opus 4.7 (claude-opus-4-7, 1M context) — same behavior also observed when
mixed with Sonnet sessions.

Is this a regression?

Not sure — this pattern has been happening for several weeks across multiple
Claude Code versions on the same plan.

Claude Code Version

2.1.119

Platform

Claude Max plan (OAuth, not direct API key)

Operating System

Linux (Ubuntu 22.04, kernel 6.8.0-110-generic)

Terminal/Shell

bash, multiple GNOME Terminal windows launched by a single fan-out command

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apibugSomething isn't workingexternalhas reproHas detailed reproduction stepsplatform:linuxIssue specifically occurs on LinuxstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions