Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-08-27 13:47:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
53011808fbe8af8884f9f23130c740dded34200c
53011808
1 parent
d0c585af
add sysctl vm.max_map_count for mmap.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
trunk/src/app/srs_app_server.cpp
trunk/src/app/srs_app_server.cpp
查看文件 @
5301180
...
...
@@ -554,6 +554,7 @@ int SrsServer::initialize_st()
// @remark, st alloc segment use mmap, which only support 32757 threads,
// if need to support more, for instance, 100k threads, define the macro MALLOC_STACK.
// TODO: FIXME: maybe can use "sysctl vm.max_map_count" to refine.
if
(
_srs_config
->
get_max_connections
()
>
32756
)
{
ret
=
ERROR_ST_EXCEED_THREADS
;
srs_error
(
"st mmap for stack allocation must <= %d threads, "
...
...
请
注册
或
登录
后发表评论