-
1. Re: Connection Refused under load
juha Oct 26, 2002 11:44 PM (in response to crawfos)There are workarounds to this, but they're all more or less bad. See http://developer.java.sun.com/developer/bugParade/bugs/4420157.html for more info.
-
2. Re: Connection Refused under load
crawfos Oct 27, 2002 8:00 AM (in response to crawfos)Thanks. An interesting read. I also have run these tests against the J2EE 1.3.1 RI and it works OK. Does this mean that the J2EE RI includes a workaround for the socket problems that has not been included in the core JVM?
-
3. Re: Connection Refused under load
juha Oct 27, 2002 2:49 PM (in response to crawfos)Hmm, interesting. I don't know if they include any of the workarounds or not. Basically the only reliable workaround I can think of is to distribute the load to several server sockets.
I know bill was fighting this one when doing the ECPerf testing, but I don't know if any of his changes made it to the CVS. -
4. Re: Connection Refused under load
juha Oct 27, 2002 2:52 PM (in response to crawfos)How many connections do you get with Sun RI btw?
-
5. Re: Connection Refused under load
crawfos Oct 31, 2002 8:45 PM (in response to crawfos)I can get the RI to handle bursts up to 6000 - 7000 clients at once.
-
6. Re: Connection Refused under load
bill.burke Nov 1, 2002 1:16 PM (in response to crawfos)I think this is fixed in 3.0.3, definately in Branch_3_0. What I did was catch ConnectException and retry after a 1 ms sleep. This was the most performant.