we require 2GB of swap now

This commit is contained in:
Jeff Atwood 2016-05-16 15:43:29 -07:00
parent 7c2777f949
commit e81c025088
1 changed files with 1 additions and 1 deletions

View File

@ -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"