I set up a video streaming system
The system runs for a few hours and then stops by itself.
I used it with GDB I only saw inputs and outputs, no other errors
I’m using systemd I set it to restart when something abnormal happens but it doesn’t work
I am using the system with websocket
When I check websocket data only the following data is happening
{“janus”:“create”,“transaction”:“qBIQcSZcjeqa”}
I can’t login to janus/info site until I restart it manually
LOG is a data like 9gb, so I can’t examine it (approximate log sizes are always this much)
As unlikely as it may be, there may be a deadlock, and that’s something you can investigate with gdb: just attach to the process when it’s not responding, and show the threads, and you may find one stuck somewhere, e.g. on a mutex or something else.
I don’t see any crash, I see the transport plugin unloading, which only happens when Janus is shutting down. Maybe you have something that sends a SIGINT or SIGTERM to Janus on that machine?
yes i misunderstood
when it crashes i can use websocket
websocket is connecting, I sent a command to create a room but no response
I’ll do some research with gdb and let you know if I come across anything.
I found a small solution so that users do not suffer
I’m trying to connect /info to your Janus system, the page is blank, I detect it and reboot the system automatically
Can you review this log in your available time?
I got the log that occurred before it crashed
I divided the log 45gb into these log parts and shared the last part with you, since I saw destroy (“Forced to stop it here…”) in the last part, I thought the problem would be around here.
I just use JANUS on this linux server
When the system freezes, I reload the server with the bot and that’s it.
info page cannot be linked if a stop function is used
but when the system freezes, blank page data comes from the info page link
Since the system is working normally now, the info panel shows the data with json data.
I created a SIGTERM and SIGINT log, I will know if it is due to this.