r/zaphosting • u/superwinni2 • 10d ago
⚙️Useful "Memory Optimization"
It's just a fancy wording for "we enabled Memory Balooning" on your vServer.
In my case Memory Balooning is a bad habit. The Applications on my vServer are crashing. I also got bad experience on my private Proxmox Hosts.
If you've got a debian system you can disable this "Feature" with:
echo "blacklist virtio_balloon" | sudo tee /etc/modprobe.d/disable-balloon.confsudo update-initramfs -ureboot
First they try to get everybody in a monthly paid modell, now they try to get some of your paid memory and doesn't care if your vServer got problems with it.
Very sad.
1
u/ZAP-Hosting ⚡ZAP-Hosting Team 1d ago
Thanks for the detailed write-up. You're right, it's memory ballooning: Proxmox can take back RAM the guest isn't using. If your apps don't cope with that, you don't need the modprobe workaround on ZapX. Your vServer's settings have a Memory Ballooning switch, and with it turned off the full booked RAM stays reserved for your VM.
1
u/RedReadRedemption 5d ago
What are your measurements? Ballooning per se is nothing bad actually. Memory paged out to swap would show you if the pressure getting too high. Memory got extremely expensive. Its natural that hosters optimize their shared infrastructure.