Skip to content

Commit

Permalink
[HotFix] Increase swap file size to 4GB
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnsugyeong committed May 25, 2024
1 parent d214e17 commit d4a5641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ebextensions-dev/01-setup-swap.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ commands:
01setup_swap:
test: test ! -e /var/swapfile
command: |
/bin/dd if=/dev/zero of=/var/swapfile bs=128M count=16
/bin/dd if=/dev/zero of=/var/swapfile bs=1M count=4096
/bin/chmod 600 /var/swapfile
/sbin/mkswap /var/swapfile
/sbin/swapon /var/swapfile

0 comments on commit d4a5641

Please sign in to comment.