mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-02-05 22:49:03 +00:00
Add instructions for setting the file limit
This commit is contained in:
parent
7aa701a69d
commit
2b5cdbb56b
@ -447,7 +447,7 @@ check_filelimit() {
|
|||||||
if [ "$filelimit" -ge 524288 ]; then
|
if [ "$filelimit" -ge 524288 ]; then
|
||||||
message 1 "Your open files limit is already set to the optimal value.\nYou're all set!"
|
message 1 "Your open files limit is already set to the optimal value.\nYou're all set!"
|
||||||
else
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user