Skip to content

fix(fleet): page only host-global OOM and survive observer restart - #396

Merged
rldyourmnd merged 2 commits into
mainfrom
fix/host-oom-global-restart-safe
Sep 4, 2026
Merged

fix(fleet): page only host-global OOM and survive observer restart#396
rldyourmnd merged 2 commits into
mainfrom
fix/host-oom-global-restart-safe

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Summary

  • gha_fleet_host_oom_kills_total now counts host-global CONSTRAINT_NONE kills from the kernel journal. Memory-cgroup kills stay out of admission and out of host_oom_detected.
  • host_oom_detected pages on the in-window span of that counter, not increase(). Observer restart republishing the boot total was paging 4 and 3 with no dmesg.
  • make build-controller stamps gha-pressure-observer with the same version/commit as the other host binaries.

Test plan

  • go test ./... in the public module
  • CI gate green
  • After merge: rebuild stamped binaries, deploy gha-fleet + gha-pressure-observer + gha-fleet-observer + rules, reconcile OpenObserve, pin hashes in a new estate audit. Do not rewrite historical identity records. Do not mark go-cache-prewarm applied.

rldyourmnd and others added 2 commits September 4, 2026 13:07
vmstat oom_kill includes memory-cgroup envelope hits, and PromQL increase
treats a republished boot total as a burst of new kills. Count
CONSTRAINT_NONE from the journal and alert on the in-window span.

Co-authored-by: Cursor <cursoragent@cursor.com>
Source 40a8402, built twice with CGO_ENABLED=0 go build -trimpath
-buildvcs=false -ldflags "-buildid= -s -w -X main.version=v0.1.5-nddev.122
-X main.commit=<source>"; both builds agree on 8997d4f18550bdb94805cfe981390fb4ab2104460bb513f6c95017fac8b1a38b.

Co-authored-by: Cursor <cursoragent@cursor.com>
@rldyourmnd

Copy link
Copy Markdown
Contributor Author

Provider compiles hostprobe, so CI correctly refused source drift. Second commit is v0.1.5-nddev.122 from source 40a8402, two identical rebuilds at 8997d4f18550bdb94805cfe981390fb4ab2104460bb513f6c95017fac8b1a38b.

@rldyourmnd
rldyourmnd merged commit 85e728d into main Sep 4, 2026
10 checks passed
@rldyourmnd
rldyourmnd deleted the fix/host-oom-global-restart-safe branch September 4, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant