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

Jicofo stats - conference/participant = 1 when no conference is started #861

Closed
pandel opened this issue Jan 11, 2022 · 4 comments
Closed

Comments

@pandel
Copy link

pandel commented Jan 11, 2022

Hi!

My Jicofo version: 1.0-832-1 (Octo enabled, two bridges)

When no conference is running, the REST stats endpoint reports wrong counts for conferences and participants

root@aee438f1cacc:/# curl localhost:8888/stats
{"xmpp_service":{"total_recv":99650,"total_sent":61301},"jibri_detector":{"count":0,"available":0},"largest_conference":1,"conference_sizes":[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"total_conferences_created":17,"threads":225,"xmpp":{"total_recv":99650,"total_sent":61301},"jingle":{"received":{"source-add":1,"transport-info":45,"session-accept":36},"sent":{"session-initiate":36,"source-add":60,"session-terminate":2}},"bridge_failures":{"participants_moved":0,"bridges_removed":0},"avg_allocate_channels_req_time_nanos":0.0,"total_participants":42,"participant_notifications":{"ice_failed":0,"request_restart":0},"queues":{"jibri-iq-queue":{"added_packets":0,"removed_packets":0,"dropped_packets":0,"queue_size_at_remove":{"average_queue_size_at_remove":null,"max_queue_size_at_remove":0,"total_value":0,"total_count":0,"buckets":{"<= 0":0,"<= 1":0,"<= 4":0,"<= 16":0,"<= 64":0,"<= 256":0,"<= 1024":0,"<= 4096":0,"<= 16384":0,"> 16384":0,"p99<=":-1,"p999<=":-1}}}},"jigasi":{},"bridge_selector":{"total_least_loaded_in_region":0,"total_split_due_to_load":0,"lost_bridges":2,"total_not_loaded_in_region_in_conference":0,"in_shutdown_bridge_count":0,"total_least_loaded_in_region_in_conference":0,"total_not_loaded_in_region":0,"total_split_due_to_region":0,"bridge_count":2,"operational_bridge_count":2,"total_least_loaded_in_conference":0,"total_least_loaded":0},"jibri":{"total_sip_call_failures":0,"live_streaming_pending":0,"recording_pending":0,"live_streaming_active":0,"total_recording_failures":0,"sip_call_pending":0,"sip_call_active":0,"total_live_streaming_failures":0,"recording_active":0},"conferences":1,"participants":1,"slow_health_check":0}

That seems as a bug to me, but I am not able to analyze the code to understand what is going on here.

Regards,
Holger

@bgrozev
Copy link
Member

bgrozev commented Jan 11, 2022

This is expected if you have a tab open with a single participant (there's no conference running, but jicofo has a conference object with one participant).

@pandel
Copy link
Author

pandel commented Jan 11, 2022

I did not have any tab opened at that time and after I restarted Jicofo everything seemed to be correct.

Is there any way to find out more about this single conference/participant? I tried to find some information via the log, but there is simply too much data inside the log and I don't really know how to filter it to narrow it down.

@bgrozev
Copy link
Member

bgrozev commented Jan 11, 2022

Since version 840 you can query /debug and /debug/conference/<CONFERENCE_ID> to get more info.

It could have been a conference that wasn't cleaned yet (the timeout is 20 seconds), or some sort of leak. If you share some logs I can take a look (you can remove personal info and/or email support at jitsi dot org)

@pandel
Copy link
Author

pandel commented Jan 11, 2022

Many thanks for the info! I am on 832 (stable Debian 11) right now. If I get to 840, I'll give it a try!

@pandel pandel closed this as completed Jan 11, 2022
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