tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <>
Subject Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT
Date Thu, 01 Nov 2012 07:38:25 GMT
Hi Chris

I was connecting locally to the same node over the local interface on 
both EC2 and locally.

Since this went unresolved for sometime now for me, I investigated this 
a bit myself, first looking at the Coyote source code, and then 
experimenting with plain Java sockets. It seems like the issue is not 
really Tomcat resetting connections by itself, but rather; letting the 
underlying OS do it. It seems like it could be a but difficult to 
prevent this with blocking sockets, but I hope what I've found 
investigating this issue will help others in future


On 10/31/2012 09:27 PM, Christopher Schultz wrote:
> Also, are you using a load balancer, or connecting directly to the EC2
> instance? Do you have a public, static IP? If you use a static IP,
> Amazon proxies your connections. I'm not sure what happens if you use
> a non-static IP (which are public, but can change).

Asankha C. Perera

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

View raw message