diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index b455459bd..0513cfada 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -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; } }