out_of_memory with no peaks in usage

awado

Member
Mar 2, 2020
17
6
8
51
Hi, have a strange problem with one PVE (V. 6.1) host and its Debian 8 (old version for technical reasons) Guest. The guest crashes every now and then with no apparent reason, sometimes runs fine for weeks. The PVE logs say out_of_memory :

Code:
Dec 10 18:09:39 pve kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/qemu.slice/100.scope,task=kvm,pid=2228,uid=0
Dec 10 18:09:39 pve kernel: Out of memory: Killed process 2228 (kvm) total-vm:9233516kB, anon-rss:8407544kB, file-rss:1868kB, shmem-rss:0kB
Dec 10 18:09:39 pve kernel: oom_reaper: reaped process 2228 (kvm), now anon-rss:0kB, file-rss:36kB, shmem-rss:0kB

I've setup monitoring on both host and guest. In the memory statistics there's no a single peak in memory usage. It runs almost constantly at 80-90% of 8 GB on the guest and 50% of 16 GB on the host. Zooming in the graphs show no peak., the guest just crashes.
 

Moayad

Proxmox Staff Member
Staff member
Jan 2, 2020
1,706
134
68
29
Vienna
shop.maurer-it.com
Hi,

Could you post config for Debian 8 VM qm config <VMID>, and I suggest you upgrade to Proxmox VE 6.3 we have already fixed some issues and added other features see here
 

awado

Member
Mar 2, 2020
17
6
8
51
Code:
qm config 100

boot: cd
bootdisk: scsi1
cores: 4
ide2: local:iso/debian-8.11.1-amd64-netinst.iso,media=cdrom
memory: 8192
name: OwnCloud
net0: virtio=8A:F6:4D:1D:E2:CD,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: local-zfs:vm-100-disk-1,size=8G
scsi1: local-zfs:vm-100-disk-0,size=3T
scsihw: virtio-scsi-pci
smbios1: uuid=e06af080-534d-4c2c-8973-e8d3b3173856
sockets: 1
vga: virtio
vmgenid: 3efdb5b7-29b8-49f2-94c5-bc3f4319ee48
 

Moayad

Proxmox Staff Member
Staff member
Jan 2, 2020
1,706
134
68
29
Vienna
shop.maurer-it.com
Hi,

Is enabled the "Automatic Suspend" in Debian VM? and Could you post your PVE node version pveversion -v
 

awado

Member
Mar 2, 2020
17
6
8
51
This node is far away so I don't want to update it at the moment.

Code:
pveversion -v

proxmox-ve: 6.1-2 (running kernel: 5.3.18-2-pve)
pve-manager: 6.1-7 (running version: 6.1-7/13e58d5e)
pve-kernel-helper: 6.1-6
pve-kernel-5.3: 6.1-5
pve-kernel-5.3.18-2-pve: 5.3.18-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-13
libpve-guest-common-perl: 3.0-3
libpve-http-server-perl: 3.0-4
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 3.0.3-pve60
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.1-3
pve-cluster: 6.1-4
pve-container: 3.0-21
pve-docs: 6.1-6
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.0-10
pve-firmware: 3.0-6
pve-ha-manager: 3.0-8
pve-i18n: 2.0-4
pve-qemu-kvm: 4.1.1-3
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-6
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1

(Autocorrection tried to replace "pveversion" with "perversion"… :-D)

Where can I find "Automatic Suspend"? In Proxmox or in the guest's OS?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!