I was running 2 VMs. One of them is TRUENAS Scale. The other was our own software. I notice that when I configure vm guess to use 96% of memory (in my case 31G out of 32G). One of the VMs will die eventually. Below is the log.
Feb 19 19:36:30 pxm-03 kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=qemu.slice,mems_allowed=0,global_oom,task_memcg=/qemu.slice/3234.scope,task=kvm,pid=22488,uid=0
Feb 19 19:36:30 pxm-03 kernel: Out of memory: Killed process 22488 (kvm) total-vm:25470416kB, anon-rss:24628292kB, file-rss:2160kB, shmem-rss:4kB, UID:0 pgtables:48888kB oom_score_adj:0
Question is in what condition that proxmox choose to kill the VMs? For instance kill lower ID first?
Thank you for your reply.
Feb 19 19:36:30 pxm-03 kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=qemu.slice,mems_allowed=0,global_oom,task_memcg=/qemu.slice/3234.scope,task=kvm,pid=22488,uid=0
Feb 19 19:36:30 pxm-03 kernel: Out of memory: Killed process 22488 (kvm) total-vm:25470416kB, anon-rss:24628292kB, file-rss:2160kB, shmem-rss:4kB, UID:0 pgtables:48888kB oom_score_adj:0
Question is in what condition that proxmox choose to kill the VMs? For instance kill lower ID first?
Thank you for your reply.