Closed vadv closed 4 years ago
nginx config:
load_module /opt/restream/nginx/lib/modules/ngx_http_vhost_traffic_status_module.so;
load_module /opt/restream/nginx/lib/modules/ngx_http_push_stream_module.so;
load_module /opt/restream/nginx/lib/modules/ngx_http_image_filter_module.so;
push_stream_shared_memory_size 512M;
location /publish {
push_stream_publisher admin;
push_stream_channels_path $arg_channel;
push_stream_store_messages off;
default_type text/plain;
keepalive_timeout 0;
}
location ~ ^/subscribe {
push_stream_subscriber long-polling;
push_stream_channels_path $arg_channel;
push_stream_longpolling_connection_ttl 1200s;
}
push_stream_channels_statistics:
{"hostname": "<>", "time": "2018-09-23T09:27:28", "channels": "300927", "broadcast_channels": "0", "published_messages": "18681351", "stored_messages": "0", "messages_in_trash": "2605", "channels_in_trash": "1190", "subscribers": "494657", "uptime": "302579", "by_worker": [
{"pid": "21447", "subscribers": "20440", "uptime": "302579"},
{"pid": "21448", "subscribers": "20824", "uptime": "302579"},
{"pid": "21449", "subscribers": "20375", "uptime": "302579"},
{"pid": "21450", "subscribers": "20620", "uptime": "302579"},
{"pid": "21452", "subscribers": "20775", "uptime": "302579"},
{"pid": "21453", "subscribers": "21150", "uptime": "302579"},
{"pid": "21454", "subscribers": "20619", "uptime": "302579"},
{"pid": "21455", "subscribers": "20568", "uptime": "302579"},
{"pid": "21456", "subscribers": "20409", "uptime": "302579"},
{"pid": "21457", "subscribers": "20820", "uptime": "302579"},
{"pid": "21458", "subscribers": "20359", "uptime": "302579"},
{"pid": "21459", "subscribers": "20555", "uptime": "302579"},
{"pid": "21460", "subscribers": "20585", "uptime": "302579"},
{"pid": "21461", "subscribers": "20453", "uptime": "302579"},
{"pid": "21462", "subscribers": "20679", "uptime": "302579"},
{"pid": "21463", "subscribers": "20546", "uptime": "302579"},
{"pid": "21464", "subscribers": "20484", "uptime": "302579"},
{"pid": "21465", "subscribers": "20478", "uptime": "302579"},
{"pid": "21466", "subscribers": "20599", "uptime": "302579"},
{"pid": "21467", "subscribers": "20567", "uptime": "302579"},
{"pid": "21468", "subscribers": "20792", "uptime": "302579"},
{"pid": "21469", "subscribers": "20537", "uptime": "302579"},
{"pid": "21470", "subscribers": "20671", "uptime": "302579"},
{"pid": "21471", "subscribers": "20752", "uptime": "302579"}
]}
Fixed with 1cdc01521ed
nginx v1.14.0 + nginx-push-stream-module v0.5.4:
I hope this helps you find the error !