openclaw - 💡(How to fix) Fix openclaw config commands cause gateway to hang at 98% CPU

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

Gateway cold boot also shows ~60s of high CPU at "loading configuration…" — may be related root cause.

Fix Action

Workaround

Edit ~/.openclaw/openclaw.json directly instead of using openclaw config CLI commands.

Code Example

{\"subsystem\":\"gateway\"}{\"1\":\"loading configuration…\"}
RAW_BUFFERClick to expand / collapse

Bug Description

Any openclaw config CLI command causes the gateway process to hang at ~98% CPU, blocking all operations. This affects both cold-start and when running the command during normal operation.

Steps to Reproduce

  1. Run any openclaw config command, e.g.:
    • openclaw config list
    • openclaw config
    • openclaw gateway status
  2. Observe gateway process jumps to 98% CPU and stays there
  3. All OpenClaw operations are blocked

Expected Behavior

The CLI command should return results within seconds, gateway should remain responsive.

Actual Behavior

Gateway hangs at "loading configuration..." phase at 98% CPU. The hang is observed in logs:

{\"subsystem\":\"gateway\"}{\"1\":\"loading configuration…\"}

Environment

  • OpenClaw: 2026.5.19 (a185ca2)
  • Node.js: 25.3.0
  • Platform: macOS (darwin ARM64)
  • Gateway port: 18080

Workaround

Edit ~/.openclaw/openclaw.json directly instead of using openclaw config CLI commands.

Additional Context

Gateway cold boot also shows ~60s of high CPU at "loading configuration…" — may be related root cause.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING