• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved How to create swap in OVH VPS?

raphael_suporte

Basic Pleskian
In this case I created a VPS with installation centOS 7.9. + Current Plesk Obsidian without swap, with standard OVH OS installation. In which I installed the plesk panel later. I was wondering how can I create a swap for my vps server, which has 200GB NVMe and 8GB of RAM.
 
This is not related to Plesk at all. You should contact OVH support for that.

My (unverified) suggestion is to create a swapfile manually:
fallocate -l 2G /swap.img
chmod 600 /swap.img
mkswap /swap.img
swapon /swap.img

Then edit /etc/fstab and add:
/swap.img swap swap defaults 0 0
 
Isso não está relacionado ao Plesk de forma alguma. Deve contactar o suporte OVH para isso.

Minha sugestão (não verificada) é criar um arquivo de swap manualmente:
fallocate -l 2G /swap.img
chmod 600 /swap.img
mkswap /swap.img
swapon /swap.img

Em seguida, edite / etc / fstab e adicione:
/swap.img swap swap padrões 0 0
Sinto muito pelo tópico e obrigado pela resposta.
 
Back
Top