Skip to content

underhill_core: capture additional meminfo/status fields for OOM diagnosis - #3975

Merged
Steven Malis (smalis-msft) merged 1 commit into
microsoft:mainfrom
knQzx:fix/inspect-proc-oom-fields
Jul 20, 2026
Merged

Steven Malis (smalis-msft) merged 1 commit into
microsoft:mainfrom
knQzx:fix/inspect-proc-oom-fields

Conversation

@knQzx

Copy link
Copy Markdown
Contributor

adds a few more memory fields to the inspect_proc telemetry so OOM investigations have more to go on

/proc/meminfo now also captures MemAvailable, SReclaimable (the reclaimable counterpart to the SUnreclaim we already report) and Mlocked

/proc//status now also captures RssFile and RssShmem, so RssAnon + RssFile + RssShmem lines up with VmRSS for the full per-process breakdown

no logic change, just additions to the field lists, and these are the fields smmalis37 signed off on in the issue

fixes #3182

@knQzx
Novikov Kirill (knQzx) requested a review from a team as a code owner July 20, 2026 07:15
Copilot AI review requested due to automatic review settings July 20, 2026 07:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates inspect_proc telemetry collection in OpenHCL’s underhill_core to include additional /proc memory fields that are useful when diagnosing OOM events, aligning with the requested fields in issue #3182.

Changes:

  • Extend /proc/meminfo capture to include MemAvailable, SReclaimable, and Mlocked.
  • Extend /proc/<pid>/status capture to include RssFile and RssShmem for a fuller RSS breakdown.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@smalis-msft
Steven Malis (smalis-msft) enabled auto-merge (squash) July 20, 2026 15:52
@smalis-msft
Steven Malis (smalis-msft) merged commit f51ed2c into microsoft:main Jul 20, 2026
68 of 69 checks passed
@github-actions

Copy link
Copy Markdown

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.

inspect_proc: capture additional memory fields to aid OOM diagnosis

3 participants