[GH-ISSUE #11] Stuck after loading the model to RAM, new processes spawing constantly #4

Closed
opened 2026-11-04 01:38:55 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @ast321 on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/11

Tried to run on Debian 14, RTX 5060 Ti 16 GB, AMD Ryzen 5 5600, 48 GB DDR4, no desktop.

Model loads to memory, using ~34 GB RAM, plenty of free RAM and swap is not used at all. After that new processes are spawning constantly and nothing happens. All CPU cores ~100% load, load average rises > 10000 with new processes beging spawned. After model is loaded, no disk activity (light or iostat). Is this because of 48 GB RAM or something else?

Log:
strata generate: this CPU has no AVX-512: the expert kernels run on AVX2
strata generate: native pack: /home/ast/Strata/packs/q2_0 experts (largest blob 1.38 MB), token embedding type 11 in mapped host memory (260 MiB)
strata generate: 1416 MiB of weights loaded from /home/ast/Strata/packs/q2_0 (303 canonical tensors skipped: served natively)
strata generate: 301 native projection matrices, 1376.20 MiB of weights
strata generate: PLE on, table 320001536 rows of /home/ast/Strata/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00002-of-00002.gguf
strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages
strata generate: loaded 31.64 GiB at 1.18 GiB/s
strata mtp: draft layer loaded, 949 MiB of VRAM (experts 675, dense 111)

Output:
ast@localllm:~/Strata$ ./run-q2_0.sh
loading the model (the first start takes a minute or two) ...

nvidia-smi:
Image

htop:
Image

Originally created by @ast321 on GitHub (Sep 26, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/11 Tried to run on Debian 14, RTX 5060 Ti 16 GB, AMD Ryzen 5 5600, 48 GB DDR4, no desktop. Model loads to memory, using ~34 GB RAM, plenty of free RAM and swap is not used at all. After that new processes are spawning constantly and nothing happens. All CPU cores ~100% load, load average rises > 10000 with new processes beging spawned. After model is loaded, no disk activity (light or iostat). Is this because of 48 GB RAM or something else? Log: strata generate: this CPU has no AVX-512: the expert kernels run on AVX2 strata generate: native pack: /home/ast/Strata/packs/q2_0 experts (largest blob 1.38 MB), token embedding type 11 in mapped host memory (260 MiB) strata generate: 1416 MiB of weights loaded from /home/ast/Strata/packs/q2_0 (303 canonical tensors skipped: served natively) strata generate: 301 native projection matrices, 1376.20 MiB of weights strata generate: PLE on, table 320001536 rows of /home/ast/Strata/models/Q2_0/Qwen3.8-Flash-Next-GSQ-RCO-Q2_0-00002-of-00002.gguf strata generate: expert arena: cudaHostRegister PORTABLE ok; MAP_HUGETLB unavailable (no hugetlb pool configured?); using 4 KB pages strata generate: loaded 31.64 GiB at 1.18 GiB/s strata mtp: draft layer loaded, 949 MiB of VRAM (experts 675, dense 111) Output: ast@localllm:~/Strata$ ./run-q2_0.sh loading the model (the first start takes a minute or two) ... nvidia-smi: <img width="740" height="320" alt="Image" src="https://github.com/user-attachments/assets/35b0898b-01b6-4381-9327-40a1a534bc15" /> htop: <img width="846" height="521" alt="Image" src="https://github.com/user-attachments/assets/6d3a04ef-1bb5-40a5-930b-f2b55ad47d72" />
Author
Owner

@ast321 commented on GitHub (Sep 26, 2026):

Got it working by adding the following flag to strata-q2_0.json:
"--pool-workers",
"6"

Now it doesn't open countless processes and I can access the model.

<!-- gh-comment-id:5847922191 --> @ast321 commented on GitHub (Sep 26, 2026): Got it working by adding the following flag to strata-q2_0.json: "--pool-workers", "6" Now it doesn't open countless processes and I can access the model.
Author
Owner

@Niko1221 commented on GitHub (Sep 26, 2026):

Found the root cause (#13, fixed in #14): a missing pair of braces made the pool spawn thousands of workers on Linux. Pull main and rerun ./setup.sh, and you can drop the --pool-workers 6 workaround.

<!-- gh-comment-id:5849626614 --> @Niko1221 commented on GitHub (Sep 26, 2026): Found the root cause (#13, fixed in #14): a missing pair of braces made the pool spawn thousands of workers on Linux. Pull main and rerun ./setup.sh, and you can drop the --pool-workers 6 workaround.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4
No description provided.