idle session timeout

1,608 views
Skip to first unread message

Charles Howard

unread,
Mar 17, 2013, 4:07:44 PM3/17/13
to bigblueb...@googlegroups.com
Hi Fred

If I leave my session idle, during a break, it gets disconnect.
Can you tell me where the idle session timeout is.


Thanks

Charlie

Fred Dixon

unread,
Mar 17, 2013, 4:35:30 PM3/17/13
to BigBlueButton-dev
Hi Charlie,

As long as you have one person connected in a session, it should remain active (unless the BigBlueButton server has been explicitly told to end the meeting after x minutes).

To put another way, the sessions on BigBlueButton are not permanent.  Once created, they begin when the first person joins, and end whenever one of the following conditions are met:

   - The length of the session has exceeded the length (in minutes) for the duration parameter passed during the 'create' API call
   - The BigBlueButton server has received an 'end' API call for the meeting
   - The meeting has no users


We have designed BigBlueButton so it doesn't retain state between sessions.  Once one of the above conditions are met, the session is soon wiped from memory by the BigBlueButton server, and any recordings are processed by the recording scripts.

Consider if we did try to make the sessions stateful; that is, consider if the BigBlueButton server would all state between meetings (the idea here is having persistent meetings).  BigBlueButton would need to store and retrieve the state of a meeting from a database, and have provisions for loading it at the point the last meeting ended.  Furthermore, you would need tools to backup and restore the state as you moved BigBlueButton servers.   Also, when the server is upgraded, the upgrade scripts would have to upgrade the stored meetings for new capabilities.  All this capability would (significantly) increase the complexity of development and testing.

So, by keeping the rooms stateless, it greatly simplifies the design and development of the server.   


Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.






Charles Howard

unread,
Mar 18, 2013, 9:59:27 AM3/18/13
to bigblueb...@googlegroups.com
Hi Fred

Thanks for your reply.

I don't have a problem with BBB being stateless. I chose to use it because it
has a 'simple' easy to use design.

I just assumed there was an idle session time out because I know there are
other 'time outs' and because of what I'm experiencing.

I have sessions which last all day; 9 till 5.
Often all attendees log off at lunch time so it might be two half day sessions.

During coffee breaks (20-30 min) no one logs off.
However, if I turn my microphone off so there is no active audio or video
input from my session, the session disconnects during the coffee break. If I
leave the microphone on (ambient noise) the session doesn't disconnect.

This is somewhat annoying when it happens as I have to reload my slides.

Any Ideas?

Thanks.

Charlie

HostBBB.com

unread,
Mar 18, 2013, 11:20:29 AM3/18/13
to BigBlueButton-dev
Is the entire BBB meeting logging out, or just the audio connection
in listeners window?

regards,
Stephen

On Mar 18, 9:59 am, Charles Howard <charlie...@journeysend.co.uk>
wrote:

Fred Dixon

unread,
Mar 18, 2013, 11:46:05 AM3/18/13
to BigBlueButton-dev
Hi Charles,

> However, if I turn my microphone off so there is no active audio or video
> input from my session, the session disconnects during the coffee break. If I
> leave the microphone on (ambient noise) the session doesn't disconnect.

Hmmm... that does not sound right.  As long as you have someone in the session, the meeting should persist.

We'll test it on our end and try to reproduce.  If it's indeed a bug, we'll open an issue and work on figuring out why it's disconnecting.



Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

Charles Howard

unread,
Mar 18, 2013, 12:25:27 PM3/18/13
to bigblueb...@googlegroups.com
Hi Fred

I'm not sure I made myself clear in my previous email.

The meeting does persist only my session is disconnected and I have to rejoin
the other delegates who are still in the meeting.

Regards

Charlie

On Monday 18 March 2013 15:46:05 Fred Dixon wrote:
> Hi Charles,
>
> > However, if I turn my microphone off so there is no active audio or video
> > input from my session, the session disconnects during the coffee break.
>
> If I
>
> > leave the microphone on (ambient noise) the session doesn't disconnect.
>
> Hmmm... that does not sound right. As long as you have someone in the
> session, the meeting should persist.
>
> We'll test it on our end and try to reproduce. If it's indeed a bug, we'll
> open an issue and work on figuring out why it's disconnecting.
>
>
>
> Regards,... Fred
>

Charles Howard

unread,
Mar 18, 2013, 12:31:20 PM3/18/13
to bigblueb...@googlegroups.com
HI Stephen

No, the meeting continues and all other attendees are unaffected.
My browser has the little 'logged out' dialogue box as if I had pressed the
logout button.

I assumed this was just a parameter issue but if it might be a bug I will do
some testing and note exactly what is happening.

Regards

Charlie

HostBBB.com

unread,
Mar 20, 2013, 10:00:00 AM3/20/13
to BigBlueButton-dev
Is your client Windows 7

http://code.google.com/p/bigbluebutton/wiki/FAQ#Users_on_Windows_7_get_disconnected_after_a_minute

These is an issue where client would disconnect due to router settings
in LAN network, that can be fixed with running command in DOS
shell.

Stephen

On Mar 18, 12:31 pm, Charles Howard <charlie...@journeysend.co.uk>
wrote:

Charles Howard

unread,
Mar 20, 2013, 10:22:16 AM3/20/13
to bigblueb...@googlegroups.com
Hi Stephen

No, I'm using Chromium on Debian.
Also the teredo looks like it gives rise to regular disconnections. My client
only disconnects when I turn the microphone off for a while otherwise I can
stall connected all day.

I haven't had time to do any proper investigation yet,
It's not a show stopper for me just an irritation when it happens.
My obvious work around is simply not to turn the mic off.

When I get a minute I will try and get exact timings out of it and put some
tracing on the logs and the network traffic.

Do you have a list of logs you would like me to grab or tracing you would like
me to turn on?



Regards

charlie

HostBBB.com

unread,
Mar 20, 2013, 6:50:29 PM3/20/13
to BigBlueButton-dev
freeswitch has rtp timers that expire after certain amount of
silence. I think this was fixed in BBB config a while back. but
that is just the audio in listeners so that's not it. Felipe had this
in global audio feature of mconf, but added a fix to send packets.

What about power savings settings on computer, you can set the
profiles to shut down disk, network, monitor etc, in debian
desktop. LIke in windows?

Does it happen on more than 1 debian desktop

Regards,
Stephen

On Mar 20, 10:22 am, Charles Howard <charlie...@journeysend.co.uk>
wrote:
> Hi Stephen
>
> No, I'm using Chromium on Debian.
> Also the teredo looks like it gives rise to regular disconnections. My client
> only disconnects when I turn the microphone off for a while otherwise I can
> stall connected all day.
>
> I haven't had time to do any proper investigation yet,
> It's not a show stopper for me just an irritation when it happens.
> My obvious work around is simply not to turn the mic off.
>
> When I get a minute I will try and get exact timings out of it and put some
> tracing on the logs and the network traffic.
>
> Do you have a list of logs you would like me to grab or tracing you would like
> me to turn on?
>
> Regards
>
> charlie
>
> On Wednesday 20 March 2013 14:00:00 HostBBB.com wrote:
>
>
>
>
>
>
>
> > Is your client Windows 7
>
> >http://code.google.com/p/bigbluebutton/wiki/FAQ#Users_on_Windows_7_ge...

Charles Howard

unread,
Mar 20, 2013, 7:44:31 PM3/20/13
to bigblueb...@googlegroups.com
Hi Stephen

I'm the only one running Debian/Linux all the students logging in have been
using various shades of windows.

Can't say if any of the power saving had kicked in as I wasn't taking note of
it at the time. I'll see if I can do a little testing tomorrow.

Regards

Charlie
Message has been deleted

Fred Dixon

unread,
May 23, 2023, 7:33:25 AM5/23/23
to bigblueb...@googlegroups.com
Hey Enes,

Posting the same question to multiple threads just causes extra work for the moderators.  See our answer in your previous thread



Regards,... Fred

On Tue, May 23, 2023 at 4:06 AM Enes Sijaric <enes.si...@gmail.com> wrote:
if we pass duration param to the session, can we expand it during session?


--
Co-founder BigBlueButton

Like BigBlueButton?  Tweet us at @bigbluebutton
Reply all
Reply to author
Forward
Message has been deleted
0 new messages