Files
nixos/modules/services/buildbot-nix/worker-cores.nix
JakeHillion 47c178bccb
commit-validation / validate-single-commit (pull_request) Successful in 8s
buildbot/nix-eval Build done. (787 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
buildbot-nix: start as many workers as the master expects
The buildbot-nix worker starts one worker per CPU thread by default, 96
on iceman, but the master only registers the number in its workerCores
table, 32. The other 64 were refused about once a second each, writing
around 88,000 tracebacks a day to the journal.

The table moves into its own file, which the master reads as before and
each worker host reads for its own entry, so both always use the same
number.

Test plan:
- Built iceman: the worker unit has WORKER_COUNT=32
- CI
2026-12-01 18:15:30 +00:00

5 lines
114 B
Nix

# Core counts per worker host. Add an entry when a new worker is added.
domain: {
"iceman.cx.${domain}" = 32;
}