Hello, we have deployed single machine Juju controller (Ubuntu 20.04, Juju 2.9.37) with one model (other then controller and default) with 21 machines with 11 apps for about ~200 days. Actually, the Juju controller process take ~4.2GB and MongoDB process 1.9GB of memory in total. So our virtual machine dedicated to Juju controller with 8GB RAM is on the edge and for example backup action of the controller could not be completed due to lack of memory. Restart of uju controller machine did not help. If I’m right even adding additional nodes and switch to Juju HA controller configuration would not help with this issue.
I would like to ask if there is any option to “clean up” or take some maintenance, to execute some kind of “garbage collection” and lower down the size of the MongoDB and/or Juju itself. We can add additional memory to the controller but I think that this is not the solution just workaround.
Just to compare the sizes we have also another singe node Juju controller on the same OS and in the same version with comparable size of the model but the age of the deployment is only ~40 days. The size of the Juju process on the controller is about ~420MB and MongoDB process size about 280MB of RAM.
Thank you