we require 2GB of swap now
authorJeff Atwood <jatwood@codinghorror.com>
Mon, 16 May 2016 22:43:29 +0000 (15:43 -0700)
committerJeff Atwood <jatwood@codinghorror.com>
Mon, 16 May 2016 22:43:29 +0000 (15:43 -0700)
discourse-setup

index 59d1e857bebe6671e60051900dc85c7027148dee..e78de5f549d246a785b2edd0e45e877184cc5c7c 100755 (executable)
@@ -28,7 +28,7 @@ check_disk_and_memory() {
   if [ "$avail_mem" -lt 1800 ]; then
     total_swap="$(LANG=C free -m | grep ^Swap: | awk '{print $2}')"
     if [ "$total_swap" -lt 1000 ]; then
-      echo "WARNING: Discourse requires at least 1GB of swap when running with less "
+      echo "WARNING: Discourse requires at least 2GB of swap when running with less "
       echo "than 2GB of RAM. This system does not appear to have sufficient swap space."
       echo
       echo "Without sufficient swap space, your site may not work properly, and future"