From 6352b9253f3359f81fc2877ba6f8da830306f5ea Mon Sep 17 00:00:00 2001 From: Joe Lothan Date: Wed, 20 May 2026 11:54:17 -0400 Subject: [PATCH] upped swap to 8G --- infra/ec2-userdata.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/ec2-userdata.sh b/infra/ec2-userdata.sh index 34ba809..7785cd0 100755 --- a/infra/ec2-userdata.sh +++ b/infra/ec2-userdata.sh @@ -18,7 +18,7 @@ echo "File descriptor limit: $(ulimit -n)" # --- Swap --- echo "--- Creating swap file ---" if [ ! -f /swapfile ]; then - sudo dd if=/dev/zero of=/swapfile bs=1M count=4096 + sudo dd if=/dev/zero of=/swapfile bs=1M count=8192 sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile