vm is not restarted when is Out of Memory

dg_

Renowned Member
Sep 28, 2016
29
0
66
46
Hello,

I have this configuration inside vm:

root@dev:~# sysctl -p
vm.panic_on_oom = 1
kernel.panic = 3
root@dev:~#

When vm is out of memory (swap is disabled) linux should have a kernel panic and reboot in 3 seconds, but it is not working with KVM/proxmox.

Someone know anything about that?

Thanks.