hive-priv: describe the current drop-in only, not the removed exception
The test doc and the swap-usage metric text described the old behaviour. They now say what the drop-in does and what a restart applies.
This commit is contained in:
parent
9ecc100798
commit
eb963fa545
2 changed files with 3 additions and 3 deletions
|
|
@ -519,8 +519,8 @@ runs still get +900 and bash tasks +1000.
|
||||||
The container stays up through these kills. Each one counts in the
|
The container stays up through these kills. Each one counts in the
|
||||||
`hyperhive.container.memory.oom_kills` metric, shown as "OOM kills by agent"
|
`hyperhive.container.memory.oom_kills` metric, shown as "OOM kills by agent"
|
||||||
on the health tab of the agents dashboard. `hyperhive.container.memory.swap.usage`
|
on the health tab of the agents dashboard. `hyperhive.container.memory.swap.usage`
|
||||||
is the memory the container has swapped out: nonzero only for an agent whose
|
is the memory the container has swapped out: zero for every container that
|
||||||
container started before its drop-in carried `MemorySwapMax=0`.
|
runs with the current drop-in, which a restart applies.
|
||||||
|
|
||||||
More than 3 kills of one agent in an hour raise the `hh-agent-oom-kills` alert.
|
More than 3 kills of one agent in an hour raise the `hh-agent-oom-kills` alert.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -991,7 +991,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// No container swaps, budgeted or not: the cap sits right after the
|
/// No container swaps, budgeted or not: the cap sits right after the
|
||||||
/// memory lines, once. `infinity` is the arm that used to keep swap.
|
/// memory lines, once, `infinity` included.
|
||||||
#[test]
|
#[test]
|
||||||
fn swap_is_off_whatever_the_memory_budget() {
|
fn swap_is_off_whatever_the_memory_budget() {
|
||||||
for mem in ["4G", "512M", "50%", "8589934592", "infinity"] {
|
for mem in ["4G", "512M", "50%", "8589934592", "infinity"] {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue