From 2b5cdbb56b7501ee0ab10fd6f2f689ed23a9b0d7 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sun, 23 Aug 2020 21:25:49 -0400 Subject: [PATCH] Add instructions for setting the file limit --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 8b01ab5..b6034a3 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -447,7 +447,7 @@ check_filelimit() { if [ "$filelimit" -ge 524288 ]; then message 1 "Your open files limit is already set to the optimal value.\nYou're all set!" else - message 2 "We recommend setting the hard open\nfile descriptors limit to at least 524288.\nThe current value on your system appears to be $filelimit.\n\nA future version of this helper will help you increase this value." + message 2 "We recommend setting the hard open\nfile descriptors limit to at least 524288.\n\nThe current value on your system appears to be $filelimit.\n\nTo increase this value, edit the file\n/etc/systemd/system.conf\n\nUncomment the following line, adjust its value, and reboot:\nDefaultLimitNOFILE=524288" fi }