From 34f2b47703edf653cf99f63c76e25eed09410988 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Fri, 24 Mar 2023 18:41:58 -0500 Subject: [PATCH] 4GB swap --- lib/tasks/fly.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/fly.rake b/lib/tasks/fly.rake index 9b07558..8900274 100644 --- a/lib/tasks/fly.rake +++ b/lib/tasks/fly.rake @@ -28,7 +28,7 @@ namespace :fly do # - disable by removing dependency on the :server task, thus: # task :server do task :swapfile do - sh 'fallocate -l 1024M /swapfile' + sh 'fallocate -l 4096M /swapfile' sh 'chmod 0600 /swapfile' sh 'mkswap /swapfile' sh 'echo 10 > /proc/sys/vm/swappiness' -- 2.45.2