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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Surfer memory leak?

    Surfer
    3
    4
    56
    Loading More Posts
    • 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.
    • robi
      robi last edited by

      08b12719-467a-4122-ac0b-1728e69f568c-image.png

      The graphs seem to indicate something eating more resources over time.

      It's not a busy site, and simply static pages.

      Life of Advanced Technology

      1 Reply Last reply Reply Quote 0
      • Topic has been marked as a question  robi robi 
      • Moved from Support by  girish girish 
      • girish
        girish Staff last edited by

        Most of the VMs like node.js won't garbage collect unless it reached a certain threshold/age and based on heap size. These are tunable using some command line options but 0.25GB is not very significant.

        1 Reply Last reply Reply Quote 0
        • nebulon
          nebulon Staff last edited by nebulon

          Mostly in this case, nodejs will go up to the memory limit and only then trigger the garbage collection. This was one initial reason to add those memory limits as well, to make ruby/nodejs/... not go overboard.

          So I don't think there is anything to solve here to be honest.

          1 Reply Last reply Reply Quote 2
          • Topic has been marked as solved  girish girish 
          • robi
            robi last edited by

            Okay, it's a bit odd since that's the first time I've seen Surfer app crash due to this memory condition, presumably because the GC failed or was started too late with too little overhead available to complete.

            Have tens of other Surfer apps that do not exhibit this behavior.

            Life of Advanced Technology

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB