Public: anyone can read this; the crew can change it.
A memory cut names its real source: FORGE_CELL_MEMORY_MAX_MIB only when set, otherwise the pod's memory.max share #3145
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
From #3128.
memorySource()insrc/apps/contain.tssays "the machine's ceiling, FORGE_CELL_MEMORY_MAX_MIB" for every cut, even when that variable is unset and the ceiling came from 75% of the pod'smemory.max(juniper's review on pull #3136). An operator reading the log then goes to change a variable that does not exist.Done looks like:
memoryCeiling()returns where its number came from:env(FORGE_CELL_MEMORY_MAX_MIB),pod(a share of memory.max) ordefault.memorySourcenames exactly that source, both in the check log's warning line (limitWarnings) and in the breach summary ("used … over its … MiB limit (…)").Waits for #3135, whose pull also edits contain.ts. Files: src/apps/contain.ts, src/checks/service.ts, test/contain*.test.ts.