sudo fallocate -l {x}G /swapfile fallocate 명령어를 이용해서 swap 파일을 생성해 준다. {x} 부분에 원하는 용량만큼 지정해주면 되는데 레드햇 기준으로 권고되는 swap 용량은 다음과 같다. Red Hat Enterprise Linux 5 설치된 RAM 용량 권장되는 swap 용량 4GB 미만 2GB swap space 4GB - 16GB 4GB swap space 16GB - 64GB 8GB swap space 64GB - 256GB 16GB swap space Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Open Stack Platform 3 and Red Hat Enterp..