[4.1] 2f4defe Correct instructions to disable THP permanently
Lasse Karstensen
lkarsten at varnish-software.com
Tue Jun 14 12:00:16 CEST 2016
commit 2f4defe51206cb76132bd8eb0c0c5a37e9bae2a5
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Wed May 25 17:35:06 2016 +0100
Correct instructions to disable THP permanently
Pointed out by Jean-François Laurens.
diff --git a/doc/sphinx/installation/platformnotes.rst b/doc/sphinx/installation/platformnotes.rst
index 741d98b..1657af1 100644
--- a/doc/sphinx/installation/platformnotes.rst
+++ b/doc/sphinx/installation/platformnotes.rst
@@ -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.
More information about the varnish-commit
mailing list