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

cgroup and limits #615

Merged
merged 10 commits into from
Nov 5, 2024
Merged

cgroup and limits #615

merged 10 commits into from
Nov 5, 2024

Commits on Nov 1, 2024

  1. Align the cgroup2 cpu.max value with 2.1

    Don't allow max>period.
    cvaroqui committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    8589078 View commit details
    Browse the repository at this point in the history
  2. Fix the opensvc.slice location in a pure cgroup2 system

    We supposed hybrid mode unified/ subpath was always there.
    cvaroqui committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    f2a7d61 View commit details
    Browse the repository at this point in the history
  3. Fix the subset pg cappings application

    om3 expects pg_* kw to be placed in a [subset#s1] section
    to be referenced by resources <rid>.subset=s1 options.
    cvaroqui committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    e3a0b8a View commit details
    Browse the repository at this point in the history
  4. Report pg apply errors and fix pg_*mem_limit the converter

    Use a sizeconv instead of a strconv, so pg_mem_limit=512m can
    be applied.
    cvaroqui committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    fe8ae19 View commit details
    Browse the repository at this point in the history
  5. Log when applying cgroup tunings

    Add avoid applying when all tunables in pg.Config are empty.
    cvaroqui committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    210b7da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8cf3835 View commit details
    Browse the repository at this point in the history
  7. Don't wrap with "om exec" when no limit_* is to be applied

    And don't ask "om exec" to apply pg_* tunings, as it is already
    done when "om exec" runs.
    cvaroqui committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    58d1157 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    3eb5c3a View commit details
    Browse the repository at this point in the history
  2. Add a last-stack-file for om and ox

    <var>/om.stack
    <var>/ox.stack
    cvaroqui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    ab98343 View commit details
    Browse the repository at this point in the history
  3. Add the "POST /node/.../instance/.../action/run" api handler

    And implement the "ox <sel> run" command.
    cvaroqui committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    cab0df5 View commit details
    Browse the repository at this point in the history