LXC Container running out of memory causes Proxmox to reboot

BonJoseph

New Member
Apr 6, 2017
2
0
1
31
Hello, I'm a bit new with proxmox and i have a question.

I have and LXC container running an image conversion server which uses a lot of resources. My problem is that when that particular container runs out of memory, the Entire Proxmox Server reboots and kill all other containers on the same Proxmox server.

Here's my PVE information:

pveversion -v
proxmox-ve: 4.4-82 (running kernel: 4.4.40-1-pve)
pve-manager: 4.4-12 (running version: 4.4-12/e71b7a74)
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.40-1-pve: 4.4.40-82
lvm2: 2.02.116-pve3
corosync-pve: 2.4.2-1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-109
pve-firmware: 1.1-10
libpve-common-perl: 4.0-92
libpve-access-control: 4.0-23
libpve-storage-perl: 4.0-76
pve-libspice-server1: 0.12.8-2
vncterm: 1.3-1
pve-docs: 4.4-3
pve-qemu-kvm: 2.7.1-4
pve-container: 1.0-94
pve-firewall: 2.0-33
pve-ha-manager: 1.0-40
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u3
lxc-pve: 2.0.7-3
lxcfs: 2.0.6-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.9-pve15~bpo80

And my System Information:
 

Attachments

  • proxmox info.PNG
    proxmox info.PNG
    10.2 KB · Views: 14
Have you followed load on PVE-server? Might be it ran out of memory too...
 
Have you followed load on PVE-server? Might be it ran out of memory too...

The server is not running out of memory at all. The container running the conversion was configured with only assigned 16GB of memory. I don't think it should have starved the server, or any other container, with 78GB of total Memory for the whole server.

Any ideas on how it could affect the whole system?
 
Let's try to narrow it down.. I saw zfsutils in your listing.

In order to exclude ZFS related issues, try a container with standard directory storage ( ext4, xfs).

Inside container run
Code:
apt install stress
stress --vm-bytes $(awk '/MemFree/{printf "%d\n", $2 * 0.9;}' < /proc/meminfo)k --vm-keep -m 1
 

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!