Excessive memory consumption

Greetings to the entire community.

I’m having a problem with Genie ACS deployed on Container (Docker).

It’s currently running on approximately 40 devices, and the RAM usage is excessive, reaching almost 10GB of RAM.

I don’t have any presets or provisioning. Everything is by default

This is the stack I’m currently using:
https://github.com/GeiserX/genieacs-docker/blob/master/docker-compose.yml
(I’m only using the genieacs and mongo service from that docker compose)

Here I show you some screenshots.

usage statistics according to portainer

In some forums they said that setting the cwmp.debug parameter to 0 would possibly lower resource usage, but I didn’t notice any change.

logs folder:

What you call excessive memory consumption, others would call aggressive caching. If you want to reduce the memory usage, you will need to tune MongoDB, but this will affect performance.

MongoDB typically uses a significant portion of available RAM for its operations, often around 50% of the system’s memory for its WiredTiger cache

1 Like

Ahh, thanks. I didn’t know what was causing this consumption in Genieacs, since I’ve used other types of containers, and this is the first time it’s happened to me. I already limited the RAM to 8GB max using the Portainer stack, and although it’s using the 8GB currently, it doesn’t seem to affect performance.

I thank you for the information @akcoder