TASK ERROR: memory size (65536) must be aligned to 2048 for hotplugging | STILL!

Gilberto Ferreira

Renowned Member
Hi there.
I have a PVE up to date, with kernel 6.2.11-2-pve and with "options vhost max_mem_regions=509" enabled but still have the issue:

TASK ERROR: memory size (65536) must be aligned to 2048 for hotplugging

Incredible that we still face such problem.
The VM is a KVM Linux Centos 7 with kernel 6.3.3!

Any fix????
 
Last edited:
Well... Itś like works more or less! Kinda works...
1684441269266.png

I cant understand why inside the OS show me roughly 52GB if I extend it to 64GB of memory. Where's the other 13G???
Attached you will found dmesg.txt with dmesg output from OS.
I got a lot of error and OOkill.... THat's bad! Pretty bad!
And the vm it very strange:
114.009715] Node 0 active_anon:784kB inactive_anon:32000kB active_file:20224kB inactive_file:37276kB unevictable:27760kB isolated(
anon):0kB isolated(file):0kB mapped:48428kB dirty:0kB writeback:0kB shmem:1024kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB wr
iteback_tmp:0kB kernel_stack:2696kB pagetables:1536kB all_unreclaimable? no
[ 114.009720] Node 1 active_anon:0kB inactive_anon:0kB active_file:4kB inactive_file:8kB unevictable:0kB isolated(anon):0kB isolated
(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB kernel_st
ack:360kB pagetables:36kB all_unreclaimable? yes
[ 114.009724] Node 0 DMA free:1792kB min:12kB low:24kB high:36kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_fi
le:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15360kB mlocked:0kB bounce:0kB free_pcp:0kB local_p
cp:0kB free_cma:0kB
[ 114.009729] lowmem_reserve[]: 0 446 446 25022 25022
[ 114.009732] Node 0 DMA32 free:4260kB min:404kB low:860kB high:1316kB reserved_highatomic:6144KB active_anon:0kB inactive_anon:0kB
active_file:296kB inactive_file:20kB unevictable:0kB writepending:0kB present:507904kB managed:456972kB mlocked:0kB bounce:0kB free_p
cp:0kB local_pcp:0kB free_cma:0kB
client_loop: send disconnect: Broken pipe

Need to shutdown the VM and give me "System is deadlock on memory". So I need to revert to 4G of ram in order to boot properly.
 

Attachments

  • dmesg.txt
    524.4 KB · Views: 0
Last edited:

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!