that sftp logs looks ok to me. rclone is not stuck, no errors, no issues, no warning, no pacers, no drop packets, etc..
the cheap seedbox server is the problem.
sftp is very slow protocol, has high latency when there are a lot of files to compare.
in addition, rclone is calculating checksums and that takes time.
for testing, can disable using --ignore-checksum
at seedbox, what plan are you on, do you have access to ssh/shell?
I mean it's a simple explanation, but there's no evidence to support that this is the problem. They wouldn't just make up that I have hundreds of unclosed connections to avoid saying "it's a cheap seedbox, what do you want?". Right?
In addition, rclone is calculating checksums and that takes time.
Yeah, I get it, but not THIS amount of time. Plus, why do the first ~150 checks run within a minute and then the following ones take several minutes each? And why on the FTP all 700 checks are done within a minute?
for testing, can disable using --ignore-checksum
I'll try that as well, thanks.
at seedbox, what plan are you on, do you have access to ssh/shell?
well, it is a cheap shared seedbox, not a full dedicated machine/vm and it is that slow seedbox that is slow to calculate checksums.
in the end, it is about what flags you choose to use and choose not to use.
ftp does not calculate checksums so i assume that is why it is faster.
as for the other ftp issues, no idea. i avoid ftp like the plague, not looking at debug log.
so back to the sftp log and how rclone decides to transfers a file.
rclone can be smart or dumb, it depends on the flags you choose to use or not use.
based on your debug log snippet.
rclone does a quick compare of modtime and finds a mismatch
now, what is rclone to do?
a. dumb mode - rclone re-transfer the file.
b. smart mode - often modtimes might not match, but the files content match.
rclone ask the slow, shared server to calculate the file checksum.
rclone determines the contents match, so no need to re-upload the file, can quickly update the dest modtime.
take the real world example, Community - S02E11 - Abeds Uncontrollable Christmas WEBDL-1080p.mkv
Modification times differ by -1h0m8s: 2023-06-14 22:35:08 +0300 EEST, 2023-06-14 21:35:00 +0300 EEST
Wow. That right there is a bunch of useful insights one after the other. Thanks a LOT for taking the time to write this.
well, ftp does not calculate checksums so i assume that is why it is faster.
Had no idea. And yeah, that definitely explains it.
did you notice that difference is always the same, off by 1h0m and a few seconds?
Again, that slipped from my attention - but I have a good explanation, I've had a daytime saving shift recently.
So, for the time being I'm gonna try --ignore-checksum as well as --modify-window. That doesn't fix that FTP thing, but it could just fix the SFTP problem. Thanks again, your input has been tremendously helpful!
This is literally the first time in my life when I meet another Columbo fan! We are going extinct, I'm afraid
By "the moment" you must mean the showdown, yeah? It's a good one, however my personal favorite is no doubt the one in "Stitch in Crime".
I tried something with SFTP: --ignore-checksum, --modify-window 1h1m and, since I read in the docs that ignore-checksum skips post-copy checksum verifying, I also added --size-only. It still ran md5sum for one file for good 30 minutes (not sure why - I thought I disabled checksums for all possible scenarios), and then it finally got to transfers. It was slow and held it for ~1 hour before giving up, but this time there are articulate errors about rate limits. 2023-11-29_22-22-49.txt - pCloud
Now your other advice:
might test/try running rclone on the seedbox using rclone serve webdav
Thinking about it, it's so good it might be illegal. There is no way it can fail; they can't refuse to serve you if you serve yourself.
So it's running now. The speed is, of course, nowhere near yours - ranging anywhere between 3 MB/s and 20 MB/s, but it does run for almost an hour now without failing. So let's see how this one performs.
fwiw, there are so many seebox companies out there to choose from.
it seems our plans are very different.
i use cheap seedboxes - for downloading torrents. no ssh, no shell, no plex, no streaming.
so the download speeds have to be good.
i have a emby server at hetzner. so when a torrent completes, i move the new torrents from seedboxio to hetzner storagebox.
i think with your plan, they want you to keep the files hosted on their system and use their plex app to stream it.
sorry, confused, as the log you posted was for sftp, not webdav?
you can disable checksums by modifying the config file.
Yeah, I was quite beat by that time so I just posted sftp link. I tried sftp with several additional arguments and it didn't work out, that's what that log demonstrates.
As for WebDAV situation, after some experiments I realized that it says "rate limited" when there's simply connection trouble - most likely server process is down (which, in turn, happened because I was tampering with VPN, and with every switch ssh terminal would die). So I've created systemd service and the problem didn't appear ever since.
So I'd say my personal case is covered by WebDAV (thank you once again for your suggestion!), and as for the initial problem with FTP, well, it still stands - and it's up to @ncw now to decide if it deserves to be further investigated.
I apply heavy limitations on my transfers though. Even with 2 checkers, 2 transfers and strict close timeouts after time I still get rate limited. I've been in touch with the provider and, from what they've seen, I've had hundreds of open connections at a time. They suggest rclone might for some reason not close the connections in this case.