Debugging Lynckia

I have installed Lynckia on a public server (open to the Internet). After some time it stops working. So, what are the troubleshooting/debugging techniques I can use to identify the reason why it is stopping? Are there any security steps I should take to let the server running on the Internet? The server is a Ubuntu 12.04 LTS 64 bits, in a “fresh install” were I only run SSH for remote access, nothing else. Then I run the suggested install steps from Lynckia site. Thanks, Moacir

Hi moacir,

The best way to diagnose lynckia at this stage is looking at the logs printed in the standard output of both nuve and the application (basicExample).
When installing lynckia on a server, there might be a problem with the ports available in the server you have installed lynckia in, soon we will have a configuration parameter to set a range of ports but right now it tries to use a random one. We usually open all udp ports at this stage to test it in the internet.

You said it works in the beginning, you mean you are able to establish webrtc connections and after a while it crashes? If that’s the case it’s a new bug, please send us the logs and we’ll see what it’s about.–
Pedro Rodriguez

El miércoles, 13 de marzo de 2013 a las 21:30, Moacir Ferreira escribió:

I have installed Lynckia on a public server (open to the Internet). After some time it stops working. So, what are the troubleshooting/debugging techniques I can use to identify the reason why it is stopping? Are there any security steps I should take to let the server running on the Internet? The server is a Ubuntu 12.04 LTS 64 bits, in a “fresh install” were I only run SSH for remote access, nothing else. Then I run the suggested install steps from Lynckia site.

Thanks,

Moacir

You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com (mailto:lynckia+unsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.

Hi again :slight_smile:

Ok, I understand now. Please do send us the logs so we can diagnose it. We have some servers running all the time for testing and we have not noticed that problem, hopefully you have found something new that we can fix :slight_smile:

As for the requirements, we still have to do some intensive profiling. However, the requirements are more tied to the amount of clients you want to connect than anything else.
Our main public test server (chotis2.dit.upm.es) is a Core 2 Duo 6600 (@2.4Ghz) with 1Gb of RAM and Ubuntu 64 12.04 and can successfully host the 4 public rooms easily. Should be able to move around 10 full videoconference rooms without any problems, being the CPU the limiting factor at this point. We are working on optimizing this values specially when it comes to streaming, after that, we will publish some charts to give you an idea on how lynckia behaves on different scenarios.

Regards–
Pedro Rodriguez

El jueves, 14 de marzo de 2013 a las 12:51, Moacir Ferreira escribió:

Thanks Pedro.

When I boot the server and start the example I can connect and establish a video conference, it works just great. Now, after few hours I go back (i.e.: to show Lynckia to a friend) and the example room is down (I notice that port 3001 was not open). So I reboot the server, restart the example and everything worked again.

As the server is not physically close to me, I don’t have the console access all the time. I will, however, let a SSH session open all the time so I can get some info to give you.

Now, can you share with us the minimum hardware specs for Lynckia?

Thanks,

Moacir

Date: Thu, 14 Mar 2013 11:18:58 +0100
From: lodoyun@gmail.com (mailto:lodoyun@gmail.com)
To: lynckia@googlegroups.com (mailto:lynckia@googlegroups.com)
Subject: RE: [lynckia] Debugging Lynckia

Hi moacir,

The best way to diagnose lynckia at this stage is looking at the logs printed in the standard output of both nuve and the application (basicExample).
When installing lynckia on a server, there might be a problem with the ports available in the server you have installed lynckia in, soon we will have a configuration parameter to set a range of ports but right now it tries to use a random one. We usually open all udp ports at this stage to test it in the internet.

You said it works in the beginning, you mean you are able to establish webrtc connections and after a while it crashes? If that’s the case it’s a new bug, please send us the logs and we’ll see what it’s about.


Pedro Rodriguez

El miércoles, 13 de marzo de 2013 a las 21:30, Moacir Ferreira escribió:

I have installed Lynckia on a public server (open to the Internet). After some time it stops working. So, what are the troubleshooting/debugging techniques I can use to identify the reason why it is stopping? Are there any security steps I should take to let the server running on the Internet? The server is a Ubuntu 12.04 LTS 64 bits, in a “fresh install” were I only run SSH for remote access, nothing else. Then I run the suggested install steps from Lynckia site.

Thanks,

Moacir


You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com (mailto:lynckia+unsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com (mailto:lynckia+unsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups “lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com (mailto:lynckia+unsubscribe@googlegroups.com).
For more options, visit https://groups.google.com/groups/opt_out.

Same here! And i dont know why.

четверг, 14 марта 2013 г., 15:51:49 UTC+4 пользователь moacir ferreira
написал:>

Thanks Pedro.

When I boot the server and start the example I can connect and establish a
video conference, it works just great. Now, after few hours I go back
(i.e.: to show Lynckia to a friend) and the example room is down (I notice
that port 3001 was not open). So I reboot the server, restart
the example and everything worked again.

As the server is not physically close to me, I don’t have the console
access all the time. I will, however, let a SSH session open all the time
so I can get some info to give you.

Now, can you share with us the minimum hardware specs for Lynckia?

Thanks,

Moacir


Date: Thu, 14 Mar 2013 11:18:58 +0100
From: lod...@gmail.com <javascript:>
To: lyn...@googlegroups.com <javascript:>
Subject: RE: [lynckia] Debugging Lynckia

Hi moacir,

The best way to diagnose lynckia at this stage is looking at the logs
printed in the standard output of both nuve and the application
(basicExample).
When installing lynckia on a server, there might be a problem with the
ports available in the server you have installed lynckia in, soon we will
have a configuration parameter to set a range of ports but right now it
tries to use a random one. We usually open all udp ports at this stage to
test it in the internet.

You said it works in the beginning, you mean you are able to establish
webrtc connections and after a while it crashes? If that’s the case it’s a
new bug, please send us the logs and we’ll see what it’s about.


Pedro Rodriguez

El miércoles, 13 de marzo de 2013 a las 21:30, Moacir Ferreira escribió:

I have installed Lynckia on a public server (open to the Internet).
After some time it stops working. So, what are the
troubleshooting/debugging techniques I can use to identify the reason why
it is stopping? Are there any security steps I should take to let the
server running on the Internet? The server is a Ubuntu 12.04 LTS 64 bits,
in a “fresh install” were I only run SSH for remote access, nothing else.
Then I run the suggested install steps from Lynckia site.

Thanks,

Moacir


You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+u...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
“lynckia” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lynckia+u...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks Pedro. When I boot the server and start the example I can connect and establish a video conference, it works just great. Now, after few hours I go back (i.e.: to show Lynckia to a friend) and the example room is down (I notice that port 3001 was not open). So I reboot the server, restart the example and everything worked again. As the server is not physically close to me, I don’t have the console access all the time. I will, however, let a SSH session open all the time so I can get some info to give you. Now, can you share with us the minimum hardware specs for Lynckia? Thanks, Moacir Date: Thu, 14 Mar 2013 11:18:58 +0100From: lodoyun@gmail.com
To: lynckia@googlegroups.com
Subject: RE: [lynckia] Debugging Lynckia

                Hi moacir,

The best way to diagnose lynckia at this stage is looking at the logs printed in the standard output of both nuve and the application (basicExample).When installing lynckia on a server, there might be a problem with the ports available in the server you have installed lynckia in, soon we will have a configuration parameter to set a range of ports but right now it tries to use a random one. We usually open all udp ports at this stage to test it in the internet.
You said it works in the beginning, you mean you are able to establish webrtc connections and after a while it crashes? If that’s the case it’s a new bug, please send us the logs and we’ll see what it’s about.

– Pedro Rodriguez

            El miércoles, 13 de marzo de 2013 a las 21:30, Moacir Ferreira escribió:

I have installed Lynckia on a public server (open to the Internet). After some time it stops working. So, what are the troubleshooting/debugging techniques I can use to identify the reason why it is stopping? Are there any security steps I should take to let the server running on the Internet? The server is a Ubuntu 12.04 LTS 64 bits, in a “fresh install” were I only run SSH for remote access, nothing else. Then I run the suggested install steps from Lynckia site.

Thanks,

Moacir

You received this message because you are subscribed to the Google Groups “lynckia” group.

To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

You received this message because you are subscribed to the Google Groups “lynckia” group.

To unsubscribe from this group and stop receiving emails from it, send an email to lynckia+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Hi,

As for the requirements, we still have to do some intensive profiling.

However, the requirements are more tied to the amount of clients you want
to connect than anything else.
Our main public test server (chotis2.dit.upm.es) is a Core 2 Duo 6600
(@2.4Ghz) with 1Gb of RAM and Ubuntu 64 12.04 and can successfully host the
4 public rooms easily. Should be able to move around 10 full
videoconference rooms without any problems, being the CPU the limiting
factor at this point. We are working on optimizing this values specially
when it comes to streaming, after that, we will publish some charts to give
you an idea on how lynckia behaves on different scenarios.

Very interesting. Looking forward for the charts and the intensive
profiling.

In January, using a 32bits Ubuntu, we did some unscientific tests with
Lynckia running locally on an i3-2120 3.3GHz (2 physical core, 4 logical
cores) with 8Go of RAM.
We were able to setup a room with 30 streams without problems: 1 publisher,
and 29 subscribers.
The 29 subscribers were actually spread on… 4 local computers, including
the Lynckia server - each one of them with a bunch of opened Chrome tabs.

Achraf.