You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yep, reliably happens with every backup. Random thought: could this at all be related to the fact that I'm using ZFS with compression enabled?
Probably not since that is invisible from the POSIX interface.
I see it with an encrypted gdrive target regularly.
I think all the reports have been with crypt. I wonder if there is something up there. Crypt does expand files slightly... A small file (< 64k) will have 48 bytes of overhead and all the reports above have been for small files.
mount_being_backed_up/file.zlib:120% /237, 0/s, -
(237+48)/237*100 = 120.2% ✓
mount_being_backed_up/file.zlib:111% /407, 0/s, -
(407+48)/407*100 = 111.8% ✓
mount_being_backed_up/file.png:103% /1.223k, 64
(1.223*1024.+48)/(1.223*1024)*100. = 103.8% ✓
So looks like we have a winner!
That must mean that the thing counting the transfer is counting encrypted bytes, but that is being compared to unencrypted bytes.
Which is putting the accounting on the encrypted stream.
It is done like that to avoid the accounting showing the initial read into the internal buffer as a transfer. Instead the accounting waits until it is transferred out of the internal buffer.
So I could stop doing that, but that would have the effect of making it appear the first 64k of transfer was instant.
The other thing would be to fiddle the accounting somehow and offset it by 48 bytes.
Oh I should add, when this happens, it always happens with the same file, 100% reproducible. So may very well be a Google Drive bug, but rclone should probably deal with it better?
I have been having this issue with files that are not using crypt, just files sent via btrfs to b2. Not all files that exceed 100% are on the list of retried files.
I have that issue too! Worked fine using the sync/http for lots of files and then it "stalls" and presents the file progress as > 100% and just continues to rise the percentage forever until I shut down the application with no end in sight.
I have spent many hours on this and tried all the suggestions I could find online and ChatGPT but it still stalls.
I have that issue too! Worked fine using the sync/http for lots of files and then it "stalls" and presents the file progress as > 100% and just continues to rise the percentage forever until I shut down the application with no end in sight.
I have spent many hours on this and tried all the suggestions I could find online and ChatGPT but it still stalls.
Is it going past the actual size of the file in your case?
I have that issue too! Worked fine using the sync/http for lots of files and then it "stalls" and presents the file progress as > 100% and just continues to rise the percentage forever until I shut down the application with no end in sight.
I have spent many hours on this and tried all the suggestions I could find online and ChatGPT but it still stalls.
Is it going past the actual size of the file in your case?
I haven't checked that. Since RClone never completed the file in terms of 100% percentage I considered the file corrupted and started to look for solutions on what could be wrong.
It's not consistent in my case, which means that many files can be downloaded like they should and then all of a sudden I have these spikes that never completes the file in percentage.
I have played around with encoding, retries/back off policies and nothing has worked. I can see the main developer has looked into various things but I don't think there is a final conclusion.
It seemed very cool at first, but now I'm not the biggest fan. I needed it for it's powerful features of downloading files from a webpage, and if it already fails this test I'm not going to advocate for any serious solution depending on it.
I have that issue too! Worked fine using the sync/http for lots of files and then it "stalls" and presents the file progress as > 100% and just continues to rise the percentage forever until I shut down the application with no end in sight.
I have spent many hours on this and tried all the suggestions I could find online and ChatGPT but it still stalls.
Is it going past the actual size of the file in your case?
I haven't checked that. Since RClone never completed the file in terms of 100% percentage I considered the file corrupted and started to look for solutions on what could be wrong.
It's not consistent in my case, which means that many files can be downloaded like they should and then all of a sudden I have these spikes that never completes the file in percentage.
I have played around with encoding, retries/back off policies and nothing has worked. I can see the main developer has looked into various things but I don't think there is a final conclusion.
It seemed very cool at first, but now I'm not the biggest fan. I needed it for it's powerful features of downloading files from a webpage, and if it already fails this test I'm not going to advocate for any serious solution depending on it.
FYI, from my limited testing, it seems like the files are actually properly uploaded in the end (sum matches), but I agree, that's a little scary.
I have that issue too! Worked fine using the sync/http for lots of files and then it "stalls" and presents the file progress as > 100% and just continues to rise the percentage forever until I shut down the application with no end in sight.
I have spent many hours on this and tried all the suggestions I could find online and ChatGPT but it still stalls.
Is it going past the actual size of the file in your case?
I haven't checked that. Since RClone never completed the file in terms of 100% percentage I considered the file corrupted and started to look for solutions on what could be wrong.
It's not consistent in my case, which means that many files can be downloaded like they should and then all of a sudden I have these spikes that never completes the file in percentage.
I have played around with encoding, retries/back off policies and nothing has worked. I can see the main developer has looked into various things but I don't think there is a final conclusion.
It seemed very cool at first, but now I'm not the biggest fan. I needed it for it's powerful features of downloading files from a webpage, and if it already fails this test I'm not going to advocate for any serious solution depending on it.
FYI, from my limited testing, it seems like the files are actually properly uploaded in the end (sum matches), but I agree, that's a little scary.
Hmmm... I found out something interesting (it might not be your same issue) while I was looking through the log file with debugging enabled and based on some searches on Google I found out, that there is an issue somewhere when files are getting bigger and split up in threaded chunks.
I added the following parameter:
--multi-thread-streams 0
And RClone actually downloaded those files that failed and stopped like it should after 100% of the file was downloaded.
I have that issue too! Worked fine using the sync/http for lots of files and then it "stalls" and presents the file progress as > 100% and just continues to rise the percentage forever until I shut down the application with no end in sight.
I have spent many hours on this and tried all the suggestions I could find online and ChatGPT but it still stalls.
Is it going past the actual size of the file in your case?
I haven't checked that. Since RClone never completed the file in terms of 100% percentage I considered the file corrupted and started to look for solutions on what could be wrong.
It's not consistent in my case, which means that many files can be downloaded like they should and then all of a sudden I have these spikes that never completes the file in percentage.
I have played around with encoding, retries/back off policies and nothing has worked. I can see the main developer has looked into various things but I don't think there is a final conclusion.
It seemed very cool at first, but now I'm not the biggest fan. I needed it for it's powerful features of downloading files from a webpage, and if it already fails this test I'm not going to advocate for any serious solution depending on it.
FYI, from my limited testing, it seems like the files are actually properly uploaded in the end (sum matches), but I agree, that's a little scary.
Hmmm... I found out something interesting (it might not be your same issue) while I was looking through the log file with debugging enabled and based on some searches on Google I found out, that there is an issue somewhere when files are getting bigger and split up in threaded chunks.
I added the following parameter: --multi-thread-streams 0
And RClone actually downloaded those files that failed and stopped like it should after 100% of the file was downloaded.
Yeah so this may be an other, separate issue as even though my files are going past 100%, they are not failing in the end and end up properly uploaded.
Activity
ncw commentedon Jan 18, 2019
Are there retries in your log can you see?
ealgase commentedon Jan 19, 2019
For that file, no.
brenc commentedon Jul 1, 2019
I've been seeing this lately too. FreeBSD 12.0-RELEASE-p6. Backing up from local ZFS to crypt to B2. Command I'm using:
Crypt is set to not encrypt files/dirs. Example output from a sync I have running right now:
ncw commentedon Jul 1, 2019
I have seen this too very occasionally. I haven't been able to reproduce it reliably,nor figure out what is the problem!
Can you reproduce it reliably?
brenc commentedon Jul 1, 2019
Yep, reliably happens with every backup. Random thought: could this at all be related to the fact that I'm using ZFS with compression enabled?
trapexit commentedon Jul 1, 2019
I see it with an encrypted gdrive target regularly.
ncw commentedon Jul 1, 2019
Probably not since that is invisible from the POSIX interface.
I think all the reports have been with crypt. I wonder if there is something up there. Crypt does expand files slightly... A small file (< 64k) will have 48 bytes of overhead and all the reports above have been for small files.
(237+48)/237*100 = 120.2% ✓
(407+48)/407*100 = 111.8% ✓
(1.223
*1024.+48)/(1.223*1024)*100. = 103.8% ✓So looks like we have a winner!
That must mean that the thing counting the transfer is counting encrypted bytes, but that is being compared to unencrypted bytes.
I'm not quite sure how that is happening though.
Does that make sense?
ealgase commentedon Jul 1, 2019
Yes, that does make sense! What a weird issue.
ncw commentedon Jul 1, 2019
I'm pretty sure that this is caused by this code
https://github.com/ncw/rclone/blob/a6dca4c13fbccd0fa1bbf3c61da879b74ed63dcd/backend/crypt/cipher.go#L704-L712
Which is putting the accounting on the encrypted stream.
It is done like that to avoid the accounting showing the initial read into the internal buffer as a transfer. Instead the accounting waits until it is transferred out of the internal buffer.
So I could stop doing that, but that would have the effect of making it appear the first 64k of transfer was instant.
The other thing would be to fiddle the accounting somehow and offset it by 48 bytes.
ealgase commentedon Jul 1, 2019
Hmm, I think offsetting it by 48 bytes would be the best solution.
ncw commentedon Jul 4, 2019
I've just realised that the b2 backend likely has this problem too because it adds 16 bytes of checksum on the end of the stream.
If all we are talking about is 48 or 16 bytes, I'm kind of inclined just never to report > 100% rather than go to a lot of effort fixing things up.
What think?
ealgase commentedon Jul 4, 2019
That's probably a reasonable fix, as long as this isn't going to be a bigger problem in the future.
brenc commentedon Jul 4, 2019
Seems reasonable to me.
2 remaining items
Saviq commentedon Oct 9, 2019
Oh I should add, when this happens, it always happens with the same file, 100% reproducible. So may very well be a Google Drive bug, but
rcloneshould probably deal with it better?ncw commentedon Oct 18, 2019
The revamp of the stats system means that on retries stats count > 100% which isn't ideal but at leas it shows you how much data got transferred!
LovingMelody commentedon Oct 25, 2019
I have been having this issue with files that are not using crypt, just files sent via btrfs to b2. Not all files that exceed 100% are on the list of retried files.
catdevnull commentedon Aug 15, 2023
I'm getting 445% on one file :) local->Backblaze B2
Barre commentedon Nov 20, 2024
I am seeing the same with s3 => azure blob
ShockDeveloper commentedon Nov 24, 2024
I have that issue too! Worked fine using the sync/http for lots of files and then it "stalls" and presents the file progress as > 100% and just continues to rise the percentage forever until I shut down the application with no end in sight.
I have spent many hours on this and tried all the suggestions I could find online and ChatGPT but it still stalls.
Barre commentedon Nov 24, 2024
Is it going past the actual size of the file in your case?
ShockDeveloper commentedon Nov 24, 2024
I haven't checked that. Since RClone never completed the file in terms of 100% percentage I considered the file corrupted and started to look for solutions on what could be wrong.
It's not consistent in my case, which means that many files can be downloaded like they should and then all of a sudden I have these spikes that never completes the file in percentage.
I have played around with encoding, retries/back off policies and nothing has worked. I can see the main developer has looked into various things but I don't think there is a final conclusion.
It seemed very cool at first, but now I'm not the biggest fan. I needed it for it's powerful features of downloading files from a webpage, and if it already fails this test I'm not going to advocate for any serious solution depending on it.
Barre commentedon Nov 24, 2024
FYI, from my limited testing, it seems like the files are actually properly uploaded in the end (sum matches), but I agree, that's a little scary.
ShockDeveloper commentedon Nov 24, 2024
Hmmm... I found out something interesting (it might not be your same issue) while I was looking through the log file with debugging enabled and based on some searches on Google I found out, that there is an issue somewhere when files are getting bigger and split up in threaded chunks.
I added the following parameter:
--multi-thread-streams 0
And RClone actually downloaded those files that failed and stopped like it should after 100% of the file was downloaded.
Barre commentedon Nov 24, 2024
Yeah so this may be an other, separate issue as even though my files are going past 100%, they are not failing in the end and end up properly uploaded.