Doubt about swap partition to proxmox

ericcs

Active Member
Jun 25, 2018
2
0
41
38
Hi,
I'm new on proxmox.

My server has 48GB of RAM.
I setting up proxmox and i saw information about partitions in this URL: https://pve.proxmox.com/wiki/Installation

My question is,
The recommended swap size if HDSIZE/8
My HD has 4TB, so the swap will be 465GB.

But the URL above, there are a message that the swap can't be more than 8GB.
In this case should i use 8GB or 465GB?

What will the the issues if i use more than 8GB in swap partition?
 
Hi,

Yes the maximum swap in the installer is 8GB.

What will the the issues if i use more than 8GB in swap partition?
It makes no sense. If you have to swap all your VM get very slow.
Swapping is only a protection for out of memory killer.
Sure if you have a swap device like a ramdisk you can use swap, but the most users have slow HDD's or consumer SSD what is also bad.
 

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!