Hi -, We are using Apache HttpClient 3.1, with the Multi Threaded Http Connection Manager to send >1000 HTTP POST messages per second, to 4 test servers (in our test environment) using trusted persistent connections. This setup has been soaked for over 72 hours and we found it to function as expected. The Connection Manager is configured with the following: closeIdleConnections = 180 seconds MaxConnectionsPerHost= 1000 MaxConnections= 2100
ConnectionTimeout= 500 milli seconds SoTimeout=2000 milli seconds The HTTP POST messages are distributed to each test server using a simple round robin algorithm. In reasonably steady state conditions, the client establishes about 100 separate connections to each test server. If while repeating the above test, one of the 4 test servers is taken offline for say one second; we observe that all of the connections managed by the Connection Manager tend to fail within just a few seconds. At 1000 messages per second, I appreciate that flow control is an issue after just 2 seconds but this is not our case. Our understanding, is that the messages being sent to the 3 working test servers should continue to receive messages irrespective of what is happening to the fourth. Any suggestions? Regards Lou -- View this message in context: http://old.nabble.com/Large-number-of-connections-with-Multithreaded-Connection-Manager-problem-tp27826291p27826291.html Sent from the HttpClient-User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
