SOLVED FreeNAS backup to B2

revengineer

Contributor
Joined
Oct 27, 2019
Messages
193
I am having trouble transferring large home video files to Backblaze B2 using a Cloudsync Task. I have transferred multiple datasets to B2 with small file sizes in the MB range without issues. However, when transferring large (10-15 GB) video files, I get a "Failed to Copy" error with a reference to "broken pipe".

On the Backblaze website, it reads
"Broken pipe" happens when you are sending a file big enough that the buffers in the HTTP connection won't hold it. HTTP client libraries send the entire request before looking for a response, and if the B2 server has already replied with an error, you'll be unable to send the entire file and will get a "broken pipe" error.

However, there are no instructions how to avoid it. Has anyone seen this and can advise about a workaround?
 

revengineer

Contributor
Joined
Oct 27, 2019
Messages
193
I fixed the issue by limited the number of simultaneous transfers from 4 to 1. I did not realize that 4 was the default. My 5 Mbit/s pipe is not big enough to transfer four 10 GB files in parallel without timing out.
 
Top