tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Coyote HTTP Connecto memory leak with repeated sumultaneous requests fro
Date Tue, 25 Jul 2006 14:42:24 GMT
Sorry for the top post, but no choice with this $%* Notes e-mail client...
Normally, a browser will try to pipeline requests, which means that 
multiple requests are sent over a single connection without waiting for 
responses.  The responses are, however, required to be returned in the 
same order as the requests.  There are two possibilities I see here: 
either 1) the buffering of these separate requests and/or responses is not 
release properly, or 2) your browser is never fully consuming some 
response off the socket, which leads to retention of the queued responses. 

I would suggest you use a packet capture tool like Ethereal (Open Source) 
to see what the interaction is at that level while recreating this 

Please respond to "Tomcat Users List" <>

Subject:        Coyote HTTP Connecto memory leak with repeated 
sumultaneous requests fro

I am tomcat 4.1.29 as standalone web server with the CoyoteConnector and 
configuration as follows

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"

port="8080"               minProcessors="5" maxProcessors="75"

enableLookups="true" redirectPort="8443"

acceptCount="100" debug="0" connectionTimeout="20000"

useURIValidationHack="false" disableUploadTimeout="true" />

I noticed the memory leak if there are multiple repeated requests from 
browser simultaneously without waiting for response. It is keep 
the memory and not releasing for eve r(even after the session timeout).

Similar test case with 100 requests ( ran to completion) one after other 
not leaking any memory.

We are using Synchronized Token while submitting the forms but we are not
using the same in other cases like HTTP/GET.

I ran the tomcat with JProfiler and noticed that the memory leak is 
to org.apache.coyote.http11.InternalInputBuffer.

I used the Tomcat 4.1.31 and still has same problem.

Any help is greatly appreciated.

Thanks and Regards,


View this message in context:

Sent from the Tomcat - User forum at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message