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. Cloudron performance issues

Cloudron performance issues

Scheduled Pinned Locked Moved Solved Support
graphsperformance
20 Posts 5 Posters 2.9k 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.
  • S shrey

    @nebulon is there any API to access the data in the graphs in each of the individual apps?

    S Offline
    S Offline
    shrey
    wrote on last edited by
    #11

    Hi @nebulon, kindly provide some or the other workaround for this issue, for the time-being.

    timconsidineT 1 Reply Last reply
    0
    • S shrey

      Hi @nebulon, kindly provide some or the other workaround for this issue, for the time-being.

      timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by
      #12

      @shrey have you looked at "traditional" linux tools like top ?
      I'm not sure it's Cloudron's realm to provide detailed app monitoring

      S 1 Reply Last reply
      0
      • timconsidineT timconsidine

        @shrey have you looked at "traditional" linux tools like top ?
        I'm not sure it's Cloudron's realm to provide detailed app monitoring

        S Offline
        S Offline
        shrey
        wrote on last edited by
        #13

        Hi @timconsidine

        1. Never came across "top" before, will check it out.

        @timconsidine said in Cloudron performance issues:

        I'm not sure it's Cloudron's realm to provide detailed app monitoring

        A bit surprised at this.
        Cloudron currently does provide this:
        18e48207-4dee-4c08-af30-bf235af401ef-image.png

        So, why would the possibility of providing monitoring for all the apps, and not just the heavy-consumer ones be 'out of Cloudron's realm' ?

        And enough mechanism (to create the above graphs) already seems to be present, so i'm a bit astounded to be told that even a workaround's not really feasible.

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #14

          The reason we only show the apps with high resource usage is, since usually most apps would then just show a line on the bottom of the graph without real usefulness. The blue line is the cumulative whole system resource usage, so all things together.

          We usually aim for some tradeoff between exposing technical detail and usability. As mentioned you have to fallback to native linux tooling for more profiling, but all in all I am not sure you look for the right things in the first place. To come back to the original issue, mattermost ran out of memory, this can either be due to the set memory-limit (which is most likely not the case since yours is at 6Gb) or the system itsel ran out of memory, which seems more likely looking at the usage. Note also that linux kills (and Cloudron will restart) processes as soon as memory runs out, so this very point in time may or may not be visible in a graph, but also its of little value in my opinion.

          Further note that not just apps use up memory but also database services (see the services view) and system components itself.

          S 1 Reply Last reply
          1
          • nebulonN nebulon

            The reason we only show the apps with high resource usage is, since usually most apps would then just show a line on the bottom of the graph without real usefulness. The blue line is the cumulative whole system resource usage, so all things together.

            We usually aim for some tradeoff between exposing technical detail and usability. As mentioned you have to fallback to native linux tooling for more profiling, but all in all I am not sure you look for the right things in the first place. To come back to the original issue, mattermost ran out of memory, this can either be due to the set memory-limit (which is most likely not the case since yours is at 6Gb) or the system itsel ran out of memory, which seems more likely looking at the usage. Note also that linux kills (and Cloudron will restart) processes as soon as memory runs out, so this very point in time may or may not be visible in a graph, but also its of little value in my opinion.

            Further note that not just apps use up memory but also database services (see the services view) and system components itself.

            S Offline
            S Offline
            shrey
            wrote on last edited by
            #15

            @nebulon said in Cloudron performance issues:

            most apps would then just show a line on the bottom of the graph without real usefulness.

            not in the case of a stacked line graph.

            @nebulon said in Cloudron performance issues:

            Further note that not just apps use up memory but also database services (see the services view) and system components itself.

            So, the question remains: what's a reliable way of knowing, on a continuous basis, which of the apps/services/system components is consuming.

            If it's indeed 'native linux tooling, is there any recommended/existing way of implementing it, that could be shared here?

            Because, currently, the situation is somewhat of an opaque black box.

            @nebulon said in Cloudron performance issues:

            see the services view

            Btw, this just gives a real-time estimate (that too, only visual) of the memory usage.

            1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #16

              We had experimented with a stacked line graph, but similar to showing lines at the bottom it was very noisy, and the question remains, what is the actual use-case here. If no other app is consuming a lot of memory then it is the cumulative memory usage keeping your system occupied.

              For point-in-time consumption, assuming that processes do not jump drastically all the time, top or htop are good tools to hunt down things.

              Also note that apps have their own graphs in the app configure view.

              I do understand the urge to see detailed resource consumption, but that is a bit of a product on its own and not at the center of Cloudron's vision. Tools like zabbix are the way to go then, but they require more knowledge about how to set up and often make more sense as a monitoring product on separate servers together with uptime monitoring.

              Do you generally have an issue that apps kept getting restarted out of memory or did this thread diverge to feature requests for Cloudrons sysadmin monitoring capabilities?

              S 1 Reply Last reply
              3
              • nebulonN nebulon

                We had experimented with a stacked line graph, but similar to showing lines at the bottom it was very noisy, and the question remains, what is the actual use-case here. If no other app is consuming a lot of memory then it is the cumulative memory usage keeping your system occupied.

                For point-in-time consumption, assuming that processes do not jump drastically all the time, top or htop are good tools to hunt down things.

                Also note that apps have their own graphs in the app configure view.

                I do understand the urge to see detailed resource consumption, but that is a bit of a product on its own and not at the center of Cloudron's vision. Tools like zabbix are the way to go then, but they require more knowledge about how to set up and often make more sense as a monitoring product on separate servers together with uptime monitoring.

                Do you generally have an issue that apps kept getting restarted out of memory or did this thread diverge to feature requests for Cloudrons sysadmin monitoring capabilities?

                S Offline
                S Offline
                shrey
                wrote on last edited by shrey
                #17

                @nebulon Thanks for all the details.

                For point-in-time consumption, assuming that processes do not jump drastically all the time, top or htop are good tools to hunt down things.

                Will check them out.

                Do you generally have an issue that apps kept getting restarted out of memory or did this thread diverge to feature requests for Cloudrons sysadmin monitoring capabilities?

                Not generally, but when i do, it would be really helpful to know which of my 50+ apps probably caused it. Based on my current resource allocation structure, even a spike of e.g. 250MB to 900MB could be responsible for a crash, and yet, not be visible in the Graphs (in the current scenario).

                So, to answer your question, no, i don't usually run into this sort of issue, but based on this particular incident (which happened multiple times in the past few days), i realised that a better visibility into Cloudron's existing monitoring systems is highly desirable.

                timconsidineT 1 Reply Last reply
                1
                • S shrey

                  @nebulon Thanks for all the details.

                  For point-in-time consumption, assuming that processes do not jump drastically all the time, top or htop are good tools to hunt down things.

                  Will check them out.

                  Do you generally have an issue that apps kept getting restarted out of memory or did this thread diverge to feature requests for Cloudrons sysadmin monitoring capabilities?

                  Not generally, but when i do, it would be really helpful to know which of my 50+ apps probably caused it. Based on my current resource allocation structure, even a spike of e.g. 250MB to 900MB could be responsible for a crash, and yet, not be visible in the Graphs (in the current scenario).

                  So, to answer your question, no, i don't usually run into this sort of issue, but based on this particular incident (which happened multiple times in the past few days), i realised that a better visibility into Cloudron's existing monitoring systems is highly desirable.

                  timconsidineT Offline
                  timconsidineT Offline
                  timconsidine
                  App Dev
                  wrote on last edited by timconsidine
                  #18

                  @shrey said in Cloudron performance issues:

                  even a spike of e.g. 250MB to 900MB could be responsible for a crash

                  In my experience, even the best monitoring in all the world is not going to resolve that situation.
                  It is indicative of a server working close to its limits.
                  If all is going well for you, then that's good.
                  If that were my situation, I would be considering a server upgrade.
                  I appreciate that could be costly on DO, but last time I looked, Hetzner have good offerings (especially in their Auction section).

                  S 1 Reply Last reply
                  0
                  • timconsidineT timconsidine

                    @shrey said in Cloudron performance issues:

                    even a spike of e.g. 250MB to 900MB could be responsible for a crash

                    In my experience, even the best monitoring in all the world is not going to resolve that situation.
                    It is indicative of a server working close to its limits.
                    If all is going well for you, then that's good.
                    If that were my situation, I would be considering a server upgrade.
                    I appreciate that could be costly on DO, but last time I looked, Hetzner have good offerings (especially in their Auction section).

                    S Offline
                    S Offline
                    shrey
                    wrote on last edited by
                    #19

                    @timconsidine said in Cloudron performance issues:

                    If that were my situation, I would be considering a server upgrade.
                    I appreciate that could be costly on DO, but last time I looked, Hetzner have good offerings (especially in their Auction section).

                    Thanks.
                    Indeed, DO gets costly very quickly, but i believe Hetzner doesn't have any datacenters in my region, unfortunately.

                    1 Reply Last reply
                    0
                    • timconsidineT Offline
                      timconsidineT Offline
                      timconsidine
                      App Dev
                      wrote on last edited by
                      #20

                      Understood. I am in UK but use Hetzner in DE, and don't have any performance issues.

                      1 Reply Last reply
                      0
                      • girishG girish marked this topic as a question on
                      • girishG girish has marked this topic as solved on
                      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