meetecho / janus-gateway

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

[1.x] Janus stops responding after few days of uptime #3240

Closed NabilHunt closed 1 year ago

NabilHunt commented 1 year ago

I am running Janus as a service, and using videoroom plugin in my application. But it would stop reponding after days of uptime, and restarting would fix the problem (although it’s not a real fix). Here is the last log I got after it stopped responding: janus service logs

This isn't under heavy use, for the moment it's just running in test context

lminiero commented 1 year ago

Sorry for the late reply, looks like this issue flew under my radar and I missed it. This log doesn't give any indication on what's going wrong, but what I can see is that you're most definitely getting a lot of spam or requests that have very little to do with Janus. I'd encourage you to put a frontend like nginx or httpd in front of it to filter it out, so that Janus only gets Janus API requests.

atoppi commented 1 year ago

@NabilHunt since you are using the videoroom plugin, it's worth trying a recent version now that #3247 has been merged.

lminiero commented 1 year ago

@NabilHunt did you check the latest version as Alessandro suggested?

lminiero commented 1 year ago

Closing.