Shared computer at its memory cap: docker exec times out, every bot shows "team computer is being changed", restart/kill hang under gVisor
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
- #37 de @warhammered — cerrado sin fusionar
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- docker, linux, typescript
- Área
- backend, infrastructure
Línea de trabajo
The report describes memory limits, browser allocation, container recovery, lifecycle locking, and restart behavior, but names no source files, tests, or entry points. Start by locating the shared computer lifecycle and container management code, then trace how browser requests and Docker restarts are handled. Done means the reported failure modes have defined fixes and regression coverage; the issue does not specify acceptance criteria.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Version
0.2.15
Platform
Own server (Windows 11 + WSL2 Ubuntu 24.04, 15.8 GB RAM, WSL memory=10GB at the time)
What happened
On 17 Nov about 16:50 WIB the shared computer container (openmausbot-vps-computerf3d9-..., runtime runsc) reached 7.18 of its 7.2 GB limit with 355 processes, because every bot opened its own browser in it. Then:
docker exectimed out,mcp__agents__vm_execcalls failed after up to 338 s (94 calls, median 1.9 s, p90 60 s, 81% ok);- every bot in every group showed "The team computer is being changed" and stopped;
docker restartanddocker killboth hung. Onlykill -9of therunsc-sandboxprocess plusdocker startrecovered it.
Earlier the same day (15:17 WIB) the in-memory remoteComputerLifecycleBusyOwners flag for the same computer was never released although the container was up, and mountTeamVps kept throwing until duskbot was restarted.
Suggested fix
- Watch the container's memory and refuse or queue a new browser screen when it is above about 85%, with a message saying why.
- Default bots that never use a browser to no team computer (we set
computer:"off"on 10 of 20 bots by hand). - When docker stop/kill does not return in 20 s on runsc, kill the sandbox process and restart the container automatically.
- Release the lifecycle busy flag in a
finally, and expire it after a timeout. - Keep a memory limit set with
docker updatewhen the container is restarted, instead of resetting it.
- Lenguaje dominante
- TypeScript
- Estrellas
- 277
- Forks
- 27
- Merge medio
- 2 h 47 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 DuskBotAI/duskbot
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
Los mantenedores suelen responder en 1 día
-
After uninstalling an own server, the desktop app stays on it and shows Cloudflare's Error 1033 pageAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
install.sh --tailscale replaces whatever the host already serves on tailnet port 443Posiblemente ocupada @viniciusbregoli la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
Todos los issues de DuskBotAI/duskbot
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
inabagumi/shinju-date#7406 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
umami-software/umami#4787 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día