bigbluebutton / bigbluebutton

Complete open source web conferencing system.
https://bigbluebutton.org
GNU Lesser General Public License v3.0
8.55k stars 5.95k forks source link

BBB disconnects from FS ESL #1822

Closed bigbluebutton-issue-import closed 9 years ago

bigbluebutton-issue-import commented 9 years ago

Originally reported on Google Code with ID 1067

On demo server, the listener window stop updating.

Looking at the /ust/share/red5/log/bigbluebtutton.log, the FS Heartbeat time-out and
when attempting to reconnect to port 8021 fails.

2011-11-14 09:32:56,413 [NioProcessor-1] DEBUG o.b.c.service.voice.VoiceHandler - VOICE:appDisconnect
2011-11-14 09:32:56,413 [NioProcessor-1] DEBUG o.b.c.service.chat.ChatHandler - appDisconnect
2011-11-14 09:32:56,413 [NioProcessor-1] DEBUG o.b.c.s.p.ParticipantsHandler - PARTICIPANTS:appLeave
bigbluebutton
2011-11-14 09:32:56,413 [NioProcessor-1] DEBUG o.b.c.s.p.PresentationHandler - PRESENTATION:appLeave
bigbluebutton
2011-11-14 09:32:56,413 [NioProcessor-1] DEBUG o.b.c.service.voice.VoiceHandler - VOICE:appLeave
bigbluebutton
2011-11-14 09:32:56,413 [NioProcessor-1] DEBUG o.b.c.service.chat.ChatHandler - appLeave:
bigbluebutton
2011-11-14 09:33:09,730 [pool-14-thread-1] DEBUG o.b.w.v.f.FreeswitchHeartbeatMonitor
- HeartbeatMonitor running... last HB [Mon Nov 14 09:33:00 CST 2011] diff [9708]
2011-11-14 09:33:13,801 [EslEventNotifier-1] DEBUG o.b.w.voice.internal.RoomManager
- Processing event for room: 75952
2011-11-14 09:33:13,801 [EslEventNotifier-1] DEBUG o.b.w.voice.internal.RoomManager
- Processing ParticipantLeftEvent for room: 75952
2011-11-14 09:33:13,801 [EslEventNotifier-1] DEBUG o.b.w.red5.voice.ClientManager -
Participant [165,75952] leaving
2011-11-14 09:33:13,918 [EslEventNotifier-1] DEBUG o.b.w.v.f.FreeswitchApplication
- eventReceived [EslEvent: name=[CUSTOM] subclass=[sofia::expire] headers=2, eventHeaders=20,
eventBody=0 lines.]
2011-11-14 09:33:36,632 [pool-14-thread-1] INFO  o.b.w.v.f.FreeswitchHeartbeatMonitor
- HeartbeatMonitor did not get a heartbeat event in time... reconnecting
2011-11-14 09:33:51,286 [pool-14-thread-1] INFO  o.b.w.v.f.FreeswitchHeartbeatMonitor
- Logging off fom [DefaultManagerConnection[hostname='127.0.0.1',port=8021]]
2011-11-14 09:34:23,722 [pool-14-thread-1] INFO  o.b.w.v.f.FreeswitchHeartbeatMonitor
- Logging in as [ClueCon] to [127.0.0.1:8021]
2011-11-14 09:34:41,612 [Red5_Scheduler_Worker-2] INFO  o.b.c.BigBlueButtonApplication
- [clientid=1987] disconnnected from 87.202.118.113:50739.
2011-11-14 09:34:50,037 [Red5_Scheduler_Worker-2] INFO  o.b.c.BigBlueButtonApplication
- User [sotav] disconnected from room [183f0bf3a0982a127bdb8161e0c44eb696b3e75c-1321278730855]
2011-11-14 09:34:52,331 [Red5_Scheduler_Worker-2] DEBUG o.b.c.s.p.ParticipantsHandler
- PARTICIPANTS:roomDisconnect
2011-11-14 09:34:52,331 [NioProcessor-1] DEBUG o.b.c.service.voice.VoiceService - Lock
request for user [171] in room[75952]
2011-11-14 09:34:52,331 [Red5_Scheduler_Worker-2] DEBUG o.b.c.s.p.PresentationHandler
- PRESENTATION:roomDisconnect
2011-11-14 09:34:52,331 [NioProcessor-1] DEBUG o.b.w.voice.internal.RoomManager - Processing
event for room: 75952
2011-11-14 09:34:52,331 [NioProcessor-1] DEBUG o.b.w.red5.voice.ClientManager - Participant
171 is locked = true
2011-11-14 09:34:52,331 [Red5_Scheduler_Worker-2] DEBUG o.b.c.service.voice.VoiceHandler
- VOICE:roomDisconnect
2011-11-14 09:34:52,993 [Red5_Scheduler_Worker-2] DEBUG o.b.c.service.chat.ChatHandler
- roomDisconnect
2011-11-14 09:34:52,993 [Red5_Scheduler_Worker-2] DEBUG o.b.c.s.p.ParticipantsHandler
- PARTICIPANTS:roomLeave 183f0bf3a0982a127bdb8161e0c44eb696b3e75c-1321278730855

Reported by ritzalam on 2011-11-14 16:34:20

bigbluebutton-issue-import commented 9 years ago
I have had this happen occasionally on .7 servers,  the current freeswitch forums have
recently found some memory leaks in the esl event code that might be causing some of
these issues.  A restart of freeswitch is needed to fix.

Reported by 207TECH on 2011-11-17 16:19:41

bigbluebutton-issue-import commented 9 years ago

Reported by ffdixon on 2012-01-06 00:31:23

bigbluebutton-issue-import commented 9 years ago
If the connection to FS-ESL drops and we can't send, attempt to reconnect.

https://github.com/bigbluebutton/bigbluebutton/commit/c858a6919b681cd04a4f18856c70ab6bf10c0af2

Reported by ritzalam on 2012-01-10 15:12:46