Proxmox backups leaving behind lots of cache

bobdog

New Member
Sep 1, 2024
3
0
1
So I have been doing some testing with backups, I schedule 2 backups to run under the same job last night, and upon running it seemingly used a lot of cache.
1725202189566.png
1725202207284.png

1725202237426.png

Is this anything to be concerned about? or will this all get written back to disk or just clear out automatically as more actual ram overwrites it?
If not, how can we have the inactive ram clear out to become available again.
the good thing is that its not going into swap as i already have it set swappniess to 1, but for most people where the default is 60, i could see this causing performance issues with backups for most users.
 
Ok well side note, just checked another server, this one runs a ZFS pool, ran 1 backup on a tiny VM that is 10gb in size, this one increased the ram by a ton, do we need to tweak arc cache to not have this happen with servers running a ZFS pool?
1725202592727.png
 
You may read up on what cache is used for. A good starting point is always:

https://www.linuxatemyram.com/
Ah ok was thinking as much, just wanted to make sure as typically before what would happen is we would have issues with it overflowing into swap, which then would sometimes be a bit too much for the CPU getting to busy with IO, causing things to slow down even more taking hours for not a lot of data to backup.
but for the other server in the case where it backed up a single VM with 10gb of data
backup started at midnight, and it is now "used" not cached, but rather used, 40gb of used ram for backing up a 10gb VM

total used free shared buff/cache available
Mem: 136848 95095 2021 62 39731 40541
Swap: 8191 1 8190

1725236630352.png

I'm assuming this is because of default settings with arc 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!