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 <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
@gabrielmougard gabrielmougard force-pushed the fix/swap-limit-handling branch from 5f54c83 to d98ce65 Compare October 26, 2023 07:19
@tomponline tomponline requested a review from mihalicyn October 27, 2023 08:14
@tomponline tomponline merged commit f61bc37 into canonical:main Oct 31, 2023
24 of 25 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