Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-9082

Close libsodium's internal reference to the random device to avoid fd leak

    XMLWordPrintableJSON

Details

    Description

      It seems that libsodium opens /dev/random and hangs onto the fd, which is not normally a problem, but when running the test suite we dlopen it many times, generating many copies, and they accumulate.

      There is a way to close this handle, even though there's no general shutdown function for the library, so do that when closing the extension.

      Attachments

        Activity

          People

            keith.bostic@mongodb.com Keith Bostic (Inactive)
            dholland+wt@sauclovia.org David Holland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: