My VastAI instance (using Ubuntu 22.04) gets killed when a process's swap usage exceeds the available limit. However,I cannot increase the swap space (maybe because I am running the instance within a docker?). Even if I have enough RAM, the instance gets killed because the swap space is insufficient. I cannot turn off the swapping:
:root/CryptoGCN$ swapoff -a
swapoff: Not superuser.
Modifying the swap space by editing /etc/fstab doesn't work, either.
How can either turn off or increase the swap space?
Hi,
My VastAI instance (using Ubuntu 22.04) gets killed when a process's swap usage exceeds the available limit. However,I cannot increase the swap space (maybe because I am running the instance within a docker?). Even if I have enough RAM, the instance gets killed because the swap space is insufficient. I cannot turn off the swapping:
:root/CryptoGCN$ swapoff -a swapoff: Not superuser.
Modifying the swap space by editing
/etc/fstab
doesn't work, either.How can either turn off or increase the swap space?