正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -1502,9 +1502,9 @@ int SrsConfig::check_config() | @@ -1502,9 +1502,9 @@ int SrsConfig::check_config() | ||
| 1502 | "total=%d(max_connections=%d, nb_consumed_fds=%d), ret=%d. " | 1502 | "total=%d(max_connections=%d, nb_consumed_fds=%d), ret=%d. " |
| 1503 | "you can change max_connections from %d to %d, or " | 1503 | "you can change max_connections from %d to %d, or " |
| 1504 | "you can login as root and set the limit: ulimit -HSn %d", | 1504 | "you can login as root and set the limit: ulimit -HSn %d", |
| 1505 | - nb_connections, nb_total, max_open_files, | 1505 | + nb_connections, nb_total + 1, max_open_files, |
| 1506 | nb_total, nb_connections, nb_consumed_fds, | 1506 | nb_total, nb_connections, nb_consumed_fds, |
| 1507 | - ret, nb_connections, nb_canbe, nb_total); | 1507 | + ret, nb_connections, nb_canbe, nb_total + 1); |
| 1508 | return ret; | 1508 | return ret; |
| 1509 | } | 1509 | } |
| 1510 | } | 1510 | } |
-
请 注册 或 登录 后发表评论