NextCloud 13.0.6, Debian 9 server, Apache with mod PHP, client connected to server via 1 GB network, low RTTs.
scp achieves about 22 MB/sec transfer rate.
Copying files via WebDAV is extremely slow. Uploading a tiny file (2 bytes) using CURL takes 5-6 seconds, so apparently there’s a really high latency for each operation.
I mounted the NextCloud DAV filesystem using davfs2 on a Linux system. Navigating the mounted filesystem is already sluggish on the shell (cd and dir). Copying files using “cp -a” or rsync (run locally with the mounted DAV filesystem as its target) is basically unusable.
The bruteforce_attempt table is empty, so bruteforce prevention does not seem to be in effect. To be sure, I also already disabled it in the config file.
Recursively copying a directory with 10 subdirectories in total and 4300 files, the total size being less the 80 MB, takes much more than 12 hours. That’s just ridiculous…
In comparison, a davfs2 mounted Apache DAV filesystem nearly feels like a local filesystem…
I fear I have some significant misconfiguration somewhere, but I wasn’t able to find any hint in the docs or using Google.
There are similar reports in the forum (e.g. WebDAV Performance Issues) but in those it either was caused by bruteforce prevention, or the issues were not solved or not answered. (Or I missed the appropriate answers…)