Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-846

ECDH/HDG kex retains KeyPairGenerator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.7.0, 2.0.0
    • 2.2.0
    • None

    Description

      Analysis of a heap dump of running OpenDaylight with 10K concurrent NETCONF sessions over SSH transport shows that around 16% of the heap is used by Bouncy Castle's KeyPairGeneratorSpi$EC and related objects – accounting for ~26% of OpenDaylight's per-session memory overhead.

      These objects are retained by org.apache.sshd.common.kex.ECDH's myKpairGen field, which is never used once a keypair is generated.

      Attachments

        Issue Links

          Activity

            People

              lgoldstein Lyor Goldstein
              nite Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: