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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Umami
  3. v3.24.0 constantly runs out of memory

v3.24.0 constantly runs out of memory

Scheduled Pinned Locked Moved Umami
5 Posts 4 Posters 35 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.
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote last edited by timconsidine
    #1

    Never had a problem with Umami before.
    I had it set at 2Gb RAM which is a healthy amount for this kind of app (even maybe high).
    Auto-upgrade to Cloudron v3.24.0 immediately brought repeat OOM
    Increased it - reluctantly - to 3Gb.
    Still crashing.

    Checked redid for umami - running at 15% (40/256) - restarted it anyway.

    Now umami is not responding.

    Anyone else seeing this ?
    Don't see any relevant GitHub issues for upstream 3.1.0

    Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

    1 Reply Last reply
    2
    • S Offline
      S Offline
      shrey
      wrote last edited by
      #2

      Yeah, same here. Had to roll back to the last version.

      1 Reply Last reply
      1
      • C Offline
        C Offline
        ccfu
        wrote last edited by
        #3

        Had this as well several times after uodate, but it seems to have stabilised. No OOM for the past 8 hours.

        1 Reply Last reply
        1
        • timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote last edited by
          #4

          Cloudron Team : I am not clear whether cloudron 3.24.0 used a different upstream base 3.1.0 to previous, but my impression is not. So the issue is in cloudron v3.24.0 ? Can it be fixed ?

          Indie app dev, scratching my itches, lover of Cloudron PaaS, communityapps.appx.uk

          1 Reply Last reply
          0
          • jamesJ Online
            jamesJ Online
            james
            Staff
            wrote last edited by
            #5

            Hello @timconsidine
            These are the changes made https://git.cloudron.io/packages/umami-app/-/commit/4e3d31c2f37285960d017fd157956b5aae9138ef

            One thing that jumps at me is --max-old-space-size=4096.

            The container runs a full Next.js production yarn build on every start (see start.sh:L35).
            Next.js builds are notoriously memory-hungry; they scale with the size of the app bundle.
            Node is told --max-old-space-size=4096 (4 GiB V8 heap) while the cgroup hard cap from CloudronManifest.json:L13 is 2 GiB by default.
            Node happily tries to grow past 2 GiB, the kernel OOM-kills the container.

            This value should not be hard coded, instead should reflect the memory limit set by the user.
            An app update will be available soon.

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            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