Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10352

Low entropy warning in bin/solr script

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: SolrCLI
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      We should add a warning in the startup script for Linux, if the output of the following is below a certain threshold (maybe 300?). The warning could indicate that features like UUIDField, SSL etc. might not work properly (or be slow). As a hint, we could then suggest the user to configure a non blocking SecureRandom (SOLR-10338) or install rng-tools, haveged etc.

      cat /proc/sys/kernel/random/entropy_avail

      Original discussion:
      https://issues.apache.org/jira/browse/SOLR-10338?focusedCommentId=15938904&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15938904

        Attachments

        1. SOLR-10352.patch
          1 kB
          Esther Quansah

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ichattopadhyaya Ishan Chattopadhyaya
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: