tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <>
Subject Handling requests when under load - ACCEPT and RST vs non-ACCEPT
Date Mon, 29 Oct 2012 13:20:26 GMT
Hi All

During some performance testing I've seen that Tomcat resets accepted 
TCP connections when under load. I had seen this previously too [1], but 
was not able to analyze the scenario in detail earlier.

As per this dump from Wireshark [2], it seemed like Tomcat ACKed the 
client request, accepted part of the request, and then suddenly decided 
to close the connection and hence RSTed it. What I would expect Tomcat 
to have done instead is to refuse a connection when under load, and not 
accept and RST. The problem occurs for a client that would not know if a 
RSTed connection could be safely retried. If the connection was not 
accepted, a fail-over is straight forward.

Hope to hear some details from the developer community, to understand 
this behavior better



Asankha C. Perera

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

View raw message