Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5330

Using /etc/rc.local to disable THP results in spurious startup warning

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • manual
    • None
    • Docs Sprint Current
    • true

    Description

      http://docs.mongodb.org/manual/reference/transparent-huge-pages/

      This page suggests disabling THP in /etc/rc.local. However, when mongod is started from an init service, this will usually be earlier in the boot process than /etc/rc.local. This means that THP will still be active when mongod starts, resulting in startup warnings that will no longer be applicable once /etc/rc.local has run.

      It would be useful if there was another, more reliable, way of generically disabling THP that doesn't have this problem.

      Attachments

        Issue Links

          Activity

            People

              andrew.aldridge@mongodb.com Andrew Aldridge
              kevin.pulo@mongodb.com Kevin Pulo
              Jonathan Dahl Jonathan Dahl
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 48 weeks ago