5. Check if everything worked. You should now see a total Swap around 4000
free -m
6. Display swap usage summary. You should see a 2nd entry showing /var/storage/swapfile from type file with a size around 3145728.
swapon -s
7. Edit /etc/fstab
vi /etc/fstab
8. Change to Insert Mode
i
9. Insert at the end of the file:
/var/storage/swapfile swap swap defaults 0 0
10. Safe changes and exit vi
[ESC] :wq
What To Do in UTM 9.2
If you want to increase the swapfile please follow the steps:
1. Login to the shell of the UTM as root
2. Open the ConfdClient with the command: CC
3. Now type: settings
4. Set the object extra_swap$(this is the extra swap to the default swap size) to an integer value between 1 and 8: extra_swap$ = (a value of 3 is recommended as this will increase it to =4)
Note: In case you have a new installation with a image of v9.2 the swap is by default the same size as the available RAM. The minimum swap size is 2 GB, the maximum swap size is 4 GB.
5. Check if everything worked. You should now see a total Swap around 4000
free -m
6. Display swap usage summary. You should see a 2nd entry showing /var/storage/swapfile from type file with a size around 3145728.
swapon -s
7. Edit /etc/fstab
vi /etc/fstab
8. Change to Insert Mode
i
9. Insert at the end of the file:
/var/storage/swapfile swap swap defaults 0 0
10. Safe changes and exit vi
[ESC] :wq
What To Do in UTM 9.2
If you want to increase the swapfile please follow the steps:
1. Login to the shell of the UTM as root
2. Open the ConfdClient with the command: CC
3. Now type: settings
4. Set the object extra_swap$(this is the extra swap to the default swap size) to an integer value between 1 and 8: extra_swap$ = (a value of 3 is recommended as this will increase it to =4)
Note: In case you have a new installation with a image of v9.2 the swap is by default the same size as the available RAM. The minimum swap size is 2 GB, the maximum swap size is 4 GB.