Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
Amazon Linux
*Location*: https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36
*Referrer*: https://www.google.com/
*Screen Resolution*: 1920 x 1080
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
Issue Links
- related to
-
DOCS-12902 Separately disabling THP defrag is not necessary when THP is disabled
-
- Closed
-