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 #189

Merged
merged 1 commit into from
Oct 23, 2023
Merged

instance/lxc: Fix swap limit handling #189

merged 1 commit into from
Oct 23, 2023

Conversation

stgraber
Copy link
Member

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>
@tych0 tych0 merged commit 56522d7 into lxc:main Oct 23, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants