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

Comment on: "manual/tutorial/transparent-huge-pages.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual, Server

    Description

      Documentation Changes

      Shell redirection cannot be sudo'd. In the installation guide we've been moving to tee for this reason.

      s/shell redirection/tee

      Description

      The script https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/#create-the-init-d-script does not work on Amazon Linux, due to permission issue:

          echo 'never' > ${thp_path}/enabled
          echo 'never' > ${thp_path}/defrag
      

      However, this fix will work on Amazon Linux, as well as other Linux:

          echo 'never' | tee ${thp_path}/enabled
          echo 'never' | tee ${thp_path}/defrag
      

      Attachments

        Activity

          People

            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            holee@expedia.com Howard Lee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 14 weeks, 6 days ago