Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1458

ssl_server_session_cache process leak

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 23.2
    • Fix Version/s: OTP-23.2.4
    • Component/s: ssl
    • Labels:
      None

      Description

      To reproduce:

      • Clone this repo: https://github.com/lukebakken/erlang-tls-misc
      • Run setup.sh to clone tls-gen submodule, generate certs and inter-node TLS configuration file
      • Run ./run-node-a.sh
      • Run the Observer from this node via observer:start()
      • In another window, change to the repo directory and run this command: erl -proto_dist inet_tls -ssl_dist_optfile ./inet-dist-tls.config -sname "test@$(hostname)" -remsh "a@$(hostname)"
      • Quit the above VM and re-run the command several times
      • In the Observer, you will see ssl_server_session_cache processes build up in the "Processes" tab. Sort by process name.

       

      The above happens even if "{reuse_sessions, false}" is added to the inet-dist-tls.config file in both the server and client section.

       

        Attachments

          Activity

            People

            Assignee:
            ingela Ingela Anderton Andin
            Reporter:
            lukebakken Luke Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: