-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:
-
Environment:
*Location*: http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/
*User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0
*Referrer*: http://www.google.ie/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0CC0QFjAC&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Ftutorial%2Ftransparent-huge-pages&ei=Fg5fVdzHBMSt7gaV6IDYAw&usg=AFQjCNHB9Sk-LG_ffxTXoorsi5IKjpdKPA&sig2=-nZlj0rZEP9D_KQeFR54WA&bvm=bv.93990622,d.ZGU
*Screen Resolution*: 1920 x 1080
*repo*: docs
*source*: tutorial/transparent-huge-pages
*Location*: http://docs.mongodb.org/manual/tutorial/transparent-huge-pages/ *User-Agent*: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 *Referrer*: http://www.google.ie/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&ved=0CC0QFjAC&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Ftutorial%2Ftransparent-huge-pages&ei=Fg5fVdzHBMSt7gaV6IDYAw&usg=AFQjCNHB9Sk-LG_ffxTXoorsi5IKjpdKPA&sig2=-nZlj0rZEP9D_KQeFR54WA&bvm=bv.93990622,d.ZGU *Screen Resolution*: 1920 x 1080 *repo*: docs *source*: tutorial/transparent-huge-pages
Hi Guys,
Im currently cleaning up my kernal setting due my recent upgrades to 302 - and this manual page is useless.
1. if you use the kernal parameter at boot time - this does not remove the defrag warning.
2., if you use the rc.local script this also fails as rc.local runs AFTER the mongo script.
I have found two ways to resolve
eikther add this to /etc/init.d/mongod
echo never >/sys/kernel/mm/transparent_hugepage/enabled
echo never > /sys/kernel/mm/transparent_hugepage/defrag
OR
reorder the scripts numbers in /etc/rc3.d
set S895mongod to S100mongod, so it runs AFTER S99local
- is related to
-
DOCS-5330 Using /etc/rc.local to disable THP results in spurious startup warning
- Closed