meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.17k stars 2.47k forks source link

[1.x] #3217

Closed xunlujiehuo closed 1 year ago

xunlujiehuo commented 1 year ago

What version of Janus is this happening on? janus-gateway-1.1.3 libmicrohttpd-0.9.74

Have you tested a more recent version of Janus too? No

Is there a gdb or libasan trace of the issue? no

Additional context

I used the pressure-test tool to pressure-test video room to janus, but when I pushed more than 100 streams, janus closed the http connection that had already been successfully connected. This creates pressure measuring tool will report error "polling err Get" http://192.168.0.160:8088/janus/7984153289777271? rid=1683530044444&maxev=1": dial tcp 192.168.0.160:8088: connect: connection reset by peer ".
The janus side also clears the expired session, and there are no more error messages. I set mhd_connection_limit = 50000 on the janus side, and the firewall is turned off. I am confused as to why janus would close these already established connections.

xunlujiehuo commented 1 year ago

My videroom publishers configuration is 5000

lminiero commented 1 year ago

I have no idea what this pressure-test is or what it does, sorry. The info you provided, on its own, isn't enough for me to figure out what (if anything) is going wrong.