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

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

      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

            Assignee:
            andrew.aldridge@mongodb.com Andrew Aldridge
            Reporter:
            laurence.moughan@aerlingus.com Laurence Moughan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 37 weeks, 6 days ago