single lxc container uses all host's memory

ned

Renowned Member
Jan 26, 2015
113
2
83
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?

Code:
# pveversion
pve-manager/4.4-13/7ea56165 (running kernel: 4.4.49-1-pve)
 
It is ok, this is the cache.

see
all the other thread in the forum if you are interested on memory usage.
 
free -gh shows only 1GB of cache and 10GB of used memory. How can this be cache?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!