Home > Troubleshooting > SAFE Backup > Retry warnings or ChunkedOutputStream.FlushData.execute Failed to flush buffer to this destination

Retry warnings or ChunkedOutputStream.FlushData.execute Failed to flush buffer to this destination

When running a backup job, you may see the following "Info" and / or "Errors" in the backup reports

Error="ChunkedOutputStream.FlushData.execute] Failed to flush buffer
(directory_path\vm_name-flat.vmdk) to this destination.
Error='java.io.IOException: [FastPipedOutputStream.write]
FastPipedOutputStream has been closed by the reading
thread.', caused by [IOException][FastPipedOutputStream.write]
FastPipedOutputStream has been closed by the reading thread." 

And / or

Failed to upload file "XXXXXXXXXX/blocks/2019-01-13-13-36-00/0/000002_000025.bak", will retry after 30 seconds (# of retry: 1/10)

This can be caused by an unstable network connection between the SDSL Backup Client and our backup Server

To resolve this please try fine tuning the performance of the backup client by following the steps below:

1. Open afc.opt found in C:\Program Files\SDSLBusinessCloudBackup
2. Find the line com.ahsay.afc.bfs.cloud.ChunkedOutputStream.retry= and add 20 to the end
3. Find the line com.ahsay.afc.io.ReadAheadInputStream.timeout= and add 300 to the end
4. Find the line com.ahsay.afc.bfs.cloud.ChunkedOutputStream.upperSleepLimit= and add 5 to the end

So the 3 lines should look like this

com.ahsay.afc.bfs.cloud.ChunkedOutputStream.retry=20 
com.ahsay.afc.io.ReadAheadInputStream.timeout=300 
com.ahsay.afc.bfs.cloud.ChunkedOutputStream.upperSleepLimit=5

Save and exit the file

Now try rerunning the backup