deskshare-app blocks red5 from restarting #845

Closed
bigbluebutton-issue-import opened this Issue Aug 12, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@bigbluebutton-issue-import

Originally reported on Google Code with ID 90

In the latest build (build 6) of deskshare-app

   http://bigbluebutton.org/hudson/job/BBB-Trunk-Apps-Deskshare/

when the administrator restarts red5

   /etc/init.d/red5 restart

The restart will fail as it can't immediately bind again to port 1026.  
However, if you wait approximately one minute, the port is now free and 
starting red5 proceeds normally.

Reported by ffdixon on 2009-07-04 23:17:57

@bigbluebutton-issue-import

This comment has been minimized.

Show comment
Hide comment
@bigbluebutton-issue-import

bigbluebutton-issue-import Aug 12, 2015

Reported by ffdixon on 2009-07-06 11:12:09

  • Labels added: Component-DeskShare

Reported by ffdixon on 2009-07-06 11:12:09

  • Labels added: Component-DeskShare
@bigbluebutton-issue-import

This comment has been minimized.

Show comment
Hide comment
@bigbluebutton-issue-import

bigbluebutton-issue-import Aug 12, 2015

if server stop while a client is still coneected to deskshare...the app takes about

a minute to close the connections...still trying to investigate how to force the 
deskshare app to close the connections.

Reported by ritzalam on 2009-07-20 14:44:37

if server stop while a client is still coneected to deskshare...the app takes about

a minute to close the connections...still trying to investigate how to force the 
deskshare app to close the connections.

Reported by ritzalam on 2009-07-20 14:44:37

@bigbluebutton-issue-import

This comment has been minimized.

Show comment
Hide comment
@bigbluebutton-issue-import

bigbluebutton-issue-import Aug 12, 2015

Reported by ritzalam on 2009-07-20 14:45:05

  • Status changed: Accepted

Reported by ritzalam on 2009-07-20 14:45:05

  • Status changed: Accepted
@bigbluebutton-issue-import

This comment has been minimized.

Show comment
Hide comment
@bigbluebutton-issue-import

bigbluebutton-issue-import Aug 12, 2015

Added to following function to /etc/init.d/red5 to check before attempting to start

red5 that there are no open connections on 1935 (which would prevent red5 from 
binding to that port).

wait_1935_close () {
        ACTIVE=$(netstat -ant | grep 1935 | wc | awk -F ' ' '{print $1}')
        echo -n "   Waiting for $ACTIVE connections to 1935 to close before starting

Red5 "
        while [ $ACTIVE != 0 ]; do
                echo -n "."
                sleep 5
                ACTIVE=$(netstat -ant | grep 1935 | wc | awk -F ' ' '{print $1}')
        done
        echo
}

Reported by ffdixon on 2009-09-13 18:08:48

  • Status changed: Fixed
  • Labels added: Milestone-Release0.61
Added to following function to /etc/init.d/red5 to check before attempting to start

red5 that there are no open connections on 1935 (which would prevent red5 from 
binding to that port).

wait_1935_close () {
        ACTIVE=$(netstat -ant | grep 1935 | wc | awk -F ' ' '{print $1}')
        echo -n "   Waiting for $ACTIVE connections to 1935 to close before starting

Red5 "
        while [ $ACTIVE != 0 ]; do
                echo -n "."
                sleep 5
                ACTIVE=$(netstat -ant | grep 1935 | wc | awk -F ' ' '{print $1}')
        done
        echo
}

Reported by ffdixon on 2009-09-13 18:08:48

  • Status changed: Fixed
  • Labels added: Milestone-Release0.61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment