Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random issues with getting statistics #325

Open
OlexTratisky opened this issue Feb 13, 2021 · 2 comments
Open

Random issues with getting statistics #325

OlexTratisky opened this issue Feb 13, 2021 · 2 comments

Comments

@OlexTratisky
Copy link

Hello,
I am running the following config and sometimes when i try to get http://localhost:8899 i get statistics with missing publishers. This happens very randomly can you please advise what could be the issue ? i am running worker 1

user root;
worker_processes 1;

error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;

events {
worker_connections 1024;
#worker_connections 768;
}

http {
include mime.types;
default_type application/octet-stream;

    #sendfile        off;
    sendfile        on;
    #tcp_nopush     on;
    tcp_nopush     on;

server {
listen 8899;

            location /stat {
            rtmp_stat all;
            rtmp_stat_stylesheet stat.xsl;
            }
    }

rtmp {

    server {

            listen 1935;
            chunk_size 128;
            notify_method get;

            application testtv {
                    live on;
                    wait_key on;
                    wait_video on;
                    drop_idle_publisher 6s;
                    allow play 127.0.0.1;
                    on_publish_done ...
                    on_publish ...
                    exec_push ...

            }
@OlexTratisky
Copy link
Author

Also please note that i send a lot of requests to statistics like 10 per seconds can this be the issue?

@golyalpha
Copy link

I have done something of the sort in the past, and haven't noticed any issues like this - are you sure the publisher wasn't getting dropped because of some other reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants