tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14994] - https coyote connector leaving sockets in CLOSE_WAIT
Date Fri, 08 Jul 2005 12:53:17 GMT
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=14994>.
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=14994





------- Additional Comments From sanjeev.chauhan@gmail.com  2005-07-08 14:53 -------
I am not facing this problem on tomcat 5.5.9 :) may be it is resolved now.


(In reply to comment #6)
> Here's a real easy test case.
> 
> 1. Configure an https service.
> 
> 2.
> import java.io.*;
> import java.text.*;
> import java.util.*;
> import javax.servlet.http.*;
> 
> public class test extends HttpServlet
> {
>     public void doGet(HttpServletRequest request, HttpServletResponse response)
> throws IOException
>     {
>         PrintWriter out = null;
>         try
>         {
>             response.setContentType("text/plain");
>             response.setDateHeader("Expires", 0);
>             response.setHeader("Pragma", "no-cache");
>             out = response.getWriter();
>             out.println("Hello There");
>             for (int i = 0 ; i < 2000 ; i ++)
>                 out.println(Math.random());
>         }
>         catch (Exception e)
>         {
>             e.printStackTrace();
>         }
>     }
> }
> 
> Fire it up.
> 
> 3. Start IE or Mozilla and aim it at page.
> 4. Hold F5 button down for 10 seconds.
> 5. netstat -anp
> tcp        1      0 63.127.110.16:443       63.127.110.14:4499      CLOSE_WAIT 
> 10860/java          
> tcp        1      0 63.127.110.16:443       63.127.110.14:4498      CLOSE_WAIT 
> 10860/java          
> tcp        1      0 63.127.110.16:443       63.127.110.14:4497      CLOSE_WAIT 
> etc. etc.
> 
> Dead and stays that way for at least three hours (as long as I could leave it).

-- 
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message