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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 28 weeks ago