You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by "R. Scholz" <re...@abakus-edv-systems.de> on 2020/04/23 17:12:36 UTC

OM stability

Hello,

after my unpleasant webinar in the morning I restarted my OM-Server.
In the evening I had a conference with three members.

All are invited with invitations and have no further rights - only cam + 
mic. No presentation.

One of them are in Netherlands, the others in Germany.

This one in Netherlands had in 2 hours three video/audio terminations.
(I asked my colleagues (the two one in Germany) to have a look when it 
seems that a porblem appear.)

They told me that at first the voice "clank", then audio go away 
completely and the video is "freezing".
No way back, no correction.
After he makes a new login into the room all is OK. No new connection 
appears, in the "admin/connections" I only saw that
the "connectedSince-value" is changed.

(After that the Netherland-CEO (what a crazy fool) said that he had with 
Zoom never such aborts.
OK, Zoom have a lot of servers worldwide.)

Is there a possibility to make our OM more tolerant? Or more stable?
Where is the problem? My first idea is Kurento. But is it? When I have a 
look with "htop" I see sometimes Coturn with a little CPU-load.

My system:
Internet: 1GBit sym.

OM 5.0.0-M4-SNAPSHOT
Revision 96d9435
Builddate 2020-04-14T16:48:43Z

Kurento: 6.13.0

Coturn: 4.5.0.7

CPU: i3, 8GB RAM, SSD 1TB

Best regards,

René

Re: OM stability

Posted by Maxim Solodovnik <so...@gmail.com>.
Sebastian,

the code is here
https://github.com/apache/openmeetings/blob/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/raw-video.js#L115
We are subscribed to WebRTC events

@Rene,
All apps works better if there are some free memory i.e. if app *can*
work in 2GB of memory I would limit it with 4GB
In your case
8 participants in the room
will produce 64 "streams" on server
*if* there will be both Mac and not Mac users transcoding will happen
In case there will be TURN involved (not STUN) it will produce more streams

so I guess your HW might need to be upgraded
you always can compare with demo-next

According to "Can anybody give me a hint where I can set this?"
It depends on your startup script
for ex. here https://github.com/apache/openmeetings/blob/master/openmeetings-server/src/main/assembly/scripts/openmeetings.service#L31
Memory is set: 1GB minimum, 4GB maximum

On Fri, 24 Apr 2020 at 12:19, R. Scholz
<re...@abakus-edv-systems.de> wrote:
>
> Hello,
>
> how much memory our OM5 used in the default-settings?
>
> Maxim wrote "I would set memory for OM to be 8GB, so you need system with 16+GB".
> Can anybody give me a hint where I can set this?
>
> Best regards,
>
> René
>
>
> On Fri, 24 Apr 2020 at 06:47, R. Scholz <re...@abakus-edv-systems.de> wrote:
>>
>> Hello Maxim,
>>
>> thank you, I will give it a try.
>>
>> My "htop" said that I only use 2GB /8GB.
>> So I thought all is fine.
>>
>> How can I increase the setting of OM to 8GB?
>>
>> Best regards,
>>
>> René
>>
>>
>> Am 23.04.2020 um 19:44 schrieb Maxim Solodovnik:
>> > Hello Rene,
>> >
>> > I don't remember if version from 04-14 performs steam reconnects ...
>> > If not I would suggest to upgrade to M4 release (you can use your DB
>> > without import/export)
>> > i3+8GB RAM might need upgrade
>> > I would set memory for OM to be 8GB, so you need system with 16+GB
>> > not sure how powerful is your i3 ... this need to be monitored
>> >
>> > On Fri, 24 Apr 2020 at 00:12, R. Scholz
>> > <re...@abakus-edv-systems.de> wrote:
>> >> Hello,
>> >>
>> >> after my unpleasant webinar in the morning I restarted my OM-Server.
>> >> In the evening I had a conference with three members.
>> >>
>> >> All are invited with invitations and have no further rights - only cam + mic. No presentation.
>> >>
>> >> One of them are in Netherlands, the others in Germany.
>> >>
>> >> This one in Netherlands had in 2 hours three video/audio terminations.
>> >> (I asked my colleagues (the two one in Germany) to have a look when it seems that a porblem appear.)
>> >>
>> >> They told me that at first the voice "clank", then audio go away completely and the video is "freezing".
>> >> No way back, no correction.
>> >> After he makes a new login into the room all is OK. No new connection appears, in the "admin/connections" I only saw that
>> >> the "connectedSince-value" is changed.
>> >>
>> >> (After that the Netherland-CEO (what a crazy fool) said that he had with Zoom never such aborts.
>> >> OK, Zoom have a lot of servers worldwide.)
>> >>
>> >> Is there a possibility to make our OM more tolerant? Or more stable?
>> >> Where is the problem? My first idea is Kurento. But is it? When I have a look with "htop" I see sometimes Coturn with a little CPU-load.
>> >>
>> >> My system:
>> >> Internet: 1GBit sym.
>> >>
>> >> OM 5.0.0-M4-SNAPSHOT
>> >> Revision 96d9435
>> >> Builddate 2020-04-14T16:48:43Z
>> >>
>> >> Kurento: 6.13.0
>> >>
>> >> Coturn: 4.5.0.7
>> >>
>> >> CPU: i3, 8GB RAM, SSD 1TB
>> >>
>> >> Best regards,
>> >>
>> >> René
>> >
>> >
>>
>


-- 
Best regards,
Maxim

Re: OM stability

Posted by "R. Scholz" <re...@abakus-edv-systems.de>.
Hello,

how much memory our OM5 used in the default-settings?

Maxim wrote /"I would set memory for OM to be 8GB, so you need system 
with 16+GB"/.
Can anybody give me a hint where I can set this?

Best regards,

René


> On Fri, 24 Apr 2020 at 06:47, R. Scholz 
> <rene.scholz@abakus-edv-systems.de 
> <ma...@abakus-edv-systems.de>> wrote:
>
>     Hello Maxim,
>
>     thank you, I will give it a try.
>
>     My "htop" said that I only use 2GB /8GB.
>     So I thought all is fine.
>
>     How can I increase the setting of OM to 8GB?
>
>     Best regards,
>
>     René
>
>
>     Am 23.04.2020 um 19:44 schrieb Maxim Solodovnik:
>     > Hello Rene,
>     >
>     > I don't remember if version from 04-14 performs steam reconnects ...
>     > If not I would suggest to upgrade to M4 release (you can use your DB
>     > without import/export)
>     > i3+8GB RAM might need upgrade
>     > I would set memory for OM to be 8GB, so you need system with 16+GB
>     > not sure how powerful is your i3 ... this need to be monitored
>     >
>     > On Fri, 24 Apr 2020 at 00:12, R. Scholz
>     > <rene.scholz@abakus-edv-systems.de
>     <ma...@abakus-edv-systems.de>> wrote:
>     >> Hello,
>     >>
>     >> after my unpleasant webinar in the morning I restarted my
>     OM-Server.
>     >> In the evening I had a conference with three members.
>     >>
>     >> All are invited with invitations and have no further rights -
>     only cam + mic. No presentation.
>     >>
>     >> One of them are in Netherlands, the others in Germany.
>     >>
>     >> This one in Netherlands had in 2 hours three video/audio
>     terminations.
>     >> (I asked my colleagues (the two one in Germany) to have a look
>     when it seems that a porblem appear.)
>     >>
>     >> They told me that at first the voice "clank", then audio go
>     away completely and the video is "freezing".
>     >> No way back, no correction.
>     >> After he makes a new login into the room all is OK. No new
>     connection appears, in the "admin/connections" I only saw that
>     >> the "connectedSince-value" is changed.
>     >>
>     >> (After that the Netherland-CEO (what a crazy fool) said that he
>     had with Zoom never such aborts.
>     >> OK, Zoom have a lot of servers worldwide.)
>     >>
>     >> Is there a possibility to make our OM more tolerant? Or more
>     stable?
>     >> Where is the problem? My first idea is Kurento. But is it? When
>     I have a look with "htop" I see sometimes Coturn with a little
>     CPU-load.
>     >>
>     >> My system:
>     >> Internet: 1GBit sym.
>     >>
>     >> OM 5.0.0-M4-SNAPSHOT
>     >> Revision 96d9435
>     >> Builddate 2020-04-14T16:48:43Z
>     >>
>     >> Kurento: 6.13.0
>     >>
>     >> Coturn: 4.5.0.7
>     >>
>     >> CPU: i3, 8GB RAM, SSD 1TB
>     >>
>     >> Best regards,
>     >>
>     >> René
>     >
>     >
>


Re: OM stability

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
I'm quite keen to figure out what kind of events can be monitored in the
log that could help to:
 - Add some more information to the user when bandwidth or connection
issues come up. Like a "reconnecting" modal or sth
 - How we can reconstruct this scenario without doing a 2h live test

@Maxim Solodovnik <so...@gmail.com> You mention some reconnection
logic, can you point to the stream-reconnect logic ? Whats the event that
triggers it ? Is it a Kurento event or ?
Would it trigger on any kind of connection (Audio/Video and Screen) ?
Would it trigger differently depending on if the issue is on the sender vs
the receiver side of the stream ? There must be different logic depending
on which side the issue is.


Cheers
Seb

Sebastian Wagner
https://www.linkedin.com/in/sebastianwagner/


On Fri, 24 Apr 2020 at 06:47, R. Scholz <re...@abakus-edv-systems.de>
wrote:

> Hello Maxim,
>
> thank you, I will give it a try.
>
> My "htop" said that I only use 2GB /8GB.
> So I thought all is fine.
>
> How can I increase the setting of OM to 8GB?
>
> Best regards,
>
> René
>
>
> Am 23.04.2020 um 19:44 schrieb Maxim Solodovnik:
> > Hello Rene,
> >
> > I don't remember if version from 04-14 performs steam reconnects ...
> > If not I would suggest to upgrade to M4 release (you can use your DB
> > without import/export)
> > i3+8GB RAM might need upgrade
> > I would set memory for OM to be 8GB, so you need system with 16+GB
> > not sure how powerful is your i3 ... this need to be monitored
> >
> > On Fri, 24 Apr 2020 at 00:12, R. Scholz
> > <re...@abakus-edv-systems.de> wrote:
> >> Hello,
> >>
> >> after my unpleasant webinar in the morning I restarted my OM-Server.
> >> In the evening I had a conference with three members.
> >>
> >> All are invited with invitations and have no further rights - only cam
> + mic. No presentation.
> >>
> >> One of them are in Netherlands, the others in Germany.
> >>
> >> This one in Netherlands had in 2 hours three video/audio terminations.
> >> (I asked my colleagues (the two one in Germany) to have a look when it
> seems that a porblem appear.)
> >>
> >> They told me that at first the voice "clank", then audio go away
> completely and the video is "freezing".
> >> No way back, no correction.
> >> After he makes a new login into the room all is OK. No new connection
> appears, in the "admin/connections" I only saw that
> >> the "connectedSince-value" is changed.
> >>
> >> (After that the Netherland-CEO (what a crazy fool) said that he had
> with Zoom never such aborts.
> >> OK, Zoom have a lot of servers worldwide.)
> >>
> >> Is there a possibility to make our OM more tolerant? Or more stable?
> >> Where is the problem? My first idea is Kurento. But is it? When I have
> a look with "htop" I see sometimes Coturn with a little CPU-load.
> >>
> >> My system:
> >> Internet: 1GBit sym.
> >>
> >> OM 5.0.0-M4-SNAPSHOT
> >> Revision 96d9435
> >> Builddate 2020-04-14T16:48:43Z
> >>
> >> Kurento: 6.13.0
> >>
> >> Coturn: 4.5.0.7
> >>
> >> CPU: i3, 8GB RAM, SSD 1TB
> >>
> >> Best regards,
> >>
> >> René
> >
> >
>
>

Re: OM stability

Posted by "R. Scholz" <re...@abakus-edv-systems.de>.
Hello Maxim,

thank you, I will give it a try.

My "htop" said that I only use 2GB /8GB.
So I thought all is fine.

How can I increase the setting of OM to 8GB?

Best regards,

René


Am 23.04.2020 um 19:44 schrieb Maxim Solodovnik:
> Hello Rene,
>
> I don't remember if version from 04-14 performs steam reconnects ...
> If not I would suggest to upgrade to M4 release (you can use your DB
> without import/export)
> i3+8GB RAM might need upgrade
> I would set memory for OM to be 8GB, so you need system with 16+GB
> not sure how powerful is your i3 ... this need to be monitored
>
> On Fri, 24 Apr 2020 at 00:12, R. Scholz
> <re...@abakus-edv-systems.de> wrote:
>> Hello,
>>
>> after my unpleasant webinar in the morning I restarted my OM-Server.
>> In the evening I had a conference with three members.
>>
>> All are invited with invitations and have no further rights - only cam + mic. No presentation.
>>
>> One of them are in Netherlands, the others in Germany.
>>
>> This one in Netherlands had in 2 hours three video/audio terminations.
>> (I asked my colleagues (the two one in Germany) to have a look when it seems that a porblem appear.)
>>
>> They told me that at first the voice "clank", then audio go away completely and the video is "freezing".
>> No way back, no correction.
>> After he makes a new login into the room all is OK. No new connection appears, in the "admin/connections" I only saw that
>> the "connectedSince-value" is changed.
>>
>> (After that the Netherland-CEO (what a crazy fool) said that he had with Zoom never such aborts.
>> OK, Zoom have a lot of servers worldwide.)
>>
>> Is there a possibility to make our OM more tolerant? Or more stable?
>> Where is the problem? My first idea is Kurento. But is it? When I have a look with "htop" I see sometimes Coturn with a little CPU-load.
>>
>> My system:
>> Internet: 1GBit sym.
>>
>> OM 5.0.0-M4-SNAPSHOT
>> Revision 96d9435
>> Builddate 2020-04-14T16:48:43Z
>>
>> Kurento: 6.13.0
>>
>> Coturn: 4.5.0.7
>>
>> CPU: i3, 8GB RAM, SSD 1TB
>>
>> Best regards,
>>
>> René
>
>


Re: OM stability

Posted by Maxim Solodovnik <so...@gmail.com>.
Hello Rene,

I don't remember if version from 04-14 performs steam reconnects ...
If not I would suggest to upgrade to M4 release (you can use your DB
without import/export)
i3+8GB RAM might need upgrade
I would set memory for OM to be 8GB, so you need system with 16+GB
not sure how powerful is your i3 ... this need to be monitored

On Fri, 24 Apr 2020 at 00:12, R. Scholz
<re...@abakus-edv-systems.de> wrote:
>
> Hello,
>
> after my unpleasant webinar in the morning I restarted my OM-Server.
> In the evening I had a conference with three members.
>
> All are invited with invitations and have no further rights - only cam + mic. No presentation.
>
> One of them are in Netherlands, the others in Germany.
>
> This one in Netherlands had in 2 hours three video/audio terminations.
> (I asked my colleagues (the two one in Germany) to have a look when it seems that a porblem appear.)
>
> They told me that at first the voice "clank", then audio go away completely and the video is "freezing".
> No way back, no correction.
> After he makes a new login into the room all is OK. No new connection appears, in the "admin/connections" I only saw that
> the "connectedSince-value" is changed.
>
> (After that the Netherland-CEO (what a crazy fool) said that he had with Zoom never such aborts.
> OK, Zoom have a lot of servers worldwide.)
>
> Is there a possibility to make our OM more tolerant? Or more stable?
> Where is the problem? My first idea is Kurento. But is it? When I have a look with "htop" I see sometimes Coturn with a little CPU-load.
>
> My system:
> Internet: 1GBit sym.
>
> OM 5.0.0-M4-SNAPSHOT
> Revision 96d9435
> Builddate 2020-04-14T16:48:43Z
>
> Kurento: 6.13.0
>
> Coturn: 4.5.0.7
>
> CPU: i3, 8GB RAM, SSD 1TB
>
> Best regards,
>
> René



-- 
Best regards,
Maxim