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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual, Server
    • Environment:

      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
      

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

              Created:
              Updated:
              Resolved:
              4 years, 25 weeks ago