VM powered off

dottore89

New Member
Sep 23, 2022
8
1
3
Hi to all!
For a few days now i find a vm turned off.

It seems to shut down when doing somewhat heavier operations like backup or when I launch an apt update.

this is the log on proxmox (101 is the killed VM): LINK

thanks in advance
 
Last edited:
It seems like you are running out of memory and the OOM-Killer of the kernel did it's job and killed some process to reclaim RAM.
How much RAM do you have in total and how much RAM have you assigned to your VMs/CTs?
 
4 GB for PVE should be enough in general [1].

Are you using ZFS by any chance? The ARC (Adaptive Replacement Cache) used by ZFS will use up to half of your system's RAM by default. In theory it should shrink under high memory pressure, but it can be too slow in some situtations. You can limit the maximum size of the ARC if you want [2].

You can check the current size of the ARC by using the arcstat command.

Hope this helps.

https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_system_requirements
https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usage
 
4 GB for PVE should be enough in general [1].

Are you using ZFS by any chance? The ARC (Adaptive Replacement Cache) used by ZFS will use up to half of your system's RAM by default. In theory it should shrink under high memory pressure, but it can be too slow in some situtations. You can limit the maximum size of the ARC if you want [2].

You can check the current size of the ARC by using the arcstat command.

Hope this helps.

https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_system_requirements
https://pve.proxmox.com/wiki/ZFS_on_Linux#sysadmin_zfs_limit_memory_usage
thanks!!
but ZFS in vm filesystem? my vm are all in ext4
 

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 yours easily in our online shop.

Buy now!