Skip to content
Snippets Groups Projects

Less swap on disk constrained AWS hosts

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -9,7 +9,7 @@
boot.kernel.sysctl = { "vm.swappiness" = 0; };
swapDevices = [ {
device = "/var/swapfile";
size = 8192; # megabytes
size = 4096; # megabytes
randomEncryption = true;
} ];
Loading