-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Active Memory with Cerebras gpt-oss-120b times out and can pin gateway CPU #73801
Copy link
Copy link
Closed as not planned
Closed as not planned
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:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.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.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
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:crash-loopCrash, hang, restart loop, or process-level availability failure.Crash, hang, restart loop, or process-level availability failure.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.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.maturity:stableIssue affects a taxonomy feature currently scored M4/M5.Issue affects a taxonomy feature currently scored M4/M5.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Summary
Active Memory reliably times out and can leave the local gateway CPU-bound when configured to use
cerebras/gpt-oss-120b, even though the same Cerebras key/model works through direct/v1/chat/completionscalls, including streaming and tool calls.This looks related to reasoning-model handling inside the embedded Active Memory sub-agent path, not a Cerebras auth/model-access failure.
Environment
2026.4.26 (be8c246)25.4.0arm64v22.22.018789cerebras/gpt-oss-120bopenai-completionsActive Memory config used for reproduction
{ "plugins": { "entries": { "active-memory": { "enabled": true, "config": { "enabled": true, "agents": ["main", "kong"], "allowedChatTypes": ["direct", "group", "channel"], "queryMode": "message", "promptStyle": "balanced", "thinking": "off", "maxSummaryChars": 220, "timeoutMs": 5000, "persistTranscripts": false, "logging": true, "model": "cerebras/gpt-oss-120b" } } } } }Steps to reproduce
gpt-oss-120b.cerebras/gpt-oss-120b.Expected behavior
Active Memory should either:
NONEwithin the configured timeout, orActual behavior
Active Memory starts, then times out much later than the configured
timeoutMs, returns no summary, and the gateway process can become CPU-bound. During the stall,/healthand websocket/admin probes may time out.Observed logs:
Process/health symptoms observed after reproduction:
Disabling only
plugins.entries.active-memory.config.enabled=falsewas not enough to return the gateway to a clean state. Disabling the plugin entry itself and restarting restored stability:{ "plugins": { "entries": { "active-memory": { "enabled": false, "config": { "enabled": false } } } } }After disabling the plugin entry and restarting:
Direct Cerebras API checks
The same configured Cerebras API key/model succeeds outside the Active Memory embedded path:
/v1/chat/completions: HTTP 200, visible content returned./v1/chat/completionswith tools: HTTP 200, tool calls returned.Example observed direct checks:
This suggests the key has real
chat/completionsaccess and the model can handle tool-call shape at the API layer.Notes / suspected cause
gpt-oss-120breturns reasoning side-channel content even for simple requests. My suspicion is that the Active Memory embedded sub-agent path is treating the reasoning/tool activity as hidden thinking while waiting/retrying for visible summary text, then does not abort cleanly when the Active Memory timeout fires.This looks related to, but not identical to:
The main difference here is that the docs recommend
cerebras/gpt-oss-120bfor Active Memory, and direct Cerebras chat/tool calls work, but the embedded Active Memory path times out and can destabilize the gateway.Workaround
Disable Active Memory entirely, or avoid
cerebras/gpt-oss-120bas the Active Memory model until the embedded Active Memory path handles reasoning-model responses/timeouts cleanly.