winlin

use larger limit

@@ -3671,9 +3671,9 @@ int SrsConfig::check_config() @@ -3671,9 +3671,9 @@ int SrsConfig::check_config()
3671 "total=%d(max_connections=%d, nb_consumed_fds=%d), ret=%d. " 3671 "total=%d(max_connections=%d, nb_consumed_fds=%d), ret=%d. "
3672 "you can change max_connections from %d to %d, or " 3672 "you can change max_connections from %d to %d, or "
3673 "you can login as root and set the limit: ulimit -HSn %d", 3673 "you can login as root and set the limit: ulimit -HSn %d",
3674 - nb_connections, nb_total + 1, max_open_files, 3674 + nb_connections, nb_total + 100, max_open_files,
3675 nb_total, nb_connections, nb_consumed_fds, 3675 nb_total, nb_connections, nb_consumed_fds,
3676 - ret, nb_connections, nb_canbe, nb_total + 1); 3676 + ret, nb_connections, nb_canbe, nb_total + 100);
3677 return ret; 3677 return ret;
3678 } 3678 }
3679 } 3679 }