https://bz.apache.org/bugzilla/show_bug.cgi?id=60555

            Bug ID: 60555
           Summary: run by ssl and port:443 close_wait
           Product: Tomcat 8
           Version: 8.5.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: dracu...@hotmail.com
  Target Milestone: ----

tomcat-embed-core-8.5.4

our service use springboot '1.4.0.RELEASE'
centos 6.5

SSL:
server.ssl.key-store=classpath:cert/aaaaa.ca.pfx
server.ssl.key-store-password=aaaaa
server.ssl.keyStoreType=PKCS12

After start, then use shell :
#!/usr/bin/bash
while true ;
do
        curl -k https://IP/app/current/queryCurrent.action      
        echo ""
done

and exec the command : netstat -antp | grep CLOSE_WAIT 
tcp        0      0 ********::443            ********:45138         CLOSE_WAIT 
21773/java          
tcp        0      0 ********::443            ********::44910         CLOSE_WAIT
 21773/java          
tcp        0      0 ********::443            ********::44464         CLOSE_WAIT
 21773/java          
tcp        0      0 ********::443            ********::45234         CLOSE_WAIT
 21773/java          
tcp        0      0 ********::443            ********::43768         CLOSE_WAIT
 21773/java          
tcp        0      0 ********::443            ********::44216         CLOSE_WAIT
 21773/java 
......
nondecreasing 

run without ssl no problem

code line 1399 in org.apache.tomcat.util.net.NioEndpoint
Using HTTP always get true
and When CLOSE_WAIT appears always "handshake == SelectionKey.OP_READ" and
never change(Even if the client is closed)

These CLOSE_WAIT lived for more than 12 hours yet

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to