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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual
    • Labels:
      None
    • Last comment by Customer:
      true
    • Sprint:
      Docs Sprint Current

      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

              Assignee:
              andrew.aldridge Andrew Aldridge
              Reporter:
              kevin.pulo Kevin Pulo
              Participants:
              Last commenter:
              Jonathan Dahl Jonathan Dahl
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                6 years, 7 weeks, 2 days ago
                Date of 1st Reply: