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

instance/lxc: Fix swap limit handling #12466

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

gabrielmougard
Copy link
Contributor

When a memory limit is applied to an instance and swap is available on the system, the limit should apply to both memory and swap.

Without it, each instance would be allowed to go over the memory limit by as much as the total system swap space.

When a memory limit is applied to an instance and swap is available on
the system, the limit should apply to both memory and swap.

Without it, each instance would be allowed to go over the memory limit
by as much as the total system swap space.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
@tomponline tomponline merged commit f61bc37 into canonical:main Oct 31, 2023
25 of 26 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.

3 participants