I keep getting WARNING about THP although it is already disabled
<p>Every time I reboot my server, I always keep getting this error from redis:</p>

<blockquote>
  <p>WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.</p>
</blockquote>

<p>When I did this command <code>sudo sysctl -a | grep hugepage</code>, the result is:</p>

<p><code>vm.hugepages_treat_as_movable = 0
vm.nr_hugepages = 0
vm.nr_hugepages_mempolicy = 0
vm.nr_overcommit_hugepages = 0</code></p>

<p><code># cat /sys/kernel/mm/transparent_hugepage/enabled
always madvise [never]</code></p>

<p>Why I keep getting this error?</p>

<pre><code>$ cat /etc/rc.local

if test -f /sys/kernel/mm/transparent_hugepage/enabled; then
   echo never &gt; /sys/kernel/mm/transparent_hugepage/enabled
fi

if test -f /sys/kernel/mm/transparent_hugepage/defrag; then
   echo never &gt; /sys/kernel/mm/transparent_hugepage/defrag
fi

exit 0`
</code></pre>