Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3512

Instruction to disable THP on page https://developer.couchbase.com/documentation/server/current/install/thp-disable.html does not work on ubuntu 16.04

    XMLWordPrintable

Details

    • DOC-S15-May04
    • 1

    Description

      Create a ubuntu 16.04 64-bit on AWS.

      Follow instruction in page https://developer.couchbase.com/documentation/server/current/install/thp-disable.html to disable THP on ubuntu instance but failed with error

       

      root@ip-172-31-14-2:~# vi /etc/init.d/disable-thp
      root@ip-172-31-14-2:~# chmod 755 /etc/init.d/disable-thp
      root@ip-172-31-14-2:~# service disable-thp start
      Failed to start disable-thp.service: Unit disable-thp.service not found.
      root@ip-172-31-14-2:~# cat /sys/kernel/mm/transparent_hugepage/enabled
      [always] madvise never
      root@ip-172-31-14-2:~# /etc/init.d/disable-thp
      root@ip-172-31-14-2:~# cat /sys/kernel/mm/transparent_hugepage/enabled
      [always] madvise never
      root@ip-172-31-14-2:~# cat /sys/kernel/mm/transparent_hugepage/defrag
      [always] madvise never

       

      I have to run manually

      echo never > /sys/kernel/mm/transparent_hugepage/enabled

      echo never > /sys/kernel/mm/transparent_hugepage/defrag{{}}

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              eric.schneider Eric Schneider (Inactive)
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty