Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-12264

replace use of ES property "node.store.allow_mmapfs" by "node.store.allow_mmap"

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ElasticSearch
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Settings node.store.allow_mmapfs has been deprecated since ES 6.7. node.store.allow_mmap should be used instead.

      Currently,  -Dnode.store.allow_mmapfs=false can be added to sonar.search.javaAdditionalOpts to disable use of memory mapping in ElasticSearch. This is not a public feature.

      This ticket is a good opportunity to decide the right way to provide the ability to disable memory mapping in ES, which is needed when running SQ inside containers/vms which hosts does not allow to change vm.max_map_count.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastien.lesaint Sebastien Lesaint
                Reporter:
                sebastien.lesaint Sebastien Lesaint
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: