On May 5, 2006, at 10:35 AM, Luis Neves wrote:
Using it with Mina-0.8.2 works great, but the problem is that I'm trying to embed the web server in an application that is already using Mina-0.9.3. I must have messed up something in the translation because when I apply load to
the server it doesn't take long for it to die with:


 WARN [SocketAcceptor-0] 20 Apr 2006 12:17:32 - Unexpected exception.
java.io.IOException: Too many open files
        at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
        at
sun.nio.ch.ServerSocketChannelImpl.accept (ServerSocketChannelImpl.java:162)
        at
org.apache.mina.transport.socket.nio.support.SocketAcceptorDelegate $Worker.processSessions(SocketAcceptorDelegate.java:393)
        at
org.apache.mina.transport.socket.nio.support.SocketAcceptorDelegate $Worker.run(SocketAcceptorDelegate.java:333)

Does anyone have any idea of what pattern of misuse of Mina can cause this?

Do you have more connections open than you think you do? (Perhaps there's something thats not closing them)

I'll try and take a peek at the code later on.
-pete


--
[EMAIL PROTECTED] - http://fotap.org/~osi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to