-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Performance regression: Control UI startup RPCs take 5-10s and can delay agent runs #83963
Copy link
Copy link
Closed
Closed
Copy link
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
On OpenClaw
2026.5.18, Control UI startup often spends 5-10 seconds on basic gateway RPCs (commands.list,models.list,sessions.list,chat.history,models.authStatus). During this time, gateway health can report high event-loop utilization / CPU, and sending a webchat message can be delayed long enough to trigger request timeout behavior.This was observed after upgrading from
2026.5.7to2026.5.18.Environment
2026.5.18 (50a2481)v22.22.0@openai/codex 0.131.0/Applications/Codex.app,CFBundleShortVersionString=26.513.31313openai/gpt-5.5openai-codex/gpt-5.5channels.telegram.enabled=falseObserved slow startup RPCs
After gateway restart and Control UI reload:
After archiving a large old
agent:main:mainsession and creating a new main session, the first load still showed high latency:Health symptoms
At times during this behavior:
After things settled, health could return to
ok, but initial Control UI load remained slow.Impact
Expected behavior
Initial Control UI RPCs should not take 5-10 seconds under this configuration, and they should not delay agent requests enough to trigger webchat timeouts.
Notes
A previous large
agent:main:mainsession entry was archived. It reduced one suspected factor, but did not fully explain the startup RPC latency. The session store was about 391KB before archiving, with the old main entry about 268KB; after archiving, slow Control UI startup still occurred.