Shared computer at its memory cap: docker exec times out, every bot shows "team computer is being changed", restart/kill hang under gVisor
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
- #37 di @warhammered — chiusa senza merge
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, linux, typescript
- Ambito
- backend, infrastructure
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 277
- Fork
- 27
- Merge medio
- 2h 47m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 DuskBotAI/duskbot
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
-
After uninstalling an own server, the desktop app stays on it and shows Cloudflare's Error 1033 pageAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
install.sh --tailscale replaces whatever the host already serves on tailnet port 443Forse già presa @viniciusbregoli l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DuskBotAI/duskbot
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vercel-labs/ui#865 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
outline/outline#14638 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
wayfinder:grilling
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
patricktree/cup#484 ·
-
bot:ai-assisted component:platform-js status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
midnightntwrk/platform-js#69 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno