mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
RDMF: Redis -> Server in adjustOpenFilesLimit().
This commit is contained in:
parent
813ff7fdde
commit
54c71f2d96
@ -1621,7 +1621,7 @@ void adjustOpenFilesLimit(void) {
|
||||
server.maxclients = bestlimit-CONFIG_MIN_RESERVED_FDS;
|
||||
if (server.maxclients < 1) {
|
||||
serverLog(LL_WARNING,"Your current 'ulimit -n' "
|
||||
"of %llu is not enough for Redis to start. "
|
||||
"of %llu is not enough for the server to start. "
|
||||
"Please increase your open file limit to at least "
|
||||
"%llu. Exiting.",
|
||||
(unsigned long long) oldlimit,
|
||||
@ -1632,7 +1632,7 @@ void adjustOpenFilesLimit(void) {
|
||||
"requiring at least %llu max file descriptors.",
|
||||
old_maxclients,
|
||||
(unsigned long long) maxfiles);
|
||||
serverLog(LL_WARNING,"Redis can't set maximum open files "
|
||||
serverLog(LL_WARNING,"Server can't set maximum open files "
|
||||
"to %llu because of OS error: %s.",
|
||||
(unsigned long long) maxfiles, strerror(setrlimit_error));
|
||||
serverLog(LL_WARNING,"Current maximum open files is %llu. "
|
||||
|
Loading…
Reference in New Issue
Block a user