Commit 2f4defe5 authored by Federico G. Schwindt's avatar Federico G. Schwindt Committed by Lasse Karstensen

Correct instructions to disable THP permanently

Pointed out by Jean-François Laurens.
parent 110a61e9
......@@ -12,10 +12,11 @@ Transparent hugepages on Redhat Enterprise Linux 6
On RHEL6 Transparent Hugepage kernel support is enabled by default.
This is known to cause sporadic crashes of Varnish.
It is recommended to disable transparent hugepages on affected systems. This
can be done with
``echo "never" > /sys/kernel/mm/redhat_transparent_hugepage/enabled`` (runtime) and changes to
`/etc/sysctl.conf` (persisted.)
It is recommended to disable transparent hugepages on affected
systems. This can be done with
``echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled``
(runtime) or by adding "transparent_hugepage=never" to the kernel boot
line in the "/etc/grub.conf" file (persistent).
On Debian/Ubuntu systems running 3.2 kernels the default value is "madvise" and
does not need to be changed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment