[SOLVED] Memory hotplug and ballooning problem 919 MB max memory

svirus

Active Member
Jul 3, 2018
21
0
41
39
Hi,

I have a problem with ubuntu-cloud template in proxmox.
When I have enabled hotplug, enabled NUMA, ballooning enabled and Memory and Minimum memory set to same value (i.e. to 8192) always can't have more than 919MB on system.
When I try alloc more, then OOMKIller starting
qemu-guest-agent installed
# info balloon
balloon: actual=8192 max_mem=8192 total_mem=919 free_mem=16 last_update=1680854141

Proxmox 7.4-3
Ubuntu 22.04 LTS

I mieesed something?

When I disable Memeory hotplug then system can normal boot with 8192 MB memory.


Thanks in advaned
 
Yes, I added this:
SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"


still have 919MB and when I try to alloc more then OOMKiller start
 
did you add the 'memhp_default_state=online' to the kernel commandline?
 
so does it work now or not?

maybe the wording is not optimal in the wiki page, if i have time, i can check it here
 
Yes, it working now.
On wiki is "For Linux kernel >=5.15 (e.g. Ubuntu 22.04) you only need the UDEV rule for cpu hotplug"
But I must also add memhp to boot command line... so in wiki is unclear information.
 

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!