NOTE: Increasing the size of the swap can result in losing support and it will influence the behavior of the system.
This article explains how to increase the swap from default 1GB to 4GB. This prevents the UTM from running out of swap memory.
The following commands need to be entered on the command line of your UTM as root user.
Known to apply to the following Sophos product(s) and version(s) Sophos UTM
dd if=/dev/zero of=/var/storage/swapfile bs=1024 count=3145728
/var/storage/swapfile swap swap defaults 0 0
If you want to increase the swapfile please follow the steps:
Login to the shell of the UTM as root
Open the ConfdClient with the command: cc
Now type: settings
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$ =<1-8> (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 or v9.3 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.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.