(bug) The runner is OOMKilled with three local sessions at a 1Gi limit, and the chart and docs give no sizing guidance
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 83/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- docker-compose, helm, kubernetes
- Ambito
- devops, documentation
Direzione di ricerca
Leggi hosting/kubernetes/helm/values.yaml e la sezione «Container resources» in docs/docs/self-host/agents/04-customize-the-agent-runtime.mdx; controlla anche l’override di Compose presente lì. Documenta le indicazioni riportate sull’uso della memoria a riposo e per sessione e aggiungi un esempio di chart commentato per alcune sessioni locali. Il lavoro è completato quando entrambi i percorsi di deployment spiegano il dimensionamento e l’esempio del chart riflette le indicazioni.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The agent runner container is killed for lack of memory when several local-sandbox sessions run in the same pod with a 1 GiB memory limit. The Helm chart and the docs give no sizing guidance for this case, so a self-host that picks 1 GiB hits it.
Reproduce
- Deploy the chart with the local sandbox provider and set
agentRunner.resources.limits.memory: 1Gi(request512Mi). - Open three agent conversations (Pi harness) at about the same time and send a message in each.
- Watch the runner pod with
kubectl top podandkubectl describe pod.
Expected
The runner holds three concurrent local sessions without being killed, or the chart and the docs say how much memory each local session needs.
What we saw (GKE oss, local sandbox, v0.122.4 release candidate)
- Idle runner after a restart: 178 to 313 MiB.
- One session at a time (approve cell, deny cell, client-tool cell): peak 465 MiB.
- Two sessions together (a gate cell plus one browser session): peak 890 MiB of 1 GiB.
- Three sessions: the container was OOMKilled (exit 137, restart count 1). Turns that were running ended with "peer closed connection" or "All connection attempts failed". One browser turn stayed on "Thinking" for about 100 seconds until the api watchdog settled it.
The local sandboxes (one Pi daemon per session) run inside the runner container, so memory grows with each concurrent session. The limit is the same on v0.122.3, so this is not a regression of the release.
Where to change
hosting/kubernetes/helm/values.yaml: the chart sets no default foragentRunner.resources. The templatehosting/kubernetes/helm/templates/runner-deployment.yamlrenders only what the user sets, so the 1 GiB limit in our run came from the deployment values, not from a chart default. Add a commented example with a limit that fits a few local sessions (for example request 1Gi, limit 2Gi or more).docs/docs/self-host/agents/04-customize-the-agent-runtime.mdx("Container resources"): it shows 4Gi but does not say how memory grows with concurrent local sessions. Add the numbers above as guidance: about 200 to 300 MiB idle, plus a few hundred MiB for each active session.- The same guidance applies to the Compose override in that page.
Notes
This is not a code defect in the runner. The ask is a documented example (and optionally a chart default) that survives three concurrent local sessions.
🤖 The AI agent says: filed from the v0.122.4 release QA.
- Lingua principale
- TypeScript
- Stelle
- 4.8k
- Fork
- 690
- Merge medio
- 19h 47m
- PR unite (30g)
- 431
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Agenta-AI/agenta
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agenta-AI/agenta#7542 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Agenta-AI/agenta#7468 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
(bug) The Stop button disappears for a moment before an approval card showsForse già presa @rishu685 l’ha presa 4 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Agenta-AI/agenta#7446 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Agenta-AI/agenta#7426 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
No CI job runs the mobile app's unit testsForse già presa @Mahaboob-Ashraf l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agenta-AI/agenta#7326 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agenta-AI/agenta
Issue simili
-
area:tui enhancement platform:macos
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
anthropics/claude-code#101490 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
netlify/netlify-mcp#75 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
atlassian-labs/compiled#1960 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
pnp/cli-microsoft365#7639 ·
I maintainer di solito rispondono entro 2 giorni
-
nextjs-tracking
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
cloudflare/vinext#3887 ·
I maintainer di solito rispondono entro 1 giorno