1
0
Fork 0
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:
winlin 2014-11-11 18:49:27 +08:00
parent 21f16f3a83
commit 4f21e92ae0

View file

@ -1502,9 +1502,9 @@ int SrsConfig::check_config()
"total=%d(max_connections=%d, nb_consumed_fds=%d), ret=%d. "
"you can change max_connections from %d to %d, or "
"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,
ret, nb_connections, nb_canbe, nb_total);
ret, nb_connections, nb_canbe, nb_total + 1);
return ret;
}
}