Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8257030

SSL Sockets staying open at the OS level after having been closed

    XMLWordPrintable

Details

    Description

      A DESCRIPTION OF THE PROBLEM :
      I think this TLSv1.3 backport https://bugs.openjdk.java.net/browse/JDK-8245466
      may have clobbered this SO_LINGER fix https://bugs.openjdk.java.net/browse/JDK-8245016

      After upgrading to openjdk 1.8u275 we have seen multiple applications, the first one we noticed it in was Apache Cassandra 3.11, start to accumulate open sockets in the OS after the server is done with them, eventually running out of file handles.

      REGRESSION : Last worked in version 8

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Start Apache Cassandra 3.11 when client SSL enabled. Start and stop clients connecting to it over and over.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Open socket handles do no accumulate.
      ACTUAL -
      Open socket handles accumulate over time.

      CUSTOMER SUBMITTED WORKAROUND :
      Downgrade back to previous 1.8u262 release.

      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              pkumaraswamy Prajwal Kumaraswamy
              webbuggrp Webbug Group
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: