[Engine] strata-host anon RSS grows ~1 GiB/h under load until global OOM (Linux, 4-GPU split)
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 44/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp, linux
- Lĩnh vực
- backend, performance
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- C++
- Star
- 11.6k
- Fork
- 1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Niko1221/Strata
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Niko1221/Strata#7365 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[GUI] Engine chip: move the breathing status dot to the right end of the quant line, inside the chipĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 4 ngày
-
[GUI] The top horizontal stroke of 更 in the sidebar footer is never drawn (Windows, 125% scaling)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Niko1221/Strata#7276 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Niko1221/Strata#7230 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của Niko1221/Strata
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`test_controlled_TermSequenceBox_logging` and `test_symbolic_ops` fail when another test runs firstĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Quantinuum/tket#2282 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
KhronosGroup/Vulkan-Tutorial#555 ·
Maintainer thường phản hồi trong vòng 10 ngày
-
Server crashes when a mob dies to poisonCó thể đã có người làm @joelstiller đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
DarkCastleMUD/DarkCastle#305 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Issue]: RAS status report lists the wrong pids for an outlier nodeCó thể đã có người làm @bhargavchintam đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 2 ngày