You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/01/03 16:59:35 UTC
DO NOT REPLY [Bug 38107] New: - memory leak when using https
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38107>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38107
Summary: memory leak when using https
Product: Tomcat 5
Version: 5.5.12
Platform: Other
OS/Version: Windows Server 2003
Status: NEW
Severity: normal
Priority: P2
Component: Connector:HTTP
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: arno.diekmann@ixos.de
There is a small memory leak when the ssl connector is used:
I've configured a connector for a https port:
<Connector port="18090" maxHttpHeaderSize="8192"
maxThreads="75" minSpareThreads="25" maxSpareThreads="50"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
keystoreFile="D:\tomcat/keystore"
clientAuth="false" />
and have written a small program that fetches the tomcat root page 10000 times
(using a commons-httpclient-wrapper):
String url = "https://tomcathost:18090/";
for(int i = 0; i < count; i++){
HttpURLConnection con = handler.sendGetRequest(url, null);
handler.endRequest(con, con.getInputStream());
if((i % 100) == 0){
int percent = (i * 100) / count;
System.out.println(percent + "% done");
}
}
The result is a permanent increasing memory usage watched in windows task
manager for the tomcat5 process (10000 requests causes a growth of 2036 KB).
There is no memory leak using the http connector (without ssl). I've tried the
tomcat versions 5.5.9 and 5.5.12 with the same result.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38107] - memory leak when using https
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38107>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38107
arno.diekmann@ixos.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From arno.diekmann@ixos.de 2006-01-05 10:36 -------
sorry, I was misleaded by the windows task manager: tomcat stopped growing
after reaching the maximum heap size (and did not produce any OutOfMemory
exception)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38107] - memory leak when using https
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38107>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38107
arno.diekmann@ixos.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org