Warn only when open files limit is smaller that 256.
This commit is contained in:
parent
b024221cec
commit
fd5e483a49
@ -1110,7 +1110,7 @@ void check_rlimits()
|
||||
mylog(LOG_ERROR, "getrlimit(): failed with %s",
|
||||
strerror(errno));
|
||||
} else {
|
||||
if (lt.rlim_max != RLIM_INFINITY) {
|
||||
if (lt.rlim_max != RLIM_INFINITY && lt.rlim_max < 256) {
|
||||
mylog(LOG_WARN, "opened files count rlimit "
|
||||
"active, bip will not be allowed to open more "
|
||||
"than %d files at a time", (int)lt.rlim_max);
|
||||
|
Loading…
Reference in New Issue
Block a user