You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warnings=append(warnings, "You specified a kernel memory limit on a kernel older than 4.0. Kernel memory limits are experimental on older kernels, it won't work as expected and can cause your system to be unstable.")
448
+
if!sysInfo.KernelMemory {
449
+
warnings=append(warnings, "Your kernel does not support kernel memory limit capabilities or the cgroup is not mounted. Limitation discarded.")
returnwarnings, fmt.Errorf("Minimum kernel memory limit allowed is 6MB")
454
+
}
455
+
if!kernel.CheckKernelVersion(4, 0, 0) {
456
+
warnings=append(warnings, "You specified a kernel memory limit on a kernel older than 4.0. Kernel memory limits are experimental on older kernels, it won't work as expected and can cause your system to be unstable.")
0 commit comments