Deleting a backup from WUI times out

Hi,

urbackup version is 2.5.32, running under Oracle Linux 7.9, kernel version is 5.4.17-2136.324.5.3.el7uek.x86_64, backup storage fs is BTRFS:

# btrfs filesystem df /btrfs/
Data, RAID10: total=17.97TiB, used=17.05TiB
System, RAID10: total=16.00MiB, used=2.14MiB
Metadata, RAID10: total=221.50GiB, used=187.13GiB
GlobalReserve, single: total=512.00MiB, used=0.00B

Trying to delete a backup for a client. Going to Backups, selecting a client, clicking Delete on one of the file backups and then clicking on Delete now. The browser window becomes unresponsive, urbackup.log contains:

2023-10-31 10:03:58: Looking for old Sessions... 0 sessions
2023-10-31 10:33:59: Looking for old Sessions... 1 sessions
2023-10-31 10:42:52: Delete file index entry id=395021848 filesize=4194304 hash=pVNvh3sgh83D9N+uxkF5ig==
...
2023-10-31 10:42:54: LMDB: PUT clientid=28 filesize=5171 hash=/mnDYV9WAd81F43S5T2LPw== target=414189665
2023-10-31 10:42:55: Send failed in OutputCallback ec=32
2023-10-31 10:42:55: Sending data failed
2023-10-31 10:42:55: Error sending via FastCGI -3

Is there a way to fix it?

I think you need at least kernel 6.2 for btrfs deletions to be performed asynchronously.

1 Like

After some thinking, I doubt it’s about btrfs itself. In my understanding, the urbackup’s web server should respond to the POST request before issuing a command to btrfs to delete the data.

@uroni would you pls comment?