(bug) The runner is OOMKilled with three local sessions at a 1Gi limit, and the chart and docs give no sizing guidance
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 83/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- docker-compose, helm, kubernetes
- Área
- devops, documentation
Línea de trabajo
Lee hosting/kubernetes/helm/values.yaml y la sección «Container resources» de docs/docs/self-host/agents/04-customize-the-agent-runtime.mdx; comprueba también allí la sobreescritura de Compose. Documenta las indicaciones reportadas sobre la memoria en reposo y por sesión, y añade un ejemplo comentado del chart para unas pocas sesiones locales. Se considera terminado cuando ambas vías de despliegue explican el dimensionamiento y el ejemplo del chart refleja las indicaciones.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 4.8k
- Forks
- 690
- Merge medio
- 20 h 11 min
- PR fusionados (30 d)
- 448
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Agenta-AI/agenta
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Agenta-AI/agenta#7936 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Bug] Jinja2 variables used only inside {% if %} / {% for %} are missing from input_keys, so invoke returns 400Posiblemente ocupada @mmabrouk la tomó hace 14 días. Abiertobug frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agenta-AI/agenta#7669 · 3 comentarios · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Agenta-AI/agenta#7654 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Agenta-AI/agenta#7468 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
(bug) The Stop button disappears for a moment before an approval card showsQuizá libre de nuevo @rishu685 la tomó hace 25 días y no hay ningún pull request abierto. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Agenta-AI/agenta#7446 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de Agenta-AI/agenta
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
oxidecomputer/skepsis#102 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
voidzero-dev/void#677 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kunchenguid/gh-axi#247 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
lidge-jun/opencodex#8101 · 2 comentarios ·
Los mantenedores suelen responder en 1 día