tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wall <>
Subject Tomcat 7 NIO Socket accept failed - Too many open files
Date Wed, 02 May 2012 19:19:14 GMT
I am running Tomcat 7.0.26 on Linux we received a lot of the following 
exceptions during load testing:

May 2, 2012 3:04:03 AM$Acceptor run
SEVERE: Socket accept failed Too many open files
         at Method)

Is there something I can tune to remove this as a problem?  My NIO+SSL 
connector is configured like this:

<Connector port="8443" 
protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true"
                maxThreads="800" scheme="https" secure="true" 
acceptCount="200" connectionTimeout="4000" acceptorThreadCount="2"
                 keystoreFile="keys/tomcatkeys" keystorePass="VALUEREMOVED"
                clientAuth="false" sslProtocol="TLS" />

During the test, we had created about 1,800 concurrent sessions, though 
I think many of those were active because of the exceptions kept the 
user's transaction from completing and when their session would end 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message