Guillaume, this happened with me some weeks ago.

You?ll need to change your Linux /etc/security/limits.conf file to enable
more open files in your SO.

Add the following lines in this file:

* soft nofile 10000
* hard nofile 10000

Try to search this exception on Google that you?ll see the solution as well.

Regards,

Luiz Filipe.

-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nome de
Dan Rossi
Enviada em: sexta-feira, 22 de junho de 2007 04:12
Para: [email protected]
Assunto: Re: [Red5] Too many open files


That happens to me on benmchmark scripts on freebsd trying to open
threads more than 1000. Its a kernel limitation of either linux or
freebsd it looks like. We run windows so havent see the issue.

Guillaume Lecanu wrote:
> Hi,
>
> We currently trying our apps with a large number of users (about 300)
> on a private network of the company.
> But we have this error in continue in the logs :
>
> [WARN] 1423935 SocketAcceptor-0:(
> DefaultExceptionMonitor.exceptionCaught ) Unex
> pected exception.
> java.io.IOException: Too many open files
>         at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
>         at
> sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.jav
> a:145)
>         at
> org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.processSes
> sions(SocketAcceptor.java:302)
>         at
> org.apache.mina.transport.socket.nio.SocketAcceptor$Worker.run(Socket
> Acceptor.java :239)
>         at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnabl
> e.java:43)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor
> .java:675)
>         at java.lang.Thread.run(Thread.java:595)
>
>
> Any help ?
>
> Thanks
> ------------------------------------------------------------------------
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to