ubuntu increase swapfile
## change setting (base) min@min-MS-7C94:~$ sudo fallocate -l 8G /swapfile [sudo] min 암호: fallocate: fallocate failed: 실행 파일 사용 중 (base) min@min-MS-7C94:~$ su 암호: root@min-MS-7C94:/home/min# swapoff -v /swapfile swapoff /swapfile root@min-MS-7C94:/home/min# fallocate -l 8G /swapfile root@min-MS-7C94:/home/min# ll -h /swapfile -rw------- 1 root root 8.0G 8월 29 12:48 /swapfile root@min-MS-7C94:/home/min# chmod 600 /swapfile root@min-MS-7C94:/home/min# mkswap /swapfile mkswap: /swapfile: warning: wiping old swap signature. Setting up swapspace version 1, size = 8 GiB (8589930496 bytes) no label, UUID=817e481c-66db-452e-9ed1-4cbaebaaab53 root@min-MS-7C94:/home/min# swapon /swapfile root@min-MS-7C94:/home/min# vi /etc/fstab root@min-MS-7C94:/home/min# free -m total used free shared buff/cache available Mem: 64232 11352 433 49616 52446 2555 스왑: 8191 18 8173 root@mi