Memory leak in 4.0.14

trm96

New Member
Aug 28, 2024
2
0
1
I upgraded from 3.4.x to 4.0.14 and have found a huge memory leak somewhere in PBS. I have my instance running as a VM. The node it's running on its the only thing on it. Over night my memory usage went from ~1GB to over 4GB. I run backups every day and also run prune, GC and verify once a day. See htop below

1757072940851.png
 
Hello trm96 and welcome to our forum! Are you using ZFS?

Since I see a lot of proxmox-backup-proxy processes, could you please post the generated file after executing top -o %MEM -b -n 1 -w512 > $(hostname)-$(date -Is)-top.txt

Also, could you please check whether you find something relevant in the journal? In other words, please check the output of journalctl --since="1 day ago" (or, when in doubt, feel free to write the output to a file and post it here).

We have had some similar reports in a different thread, but that thread is only relevant in case you cannot explain the high memory usage (that is, the memory usage is high even if no processes seem to use that much memory, even if accumulated together). In case you are using ZFS, please check this post, otherwise this other post might still be relevant for you. If you would like to try an older kernel version, you can pin the kernel either temporarily or permanently.