Hello,
We are running Duplicacy Web Edition as a systemd service on a RHEL 8 server.
We have a number of jobs that back up data on the machine to external S3-compatible storage. These jobs run hourly.
Over time the number of DBus processes under /system.slice/duplicacy.service grows very large, which consumes a large amount of memory and has some other nasty side-effects.
● duplicacy.service - Duplicacy backup
Loaded: loaded (/etc/systemd/system/duplicacy.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2024-10-25 11:17:42 BST; 2s ago
Main PID: 508725 (dwe_main)
Tasks: 21621 (limit: 202731)
Memory: 3.4G
CGroup: /system.slice/duplicacy.service
├─ 90543 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session
├─ 150977 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session
├─ 326124 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session
├─ 452203 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session
├─ 508725 /usr/local/sbin/dwe_main
├─ 564205 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session
├─ 751337 /usr/bin/dbus-daemon --syslog --fork --print-pid 4 --print-address 6 --session
...
# systemctl status duplicacy.service | grep -c dbus
3758
We can recover the memory by killing and restarting the Duplicacy service (as mentioned in this post Linux: autostart - #2 by vegivamp) but that is not ideal.
What causes this and is there something we can do to prevent it happening?
Thanks,
John