mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-28 14:34:18 +00:00
Change file limit message
This commit is contained in:
parent
36e54adba7
commit
7aa701a69d
@ -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\nTo increase this value, add the following line to\n/etc/security/limits.conf\n\n* hard nofile 524288"
|
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."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user