From eed4626c351aeb5b61f33a2fa641b29a024df57c Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 10 Mar 2016 12:28:46 +0800 Subject: [PATCH] use larger limit --- trunk/src/app/srs_app_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index fcca70e5a..ab36f0cb2 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -3671,9 +3671,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 + 1, max_open_files, + nb_connections, nb_total + 100, max_open_files, nb_total, nb_connections, nb_consumed_fds, - ret, nb_connections, nb_canbe, nb_total + 1); + ret, nb_connections, nb_canbe, nb_total + 100); return ret; } }