Memory Leak Risk Between Yunohost Management Layer and Docker Runtime
0 reputation · 25 Oct 2022, 13:54 UTC
Memory Leak Risk Between Yunohost Management Layer and Docker Runtime
Yunohost’s core services are exposed through systemd units that act as a proxy to the Docker daemon, creating an integration boundary between the management layer and the container runtime.
When the Docker daemon becomes unavailable, the proxy may retain open sockets, leading to gradual memory growth observable in systemctl status yunohost, while yunohost app install launches containers without an explicit restart policy, leaving container lifecycles dependent on daemon state and potentially causing resource leaks after app removal.
Given that the backup tool snapshots Docker volumes but does not verify that all volumes are quiescent, it is unclear whether in‑memory database state is safely captured, and it is uncertain whether the memory growth originates from the proxy, from lingering containers, or from app containers themselves.
Which mechanism can reliably confirm that Docker sockets are closed and all containers are terminated after an app is removed? Does Yunohost provide a verification step to ensure Docker volumes are quiescent before backup, and if not, how should this be addressed?