CPU use shoots up to 100% and Oom-killer is invoked when adding additional node to 3-node cluster.

PVE-Daemon

New Member
Jun 29, 2022
5
0
1
122
I'm attempting to create a 5 node cluster using Truenas as storage over iSCSI and as soon as I try and join a 4th and 5th node, the cpu jumps up to anywhere form 95-120% on each node and the oom-killer is invoked.. killing the corosync service. I've experimented to see what happens when the oom killer is adjusted, but if corosync isn't killed, something else is.... crashing the system. I've added more RAM and even reinstalled using a new box. To no avail.
Dmesg output
1656456197588.png

journalctl -u corosync.service output
1656457237194.png
 
how much memory do your nodes have? how much of that memory is assigned to vms? do you use zfs? (that can use up to 50% of your memory)
 
ok this is strange, since the error message above says it's killed with about ~360MiB of memory in use..

can you post the complete output of 'dmesg' and the journal from before the cluster join until the oom? (e.g. with 'journalctl --since=<since> --until=<until>')
 
did you do any tuning of sysctl or similar?
it seems that somehow the memory allocation fails, maybe due to memory fragmentation
(but if it is like you say and you don't have anything running yet on that node, i don't see how that could be)

i see in the logs that you don't run the newest version of the 5.15 kernel, maybe upgrading can help
(or alternatively, booting into the 5.13 kernel to test)
 
and with an earlier 5.13 ? just trying to find some hint at what we're looking here? (maybe some kernel memory leak?)
 

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!