Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Please disable transparent hugepage

Please disable transparent hugepage

Scheduled Pinned Locked Moved Solved Support
redisserver
16 Posts 4 Posters 3.4k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG Do not disturb
    girishG Do not disturb
    girish
    Staff
    wrote on last edited by
    #7

    Thanks for reporting upstream 🙂 Let's wait for their response.

    1 Reply Last reply
    0
    • JOduMonTJ Offline
      JOduMonTJ Offline
      JOduMonT
      wrote on last edited by
      #8

      FYI, whonix also recommend to disable HugePage as it is possible to tamper the data on transit
      https://www.whonix.org/wiki/KVM#HugePages

      1 Reply Last reply
      0
      • girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #9

        This is disabled in https://git.cloudron.io/cloudron/box/-/commit/213ce114e32e6a880506e24a79b8dc1d7d2d0784

        J 1 Reply Last reply
        2
        • girishG girish

          This is disabled in https://git.cloudron.io/cloudron/box/-/commit/213ce114e32e6a880506e24a79b8dc1d7d2d0784

          J Offline
          J Offline
          johan
          wrote on last edited by
          #10

          @girish Trying a new install from scratch today (Ubuntu 20.04) and cloudron-disable-thp is stuck:

          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).
          
          girishG 1 Reply Last reply
          0
          • J johan

            @girish Trying a new install from scratch today (Ubuntu 20.04) and cloudron-disable-thp is stuck:

            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).
            
            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #11

            @johan Which VPS provider is this? Looks like that file is missing, maybe that feature was not complied in the kernel.

            J 1 Reply Last reply
            0
            • girishG girish

              @johan Which VPS provider is this? Looks like that file is missing, maybe that feature was not complied in the kernel.

              J Offline
              J Offline
              johan
              wrote on last edited by
              #12

              @girish I'm using a Scaleway DEV1-M.

              J 1 Reply Last reply
              0
              • J johan

                @girish I'm using a Scaleway DEV1-M.

                J Offline
                J Offline
                johan
                wrote on last edited by
                #13

                @johan Don't know if that's helpful:

                uname -r
                5.4.0-1028-kvm
                
                girishG 2 Replies Last reply
                0
                • J johan

                  @johan Don't know if that's helpful:

                  uname -r
                  5.4.0-1028-kvm
                  
                  girishG Do not disturb
                  girishG Do not disturb
                  girish
                  Staff
                  wrote on last edited by
                  #14

                  @johan 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.

                  1 Reply Last reply
                  2
                  • J johan

                    @johan Don't know if that's helpful:

                    uname -r
                    5.4.0-1028-kvm
                    
                    girishG Do not disturb
                    girishG Do not disturb
                    girish
                    Staff
                    wrote on last edited by
                    #15

                    @johan I have fixed this now - https://git.cloudron.io/cloudron/box/-/commit/f497d5d30929584f5c312a736290c6697c9965d2 . 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...

                    J 1 Reply Last reply
                    2
                    • girishG girish

                      @johan I have fixed this now - https://git.cloudron.io/cloudron/box/-/commit/f497d5d30929584f5c312a736290c6697c9965d2 . 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...

                      J Offline
                      J Offline
                      johan
                      wrote on last edited by johan
                      #16

                      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 ./cloudron-setup --version 5.6.3. I've disabled automatic upgrades and I'll wait a bit to upgrade to version 6.
                      All is good!

                      1 Reply Last reply
                      1
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search