Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivial suggestions for README.md #45

Open
trentbuck opened this issue Jul 29, 2020 · 0 comments
Open

Trivial suggestions for README.md #45

trentbuck opened this issue Jul 29, 2020 · 0 comments

Comments

@trentbuck
Copy link

Please link to the Linux MM team's wiki which describes the problem and why they haven't already fixed it:

Also, your alternate methods shows you to do it using raw cgroups.
Please mention that systemd 231 users can easily get the same results on a per-unit basis with MemoryHigh=.
For example,

    # my-update-script.service
    [Service]
    Type=oneshot
    Exec=/usr/local/bin/my-update-script
    MemoryHigh=128M

The exact MemoryHigh= is not important -- it should be bigger than the script's typical peak usage, and significantly lower than your total RAM.

PS: MemoryHigh= uses the second generation of cgroup stuff. IIRC your README.md is still documenting the first-generation cgroup stuff? I think the details are buried in https://www.kernel.org/doc/Documentation/cgroup-v2.txt but I haven't gone digging for a while.

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

No branches or pull requests

1 participant