Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

transparent_hugepage Disable warning in Ambari installation

avatar
Expert Contributor

Hi i want to install Amari 2.4 in Ubuntu 14.2 on EC2 . i got warning msge that transparent_hugepage is enable ..so did below steps

sudo vi /etc/default/grub

add the below

GRUB_CMDLINE_LINUX_DEFAULT=”transparent_hugepage=never”

sudo update-grub

sudo reboot

cat /sys/kernel/mm/transparent_hugepage/enabled

always madvise [never]

but no luck i got same error masge..please help me out of this warning

1 ACCEPTED SOLUTION

avatar
Master Mentor

@rama

Have you explored the following option:

1. installing the sysfsutils package:

  sudo apt install sysfsutils

2. Then append a line with that setting to /etc/sysfs.conf:

  kernel/mm/transparent_hugepage/enabled = never

.

Also please check the following as well:

cat /sys/kernel/mm/transparent_hugepage/enabled 
  #  always madvise [never]
cat /sys/kernel/mm/transparent_hugepage/defrag
  #  [always] madvise never
cat  /proc/cmdline
  # initrd=\initramfs-linux.img root=/dev/sda2    rw splash transparent_hugepage=never

.

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@rama

Have you explored the following option:

1. installing the sysfsutils package:

  sudo apt install sysfsutils

2. Then append a line with that setting to /etc/sysfs.conf:

  kernel/mm/transparent_hugepage/enabled = never

.

Also please check the following as well:

cat /sys/kernel/mm/transparent_hugepage/enabled 
  #  always madvise [never]
cat /sys/kernel/mm/transparent_hugepage/defrag
  #  [always] madvise never
cat  /proc/cmdline
  # initrd=\initramfs-linux.img root=/dev/sda2    rw splash transparent_hugepage=never

.

avatar
Expert Contributor

@Jay SenSharma

Thanks its working fine warning masg are not coming ..