Hello! Server hardware HP Proliant, Ubuntu 18.04, urBackup Server 2.3.8, Number of clients 57, RAM 64Gb, backup storage HP hardware raid 5, partition btrfs. Server settings: Max simultaneous backups = 16, Max recently active clients = 32.
Besides returning to my first post I wonder that 50Gbs of reserved memory by urbackup process is not strange for you…
As I said this behavoiur on multiple servers: memory continues swallow then swapping and finally urbackup service going to exited status. All linux servers.
heaptrack output will be written to "/root/scripts/heaptrack.urbackupsrv.393001.gz"
starting application, this might take some time...
TEST FAILED: guestmount is missing (libguestfs-tools)
Testing for btrfs...
ERROR: not a btrfs filesystem: /mnt/Storage/Backups/testA54hj5luZtlorr494
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
TEST FAILED: Dataset is not set via /etc/urbackup/dataset
2021-02-10 08:34:59: WARNING: Shutting down (Signal 2)
free(): invalid pointer
heaptrack stats:
allocations: 6748728
leaked allocations: 49175
temporary allocations: 4718224
How explain this errors and fails?
I can understand btrfs error because I use ZFS.
Also libguestfs-tools. Bacause this package not installed.
You’re using ZFS with only 8GB RAM. This is insufficent in your case. Additionally, you’re using raidz for your setup which make things worse. ZFS needs (a lot of) RAM and assings 50% of RAM by default and won’t free up while running. Try at least 64GB RAM and use striped mirrors of disks (aka RAID10) for better io performance.
My setup just for comparison: dedicated server with AMD EPYC 7232P 128GB RAM 8 disks striped mirrors with dedupliucation + compression enabled, RAM ist always around 80% full (I’ve tuned some ZFS parameters) while running, only 25 clients (Win + Linux) mixed, ~30TB logical, ~4TB allocated
Ok, that’s strange behavior. What I’ve forgotten to write: I’m using Ubuntu Server 20.04 LTS. Even on 10 years old hardware for testing with only 32GB RAM, I’ve never had such issues like you. I’m sorry, but I can’t help.
urBackup issue related to memory / buffer / cache management and this issue have no dependency on file system, storage, OS (except Windows, have no experience with it) etc.
sync && echo 3 > /proc/sys/vm/drop_caches commands allow to control server stability, but not at all
After a while all memory filled and this cache starts fill swap
When memory and swap fulfilled urbackupsrv failed with “exited” status
And I still have no response from developers…
My mistake: in posts before i used free command from ubuntu it have differences with debian. On ubuntu “free” column includes buff/cache related to process in memory on debian not (StackOverflow)
In this post i show tests from Debian 10.8 and 2.4.13 server. same server for both tests with only single client. Doing Full image backups to VHDz.
This is Ubuntu 20.04 with ZFS, 2.4.13, default settings on server’s Advanced tab.
All filled memory, swap, but still working!!! urbackup 4.6 gb in memory while doing nothing.
Have no idea what is going on.
Most other my servers failed in this resources utilization state.
Yes 0% and 0 bytes utilization while backup jobs running fr all mounts. I already checked all tmpfs mounts. There is nothing related to urbackup. And others too.