1
0
Fork 0
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:
winlin 2014-07-26 15:34:45 +08:00
parent 5f7ff37e64
commit ebf9e560b1
24 changed files with 133 additions and 4 deletions

View file

@ -2,6 +2,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
}

View file

@ -2,6 +2,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
http_api {

View file

@ -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;

View file

@ -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;

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
dvr {
enabled on;

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
dvr {
enabled on;

View file

@ -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__ {

View file

@ -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;

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
transcode {
enabled on;

View file

@ -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;

View file

@ -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;

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
hls {
enabled on;

View file

@ -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;

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
http_stream {
enabled on;
listen 8080;

View file

@ -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__ {

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
ingest livestream {
enabled on;

View file

@ -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__ {

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
gop_cache off;
queue_length 10;

View file

@ -3,5 +3,6 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
}

View file

@ -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 {

View file

@ -3,6 +3,7 @@
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
vhost __defaultVhost__ {
hls {
enabled on;