I have a small lxc container with 1GB of RAM but a large disk partition which is 800GB of images which are synced with rsync. While the rsync is syncing data over network the container RAM usage is max 10%. The problem is that the host's memory usage is increasing over time and finally gets to 90%.
There is only one container running on the host with rsync running inside. There is only 1GB of cached memory on hosts that is shown with free -gh command.
When I reboot the lxc container the used memory on host starts dropping and os freed in matter of seconds.
The CT is an unprivileged container.
Any idea how to fix this?
There is only one container running on the host with rsync running inside. There is only 1GB of cached memory on hosts that is shown with free -gh command.
When I reboot the lxc container the used memory on host starts dropping and os freed in matter of seconds.
The CT is an unprivileged container.
Any idea how to fix this?
Code:
# pveversion
pve-manager/4.4-13/7ea56165 (running kernel: 4.4.49-1-pve)