lxc host - ubuntu bionic 4.17.4 (being a VPS on a KVM 7_4.1 based hypervisor)
unpriviliged lxc containers - ubuntu, gentoo, archlinux
Noticed that with lxc containers running a steady increase in the amount of the host’s RAM consumption (rate ~ 1 MB per minute)
Thus went to monitoring the RAM consumption from within each container but those figures kept hovering steady respectively, thus it seems unlikely that being the cause.
Also tested with different single containers and combination of various containers. Only with no container running the lxc-host’s RAM consumption is not increasing.
Could there be perhaps a correlation to the observed steady increase of MINFLT (Total number of minor faults the task has made per second, those which have not required loading a memory page from disk.) for process
/sbin/init belonging to CGROUP /lxc/container?
It seems that the more containers are running the faster the increase of RAM consumption over the same amout of time compared to only a single container running.
The way it is the host runs out of RAM eventually.
lxc.mount.auto = proc:mixed sys:mixed