Skip to content

260312 mem from cgroup over sys#22

Merged
zmstone merged 3 commits into
mainfrom
260312-mem-from-cgroup-over-sys
May 12, 2026
Merged

260312 mem from cgroup over sys#22
zmstone merged 3 commits into
mainfrom
260312-mem-from-cgroup-over-sys

Conversation

@zmstone

@zmstone zmstone commented May 12, 2026

Copy link
Copy Markdown
Member

No description provided.

zmstone added 3 commits May 12, 2026 19:55
lists:max over {Ratio, Total} tuples picks the highest ratio, which is
misleading in containers: the host /proc/meminfo view can show >70% while
the cgroup limit (what actually constrains the process) is <10%, or vice
versa. Try cgroup2 first, then cgroup v1, then fall back to host sys only
when neither cgroup interface is readable.
Bump appup top to 0.3.6 and add load_module instructions for lc_lib
across all listed upgrade/downgrade paths (the cgroup-preference fix
touches only lc_lib). app.src vsn remains "git"; check_vsns.escript
will need to be revisited at tag time.
vsn = "git" is a rebar3 sentinel that resolves to the git tag at build
time. check_vsns.escript reads the literal source, so it would always
fail in development between releases. Treat "git" as a pass-through and
only enforce equality when app.src carries a concrete version.
@zmstone zmstone merged commit 01b312a into main May 12, 2026
6 checks passed
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.

2 participants