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

oom killer cannot be re-enabled #307

Closed
kestrelcjx opened this issue Nov 22, 2023 · 2 comments
Closed

oom killer cannot be re-enabled #307

kestrelcjx opened this issue Nov 22, 2023 · 2 comments

Comments

@kestrelcjx
Copy link

if mem.DisableOOMKiller != nil && *mem.DisableOOMKiller {

@kestrelcjx
Copy link
Author

cgroups/cgroup1/memory.go

Lines 453 to 459 in a0ae1c2

func getOomControlValue(mem *specs.LinuxMemory) *int64 {
if mem.DisableOOMKiller != nil && *mem.DisableOOMKiller {
i := int64(1)
return &i
}
return nil
}

AkihiroSuda added a commit that referenced this issue Dec 29, 2023
fix(): support re-enabling oom killer refs #307
@dcantah
Copy link
Member

dcantah commented Jan 3, 2024

Fixed via #311

@dcantah dcantah closed this as completed Jan 3, 2024
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

2 participants