Cloudron performance issues
-
The graphs I got are from my Zabbix monitoring. So I can't be of help directly.
-
Have had similar pain points as OP
What happened to the previous analytics? It used to display individual resources for apps in the graph - was way better than now.
+1 for a dedicated API designed for monitoring apps in Cloudron
-
- 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:
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.
-
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.
-
@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.
-
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
orhtop
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?
-
@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.
-
@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). -
@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. -
Understood. I am in UK but use Hetzner in DE, and don't have any performance issues.
-
-