Janus Gateway Stop Responding (pateping attached)

226 views
Skip to first unread message

Firas Abd Alrahman

unread,
Jun 16, 2017, 12:30:01 PM6/16/17
to meetecho-janus
HI;
I have room talk application, it works fine, but sometimes I receive 'connection refused' until I restart the gateway.

here is the last 500 lines of log : 

concurrent users ~ 15 all using audiobridge plugin.

Thank you!

Mirko Brankovic

unread,
Jun 16, 2017, 1:37:55 PM6/16/17
to meetecho-janus
Just out of curiosity, do you have a websocket keepalive running for each websocket connection, since I don't see them in logs.

--
You received this message because you are subscribed to the Google Groups "meetecho-janus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to meetecho-janus+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Lorenzo Miniero

unread,
Jun 16, 2017, 2:38:44 PM6/16/17
to meetecho-janus

Firas Abd Alrahman

unread,
Jun 16, 2017, 6:27:26 PM6/16/17
to meetecho-janus
Thank you
I rebuilt libwebsocket then janus and it is undertest right now

#libwebsockets rebuild 

sudo apt-get install git cmake
sudo apt-get remove libwebsockets-dev

sudo apt-get install libssl-dev

cd ~
mkdir build
cd build


cd libwebsockets

cmake -LWS_MAX_SMP=1 .
make
sudo make install
ldconfig

Firas Abd Alrahman

unread,
Jun 17, 2017, 7:01:49 PM6/17/17
to meetecho-janus
Crashed again (after rebuilding libwebsockets with LWS_MAX_SMP=1 and janus) !!

Here is the last 1000 line of janus log


Ubuntu 64 bit.

On Friday, June 16, 2017 at 7:30:01 PM UTC+3, Firas Abd Alrahman wrote:

Mike

unread,
Jun 18, 2017, 12:09:28 PM6/18/17
to meetecho-janus
The commands listed in https://groups.google.com/d/msg/meetecho-janus/k8LFsSXDRos/7AWvRqTAAwAJ show that you used

cmake -LWS_MAX_SMP=1 .

To set the LWS_MAX_SMP variable you'll have to use the -D parameter as follows;

cmake -DLWS_MAX_SMP=1 .

Note that the variable will be listed after cmake runs so you can verify this was actually set

Firas Abd Alrahman

unread,
Jun 19, 2017, 6:19:02 AM6/19/17
to meetecho-janus
Thank you Michael!

se...@missionlabs.co.uk

unread,
Nov 7, 2017, 12:19:41 PM11/7/17
to meetecho-janus
Sorry for jumping on an old thread, I'm trying to apply the same fix as above. I've rebuilt libwebsockets with the DLWS_MAX_SMP flag, is it then necessary to rebuild janus?

Also, is there a way to check the value of this flag for an already installed libwebsockets library or confirm what version of libwebsockets Janus is using?

Thanks,
Sean
Reply all
Reply to author
Forward
0 new messages