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

java.io.IOException: Too many open files #988

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

java.io.IOException: Too many open files #988

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

Comments

@bigbluebutton-issue-import
Copy link

@bigbluebutton-issue-import bigbluebutton-issue-import commented Aug 12, 2015

Originally reported on Google Code with ID 233

Red5 stops with "java.io.IOException: Too many open files" on error.log

May be due to RTMPClient. Check-out Red5 mailing list for similar 
exception.

2009-11-02 17:45:43,795 [NioSocketAcceptor-1] WARN  
o.a.m.util.DefaultExceptionMonitor - Unexpected exception.
java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) 
[na:1.6.0_0]
        at 
sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:163) 
[na:1.6.0_0]
        at 
org.apache.mina.transport.socket.nio.NioSocketAcceptor.accept(NioSocketAcce
ptor.java:217) [mina-core-2.0.0-M6.jar:na]
        at 
org.apache.mina.transport.socket.nio.NioSocketAcceptor.accept(NioSocketAcce
ptor.java:48) [mina-core-2.0.0-M6.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.processHand
les(AbstractPollingIoAcceptor.java:481) [mina-core-2.0.0
-M6.jar:na]
        at 
org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(Abstrac
tPollingIoAcceptor.java:412) [mina-core-2.0.0-M6.jar:na]
        at 
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java
:64) [mina-core-2.0.0-M6.jar:na]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1
110) [na:1.6.0_0]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:
603) [na:1.6.0_0]
        at java.lang.Thread.run(Thread.java:636) [na:1.6.0_0]


Reported by richard.alam on 2009-11-02 18:25:35

@bigbluebutton-issue-import
Copy link
Author

@bigbluebutton-issue-import bigbluebutton-issue-import commented Aug 12, 2015

This appears to be linked to use of VoIP in BigBlueButton.

Reported by ffdixon on 2009-11-09 15:41:17

@bigbluebutton-issue-import
Copy link
Author

@bigbluebutton-issue-import bigbluebutton-issue-import commented Aug 12, 2015

Most likely is - with Asterisk, one of the main bottlenecks that limits scaling is
how many open file handles are allowed.  Change the ulimit to allow more (or
unlimited) file handles before starting the applications.  We have done this on over
100 Asterisk servers that handle 20-30 conferences at a time for well over 200 total
attendees on each server.  

More info: http://www.mail-archive.com/asterisk-users@lists.digium.com/msg179451.html

Reported by jeremythomerson on 2009-11-09 22:24:16

@bigbluebutton-issue-import
Copy link
Author

@bigbluebutton-issue-import bigbluebutton-issue-import commented Aug 12, 2015

Yes, this is related to Asterisk.If you run Asterisk + BBB on same server this is 
common.

You can void this by a simple method.
put "ulimit -n 65536" @ /etc/init.d/red5 (before start RED5 server)
e.g
----//-------
### END INIT INFO

set -e 
ulimit -n 65536
----//-------

Reported by madhawa101g on 2009-11-10 04:55:41

@bigbluebutton-issue-import
Copy link
Author

@bigbluebutton-issue-import bigbluebutton-issue-import commented Aug 12, 2015

Reported by ritzalam on 2009-11-10 18:24:06

  • Labels added: Milestone-Release0.63
@bigbluebutton-issue-import
Copy link
Author

@bigbluebutton-issue-import bigbluebutton-issue-import commented Aug 12, 2015

Reported by ritzalam on 2009-11-11 02:09:05

  • Status changed: Accepted
@bigbluebutton-issue-import
Copy link
Author

@bigbluebutton-issue-import bigbluebutton-issue-import commented Aug 12, 2015

Reported by ritzalam on 2009-12-07 19:23:33

  • Status changed: Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.