Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deskshare-app blocks red5 from restarting #845

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

deskshare-app blocks red5 from restarting #845

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

Comments

@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
Copy link
Author

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

  • Labels added: Component-DeskShare

@bigbluebutton-issue-import
Copy link
Author

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
Copy link
Author

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

  • Status changed: Accepted

@bigbluebutton-issue-import
Copy link
Author

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
Projects
None yet
Development

No branches or pull requests

2 participants