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. Huge memory spikes

Huge memory spikes

Scheduled Pinned Locked Moved Support
cpumemory
5 Posts 2 Posters 984 Views 2 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.
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by girish
      #1

      Something is regularly causing huge memory spikes. Since all apps have limits this shouldn't be possible.
      Here's the 6h graphs:

      01209e45-ac3a-4c6d-8efc-9378a824aaaf-image.png

      CPU correlates
      2f3c3405-e21a-49c3-ad29-1527353d1933-image.png

      I don't see anything other than occasional janitor cleanup that lasts on the order of seconds, not minutes, in box log (8MB)

      What else?

      Here's the 24h graphs:
      26d6ff1b-7d67-4014-9375-7f84c3fd9a5c-image.png
      24d4174f-860a-48d2-99d6-da1b47cf66b4-image.png

      Conscious tech

      girishG 1 Reply Last reply
      0
      • robiR robi

        Something is regularly causing huge memory spikes. Since all apps have limits this shouldn't be possible.
        Here's the 6h graphs:

        01209e45-ac3a-4c6d-8efc-9378a824aaaf-image.png

        CPU correlates
        2f3c3405-e21a-49c3-ad29-1527353d1933-image.png

        I don't see anything other than occasional janitor cleanup that lasts on the order of seconds, not minutes, in box log (8MB)

        What else?

        Here's the 24h graphs:
        26d6ff1b-7d67-4014-9375-7f84c3fd9a5c-image.png
        24d4174f-860a-48d2-99d6-da1b47cf66b4-image.png

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @robi The only CPU/memory intensive thing the box code does is backups. Do the spikes match your backup interval configuration?

        robiR 1 Reply Last reply
        0
        • girishG girish

          @robi The only CPU/memory intensive thing the box code does is backups. Do the spikes match your backup interval configuration?

          robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #3

          @girish No, that is why these are concerning. My backups are weekly.

          This is happening on the demo cloudron as well.

          Conscious tech

          girishG 1 Reply Last reply
          0
          • robiR robi

            @girish No, that is why these are concerning. My backups are weekly.

            This is happening on the demo cloudron as well.

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @robi said in Huge memory spikes:

            This is happening on the demo cloudron as well.

            It seems that they are somehow related to OOM in the demo cloudron atleast:

            # grep OOM /home/yellowtent/platformdata/logs/box.log | wc -l
            3572
            

            Which now reminds me that I think your server is also on ssdnodes as well right ? They have some strange CPU/memory sharing going on which makes all that I/O unreliable. I have been meaning to move the demo out of them at some point. If you just try to uninstall an app, you will see how slow it is despite it having plenty of RAM (48GB overall!) and it's doing nothing.

            robiR 1 Reply Last reply
            1
            • girishG girish

              @robi said in Huge memory spikes:

              This is happening on the demo cloudron as well.

              It seems that they are somehow related to OOM in the demo cloudron atleast:

              # grep OOM /home/yellowtent/platformdata/logs/box.log | wc -l
              3572
              

              Which now reminds me that I think your server is also on ssdnodes as well right ? They have some strange CPU/memory sharing going on which makes all that I/O unreliable. I have been meaning to move the demo out of them at some point. If you just try to uninstall an app, you will see how slow it is despite it having plenty of RAM (48GB overall!) and it's doing nothing.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #5

              @girish That's not it. You have OOMs because people install all sorts of apps and try to abuse the system, like WP and trying out large plugins.

              My system has 0 OOMs. None.

              Mine also has enough of IO as I asked them to limit the number of new customers on the host system.

              # dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync ; rm /tmp/test1.img
              1+0 records in
              1+0 records out
              1073741824 bytes (1.1 GB, 1.0 GiB) copied, 5.50861 s, 195 MB/s
              

              Doesn't explain 48GB mem spikes.

              This only seems to be happening on 20.04 Cloudrons, not 18.04.

              Btw, the main issue I think you're having is the choice of that NY datacenter, it's networking isn't great, they seem to allow burst traffic but then quickly throttle down or experience congestion.

              Seattle has been way better for me.

              Conscious tech

              1 Reply Last reply
              0
              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