myxce/src/configs
Rongsong Shen 58918a6a79
fix(scheduler): live-verify bug-1790 with a real global mem limit
Adds ug1_global_mem to limits.yaml: a permanent, real GLOBAL limit on
"mem" (a per-host resource, not "slots"), capping ug1's total
cluster-wide mem usage at 5GB. This is exactly the scenario bug-1790
fixed but only unit-tested until now -- no limit in the shipped example
config exercised a global cap on a non-slots per-host resource.

Live-verified via a fresh single-node deploy: 3 jobs submitted as user1
(ug1 member) each requesting rusage[mem=2000000000] (2GB) on queue
normal. Scheduler trace confirms ug1_global_mem correctly matches and,
for the first time, computes a real nonzero job-wide-total wanted value:

  unsatisfy_ resource 36 total 5000000000.000000 inuse 4000000000.000000
    uncomit 0.000000 wanted 2000000000.000000
  unsatisfy_ unmet resource 36 (limit=ug1_global_mem) shortfall
    1000000000.000000

The 3rd job (4GB inuse + 2GB wanted = 6GB > 5GB cap) correctly PENDed
until an earlier job's mem freed up. Deploy config validated with zero
new warnings.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GLfB5uWRdmx2WiZSFC7Fm7
2026-09-08 08:49:17 +00:00
..
schema feat(worker-rejoin-resync): wire config fields into xceadmin build (task 1.5) 2026-09-01 09:47:02 +00:00
hosts.yaml remove override of maxswap 2026-09-08 11:15:11 +08:00
limits.yaml fix(scheduler): live-verify bug-1790 with a real global mem limit 2026-09-08 08:49:17 +00:00
queues.yaml fix(admin-config-tool): resolve xceadmin config build warnings 2026-07-23 09:10:14 +00:00
resources.yaml fix(controller): close 6 data-safety races + apply-pump O(N^2) regression + boot TOCTOU 2026-08-16 10:20:02 +00:00
scaler.yaml docs(admin-config-tool): commit spec docs and example configs 2026-07-22 10:11:08 +00:00
users.yaml fix(admin-config-tool): resolve xceadmin config build warnings 2026-07-23 09:10:14 +00:00
xce.yaml docs(admin-config-tool): commit spec docs and example configs 2026-07-22 10:11:08 +00:00