<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Please disable transparent hugepage]]></title><description><![CDATA[<h2>would be nice to disable the THP</h2>
<h3>error from nextcloud</h3>
<pre><code>Jun 24 11:56:39 14:M 24 Jun 04:56:39.893 # 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 &gt; /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.
</code></pre>
<h4>more info about why it should be considered</h4>
<ul>
<li><a href="https://stackoverflow.com/questions/42591511/when-to-turn-off-transparent-huge-pages-for-redis" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/42591511/when-to-turn-off-transparent-huge-pages-for-redis</a></li>
<li><a href="https://redis.io/topics/latency" target="_blank" rel="noopener noreferrer nofollow ugc">https://redis.io/topics/latency</a></li>
</ul>
]]></description><link>https://forum.cloudron.io/topic/2721/please-disable-transparent-hugepage</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 16:59:38 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/2721.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jun 2020 05:03:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Please disable transparent hugepage on Mon, 07 Dec 2020 20:29:27 GMT]]></title><description><![CDATA[<p dir="auto">As I said on the other thread I seem to have managed to install cloudron on Ubuntu 20.04 LTS by following your advice to use <code>./cloudron-setup --version 5.6.3</code>. I've disabled automatic upgrades and I'll wait a bit to upgrade to version 6.<br />
All is good!</p>
]]></description><link>https://forum.cloudron.io/post/20944</link><guid isPermaLink="true">https://forum.cloudron.io/post/20944</guid><dc:creator><![CDATA[johan]]></dc:creator><pubDate>Mon, 07 Dec 2020 20:29:27 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Mon, 07 Dec 2020 20:14:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johan" aria-label="Profile: johan">@<bdi>johan</bdi></a> I have fixed this now - <a href="https://git.cloudron.io/cloudron/box/-/commit/f497d5d30929584f5c312a736290c6697c9965d2" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/f497d5d30929584f5c312a736290c6697c9965d2</a> . To follow up about the other thread, after you install 5.6.3 and are up and running, do not update to 6.0! Because you will hit this THP issue again on scaleway if you update. We are making 6.0.1, but it will take till end of today since our CI takes forever...</p>
]]></description><link>https://forum.cloudron.io/post/20942</link><guid isPermaLink="true">https://forum.cloudron.io/post/20942</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 07 Dec 2020 20:14:52 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Mon, 07 Dec 2020 19:32:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johan" aria-label="Profile: johan">@<bdi>johan</bdi></a> I can reproduce the problem on scaleway, thanks. It seems THP is disabled in the kernel, so the code has to check if the directory exists. Will fix this.</p>
]]></description><link>https://forum.cloudron.io/post/20928</link><guid isPermaLink="true">https://forum.cloudron.io/post/20928</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 07 Dec 2020 19:32:44 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Mon, 07 Dec 2020 18:49:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johan" aria-label="Profile: johan">@<bdi>johan</bdi></a> Don't know if that's helpful:</p>
<pre><code>uname -r
5.4.0-1028-kvm
</code></pre>
]]></description><link>https://forum.cloudron.io/post/20914</link><guid isPermaLink="true">https://forum.cloudron.io/post/20914</guid><dc:creator><![CDATA[johan]]></dc:creator><pubDate>Mon, 07 Dec 2020 18:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Mon, 07 Dec 2020 18:41:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I'm using a <a href="https://www.scaleway.com/en/pricing/" target="_blank" rel="noopener noreferrer nofollow ugc">Scaleway DEV1-M</a>.</p>
]]></description><link>https://forum.cloudron.io/post/20913</link><guid isPermaLink="true">https://forum.cloudron.io/post/20913</guid><dc:creator><![CDATA[johan]]></dc:creator><pubDate>Mon, 07 Dec 2020 18:41:19 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Mon, 07 Dec 2020 18:39:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johan" aria-label="Profile: johan">@<bdi>johan</bdi></a> Which VPS provider is this? Looks like that file is missing, maybe that feature was not complied in the kernel.</p>
]]></description><link>https://forum.cloudron.io/post/20912</link><guid isPermaLink="true">https://forum.cloudron.io/post/20912</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 07 Dec 2020 18:39:16 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Mon, 07 Dec 2020 18:34:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Trying a new install from scratch today (Ubuntu 20.04) and <code>cloudron-disable-thp</code> is stuck:</p>
<pre><code>Dec 07 18:18:22 cloudron systemd[1]: Starting Disable Transparent Huge Pages (THP)...
Dec 07 18:18:22 cloudron sh[3229]: tee: /sys/kernel/mm/transparent_hugepage/enabled: No such file or directory
Dec 07 18:18:22 cloudron systemd[1]: cloudron-disable-thp.service: Main process exited, code=exited, status=1/FAILURE
Dec 07 18:18:22 cloudron systemd[1]: cloudron-disable-thp.service: Failed with result 'exit-code'.
Dec 07 18:18:22 cloudron systemd[1]: Failed to start Disable Transparent Huge Pages (THP).
</code></pre>
]]></description><link>https://forum.cloudron.io/post/20910</link><guid isPermaLink="true">https://forum.cloudron.io/post/20910</guid><dc:creator><![CDATA[johan]]></dc:creator><pubDate>Mon, 07 Dec 2020 18:34:20 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Sun, 29 Nov 2020 18:51:01 GMT]]></title><description><![CDATA[<p dir="auto">This is disabled in <a href="https://git.cloudron.io/cloudron/box/-/commit/213ce114e32e6a880506e24a79b8dc1d7d2d0784" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/commit/213ce114e32e6a880506e24a79b8dc1d7d2d0784</a></p>
]]></description><link>https://forum.cloudron.io/post/20145</link><guid isPermaLink="true">https://forum.cloudron.io/post/20145</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 29 Nov 2020 18:51:01 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Tue, 30 Jun 2020 16:58:00 GMT]]></title><description><![CDATA[<p dir="auto">FYI, whonix also recommend to disable HugePage as it is possible to tamper the data on transit<br />
<a href="https://www.whonix.org/wiki/KVM#HugePages" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.whonix.org/wiki/KVM#HugePages</a></p>
]]></description><link>https://forum.cloudron.io/post/10109</link><guid isPermaLink="true">https://forum.cloudron.io/post/10109</guid><dc:creator><![CDATA[JOduMonT]]></dc:creator><pubDate>Tue, 30 Jun 2020 16:58:00 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Thu, 25 Jun 2020 22:43:17 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for reporting upstream <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=21ee5037fec" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Let's wait for their response.</p>
]]></description><link>https://forum.cloudron.io/post/9956</link><guid isPermaLink="true">https://forum.cloudron.io/post/9956</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 25 Jun 2020 22:43:17 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Thu, 25 Jun 2020 16:20:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/9905">Please disable transparent hugepage</a>:</p>
<blockquote>
<p dir="auto">if you forward that information publicly and have a link</p>
</blockquote>
<p dir="auto">I know I do play renagate here<br />
<a href="https://github.com/redis/redis-rcp/issues/22" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/redis/redis-rcp/issues/22</a><br />
<img src="/assets/uploads/files/1593102031100-maxresdefault-resized.jpg" alt="maxresdefault.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/9942</link><guid isPermaLink="true">https://forum.cloudron.io/post/9942</guid><dc:creator><![CDATA[JOduMonT]]></dc:creator><pubDate>Thu, 25 Jun 2020 16:20:38 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Wed, 24 Jun 2020 18:24:51 GMT]]></title><description><![CDATA[<p dir="auto">This warning is coming from redis and not from nextcloud (so I don't this the nextcloud devs can help)</p>
]]></description><link>https://forum.cloudron.io/post/9921</link><guid isPermaLink="true">https://forum.cloudron.io/post/9921</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 24 Jun 2020 18:24:51 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Wed, 24 Jun 2020 08:58:31 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, if you forward that information publicly and have a link, it would be great if you can put it here so we can also follow such a thread.</p>
]]></description><link>https://forum.cloudron.io/post/9905</link><guid isPermaLink="true">https://forum.cloudron.io/post/9905</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 24 Jun 2020 08:58:31 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Wed, 24 Jun 2020 08:20:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/9902">Please disable transparent hugepage</a>:</p>
<blockquote>
<p dir="auto">I might be wrong but it seems the recommendation for option never is a bit outdated by now?</p>
</blockquote>
<p dir="auto">hopefully,</p>
<p dir="auto">thank for your research, I forget to look before.</p>
<p dir="auto">I'll forward these to nextcloud, maybe they have to update their warning</p>
<blockquote>
<p dir="auto">the first time I eared about it in a talk from Brendan Gregg (Netflix) and I was full of hope by using RIP CoreOS</p>
</blockquote>
]]></description><link>https://forum.cloudron.io/post/9904</link><guid isPermaLink="true">https://forum.cloudron.io/post/9904</guid><dc:creator><![CDATA[JOduMonT]]></dc:creator><pubDate>Wed, 24 Jun 2020 08:20:44 GMT</pubDate></item><item><title><![CDATA[Reply to Please disable transparent hugepage on Wed, 24 Jun 2020 08:03:05 GMT]]></title><description><![CDATA[<p dir="auto">In this case we have to do this for the whole server. Not sure yet if that is a good idea or not, since there are various different payloads. However from what I've read so far, especially databases, not just redis, could profit. As also mentioned for mongodb at <a href="https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.mongodb.com/manual/tutorial/transparent-huge-pages/</a></p>
<p dir="auto">That being said in the servers I have checked now, the default actually seems to be <code>madvise</code> for THP, which according to <a href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages" target="_blank" rel="noopener noreferrer nofollow ugc">https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages</a> is a much better option as the process can control the behavior on its own.</p>
<p dir="auto">I might be wrong but it seems the recommendation for option <code>never</code> is a bit outdated by now?</p>
]]></description><link>https://forum.cloudron.io/post/9902</link><guid isPermaLink="true">https://forum.cloudron.io/post/9902</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 24 Jun 2020 08:03:05 GMT</pubDate></item></channel></rss>