(1) problems: the use of 500 concurrent threads to download a file tomcat project, the server appears java.net.SocketException: Connection reset abnormal,
The client appears connect timeout;
(2) analysis that is connected to more than the maximum number of concurrent server is reset, causes the client connection timeout;
Then configure the tomcat configuration files, modify the maximum number of concurrent connections:
In /home/econf/apache-tomcat-6.0.20/conf directory, modify the server.xml
added within <Connector port = "8080" tab
the maxThreads = "500" minSpareThreads = "50" maxSpareThreads = "100"
enableLookups = "false" acceptCount = "500"
After the restart tomcat
This problem is solved
(1) problems: the use of 500 concurrent threads to download a file tomcat project, the server appears java.net.SocketException: Connection reset abnormal,
The client appears connect timeout;
(2) analysis that is connected to more than the maximum number of concurrent server is reset, causes the client connection timeout;
Then configure the tomcat configuration files, modify the maximum number of concurrent connections:
In /home/econf/apache-tomcat-6.0.20/conf directory, modify the server.xml
added within <Connector port = "8080" tab
the maxThreads = "500" minSpareThreads = "50" maxSpareThreads = "100"
enableLookups = "false" acceptCount = "500"
After the restart tomcat
This problem is solved