Softaculous


Topic : Missing Swap in CentOS 7 KVM Template


Posted By: cuongvttt@yahoo.com on October 7, 2019, 5:31 am
Hello Support Team,
All KVM virtual machines that I deployed were missing Swap. Is this normal and I have to enable manually inside the virtual machines?
Thank you so much.

Posted By: jevingala on October 9, 2019, 9:44 am | Post: 1
Hi,

It should work fine.
You need not require manual changes in vps.
Can you open a ticket so that we can create a test vps and check it.

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: cuongvttt@yahoo.com on October 10, 2019, 4:50 am | Post: 2
Hello Jevingala,

        The swap was created correctly but disabled. Do I miss something out?
I'm going to deploy a new KVM physical node in next week and then I'll let you know, log in and check it out.
Thank you so much and have a good day.

Posted By: wolke on October 17, 2019, 9:42 am | Post: 3
You shouldn´t need swap on modern OS like CentOS7.The guys from cloudlinux have a great article about it and why swap should be avoided:
https://www.cloudlinux.com/cloudlinux-os-blog/entry/how-big-your-swap-partition-to-be

Posted By: Skhilled on November 9, 2019, 1:51 pm | Post: 4
Ok, so why do the docs state it is required before installation? This is what we the users go by and what Virt support expects us to go by.
Is a swap file not required for KVM only or for other installations like OpenVZ 7, LXM, etc. as well?

Posted By: wolke on November 9, 2019, 2:12 pm | Post: 5
Swap isn´t required by a special virtualization platform. It is a mechanism to compensate a machine state where you don´t have enough real memory for your computer/VM/VPS.This is OS based and not platform based.

Posted By: Skhilled on November 9, 2019, 2:18 pm | Post: 6
I see now... I've been wasting time partitioning for it and checking it when I didn't really need it all along.
Thanks.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.