mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
fix the message of config for max_connections.
This commit is contained in:
parent
21f16f3a83
commit
4f21e92ae0
1 changed files with 2 additions and 2 deletions
|
@ -1502,9 +1502,9 @@ int SrsConfig::check_config()
|
||||||
"total=%d(max_connections=%d, nb_consumed_fds=%d), ret=%d. "
|
"total=%d(max_connections=%d, nb_consumed_fds=%d), ret=%d. "
|
||||||
"you can change max_connections from %d to %d, or "
|
"you can change max_connections from %d to %d, or "
|
||||||
"you can login as root and set the limit: ulimit -HSn %d",
|
"you can login as root and set the limit: ulimit -HSn %d",
|
||||||
nb_connections, nb_total, max_open_files,
|
nb_connections, nb_total + 1, max_open_files,
|
||||||
nb_total, nb_connections, nb_consumed_fds,
|
nb_total, nb_connections, nb_consumed_fds,
|
||||||
ret, nb_connections, nb_canbe, nb_total);
|
ret, nb_connections, nb_canbe, nb_total + 1);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue