How to add Swap File
Follow these steps to add 1GB of swap to your server. If you want to add 2GB instead of 1 GB, replace 1G with 2G.
Create a file that will be used for swap:root@cana:/# fallocate -l 1G /swapfileIf fallocate is not installed or if you get an error message saying fallocate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.