mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the max connections, compare the system ulimit max open files, error when exeed limit
This commit is contained in:
parent
5f7ff37e64
commit
ebf9e560b1
24 changed files with 133 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
}
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
daemon off;
|
||||
srs_log_tank console;
|
||||
http_api {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
max_connections 1000;
|
||||
daemon on;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.demo.19350.log;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
daemon on;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.demo.log;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
dvr {
|
||||
enabled on;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
dvr {
|
||||
enabled on;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
pid objs/edge.pid;
|
||||
srs_log_file ./objs/edge.log;
|
||||
vhost __defaultVhost__ {
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/DRM
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
listen 1935
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
mode remote;
|
||||
origin 127.0.0.1:19350;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
transcode {
|
||||
enabled on;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
pid ./objs/srs.master.pid;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.master.log;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
max_connections 1000;
|
||||
pid ./objs/srs.slave.pid;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.slave.log;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
# the config for srs http heartbeat, report its info to api-server
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
listen 1935
|
||||
max_connections 1000;
|
||||
heartbeat {
|
||||
enabled on;
|
||||
interval 9.3;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
http_stream {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.log;
|
||||
vhost __defaultVhost__ {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
ingest livestream {
|
||||
enabled on;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 19350;
|
||||
max_connections 1000;
|
||||
pid objs/origin.pid;
|
||||
srs_log_file ./objs/origin.log;
|
||||
vhost __defaultVhost__ {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
gop_cache off;
|
||||
queue_length 10;
|
||||
|
|
|
@ -3,5 +3,6 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
srs_log_tank file;
|
||||
srs_log_file ./objs/srs.log;
|
||||
http_api {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue