We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42fa97 commit 721facbCopy full SHA for 721facb
discourse-setup
@@ -193,11 +193,11 @@ check_disk_and_memory() {
193
exit 1
194
fi
195
196
- if [ "$avail_mem" -le 2 ]; then
+ if [ "$avail_mem" -le 4 ]; then
197
total_swap=`free -g --si | awk ' /Swap:/ {print $2} '`
198
199
if [ "$total_swap" -lt 2 ]; then
200
- echo "WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM"
+ echo "WARNING: Discourse requires at least 2GB of swap when running with 4GB of RAM"
201
echo "or less. This system does not appear to have sufficient swap space."
202
echo
203
echo "Without sufficient swap space, your site may not work properly, and future"
0 commit comments