[Engine] strata-host anon RSS grows ~1 GiB/h under load until global OOM (Linux, 4-GPU split)
Los mantenedores suelen responder en 4 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 44/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, linux
- Área
- backend, performance
Línea de trabajo
Start by tracing the engine memory guard and how it measures current memory; the issue does not name source files or tests. Reproduce with sustained long conversations and high prefix reuse on the reported 4-GPU setup, then sample anonymous RSS over time. Done means identifying the source of the growth and confirming a guard or cap prevents memory from reaching the machine limit.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Engine 0.1.67 (strata-engine-linux-x86_64-cuda-cuda13), terminal 0.2.21, Ubuntu 24.04, kernel 6.8.0-149, 125 GiB RAM, no swap.
Model: Qwen3.8-Flash-Next UD-IQ4_XS, --layer-split 14,26,38 over 4 GPUs (3x 5060 Ti + 5070 Ti), --resident-budget-gib 55 --kv int8 --kv-resident 32768 --max-context 262144 --conversation-cache-mib 32768 --conversation-cache-slots 8, MTP drafter on.
Observed
Two crashes, identical verdict (/var/log/journal, oom-kill):
- 2026-11-26 19:41, after ~3 h of that boot's serving (server up since 16:38):
Out of memory: Killed process (strata-host) total-vm:240686360kB, anon-rss:29944804kB, shmem-rss:62263064kB - 2026-11-27 17:09, after ~20 h uptime (since 21:11 the previous day):
Out of memory: Killed process (strata-host) total-vm:242341388kB, anon-rss:31642468kB, shmem-rss:62282820kB
The shmem component is constant (62.28 GiB at both kills, 62.27 GiB measured on a healthy running server: pinned experts 45.2 GiB + parked conversations ~3 GiB each, parked=1..8). What grows is the engine's anonymous RSS: 9.7 GiB measured on a freshly loaded server vs 30-32 GiB at both kills, under continuous agent traffic (DSH sessions, ~100k-token conversations, high cache reuse). Total 62 + 32 + system > 125 GiB, the kernel kills the engine.
The engine's own memory guard does not see it
The guard reports at start:
strata generate: memory guard: limit 125.7 GiB (source: meminfo), current 5.0 GiB, reclaimable cache credited 0.0 GiB; available 120.7 GiB (MemAvailable 120.7 GiB), floor 2560 MiB
current stays ~5 GiB while the process anon grows to 32 GiB, and MemAvailable only counts the pressure at the moment of the check — between checks the growth is invisible, so nothing is evicted before the kernel acts.
Asks
- Is the anon growth known? (KV streaming buffers, MTP draft state, per-conversation structures?) 0.1.69 notes do not mention it.
- Could the memory guard count the process's own anon (or VmRSS) instead of its internal heap, and evict/park when the process approaches the machine limit?
- A knob to cap the growing structure would already help us.
Repro direction
Continuous agent traffic (long conversations, high prefix reuse) on the 4-GPU split above; slope ~1 GiB/h of anon under our load, plateau unknown (crashes first). Happy to measure with a trend sampler against a newer engine.
- Lenguaje dominante
- C++
- Estrellas
- 11.6k
- Forks
- 1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 Niko1221/Strata
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Niko1221/Strata#7365 · 2 comentarios ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 4 días
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chipAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 4 días
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Niko1221/Strata#7276 · 1 comentario ·
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Niko1221/Strata#7230 · 1 comentario ·
Los mantenedores suelen responder en 4 días
Todos los issues de Niko1221/Strata
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Quantinuum/tket#2282 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
Los mantenedores suelen responder en 10 días
-
Server crashes when a mob dies to poisonPosiblemente ocupada @joelstiller la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
DarkCastleMUD/DarkCastle#305 ·
Los mantenedores suelen responder en 1 día
-
[Issue]: RAS status report lists the wrong pids for an outlier nodePosiblemente ocupada @bhargavchintam la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 2 días