[DOCS-9315] Comment on: "manual/tutorial/transparent-huge-pages.txt" Created: 14/Nov/16  Updated: 03/Nov/17  Resolved: 14/Nov/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Andrew Aldridge
Resolution: Won't Fix Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

Location: https://docs.mongodb.com/master/tutorial/transparent-huge-pages/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36
Referrer: https://docs.mongodb.com/v3.2/reference/ulimit/
Screen Resolution: 1920 x 1080


Participants:
Days since reply: 7 years, 13 weeks, 2 days ago

 Description   

Using the init.d script "disable-transparent-hugepages" on Ubuntu 14.04 LTS, having it enabled via "sudo update-rc.d disable-transparent-hugepages defaults" won't start in the correct order.

mongoDB's log:

2016-11-14T14:14:37.954+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2016-11-14T14:14:37.954+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2016-11-14T14:14:37.954+0000 I CONTROL  [initandlisten] 
2016-11-14T14:14:37.954+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2016-11-14T14:14:37.954+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2016-11-14T14:14:37.954+0000 I CONTROL  [initandlisten] 

But when I check "/sys/kernel/mm/transparent_hugepage/enabled", it's set to "never":

root@xxx:/root# cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]



 Comments   
Comment by Andrew Aldridge [ 14/Nov/16 ]

The instructions on this page only apply to RHEL and CentOS 6 & 7. For other systems, please consult your operating system vendor.

Generated at Thu Feb 08 07:58:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.