Cause: 

This issue is caused by an unstable network connection between the AhsayOBM/AhsayACB client machine and the backup destination, i.e. AhsayCBS server or Cloud storage service. 


Resolution: 

Please try fine tuning the timeout and retry parameters on AhsayOBM/AhsayACB to workaround the unstable network connection issue by increasing the number of retry and or read timeout value, this can be done by %OBC_HOME%\afc.opt file. 


Parameter Description: 


  1. com.ahsay.afc.bfs.cloud.ChunkedOutputStream.retry

    The number of times AhsayOBM/AhsayACB should retry to send a block to the backup destination. The default value for retry 10 times. 
  2. com.ahsay.afc.io.ReadAheadInputStream.timeout

    The read timeout interval before AhsayOBM/AhsayACB retries to send a block to the backup destination. The default timeout value is 90 minutes. 
  3. com.ahsay.afc.bfs.cloud.ChunkedOutputStream.upperSleepLimit

    The default maximum sleep interval value is 16 minutes, i.e. if the data block upload fails, then AhsayOBM/AhsayACB will sleep for (30 sec) x 2^(no. of retry - 1) minutes and then retry to upload the data block again, which the maximum sleeping interval is 16 minutes (960 seconds), i.e 30 sec, 60 sec, 120 sec, 240 sec, 480 sec, 960 sec, 960 sec, 960 sec, 960 sec, 960 sec...

Value of %OBC_INSTALL% folder for various operating system: 


Windows: C:\Program Files\AhsayOBM or C:\Program Files\AhsayACB 

Linux/Unix: /usr/local/obm 

Mac OS X: /Applications/AhsayOBM.app or /Applications/AhsayACB.app 

Synology: /volume1/@appstore/AhsayOBM/obm 


On the AhsayOBM/AhsayACB client machine: 


  1. Go to %OBC_INSTALL% folder.
  2. Edit the afc.opt file.
  3. Add the following values to the afc.opt file.

    Recommended values: 
    com.ahsay.afc.bfs.cloud.ChunkedOutputStream.retry=20
    com.ahsay.afc.io.ReadAheadInputStream.timeout=300
    com.ahsay.afc.bfs.cloud.ChunkedOutputStream.upperSleepLimit=5 
  4. Save the file
  5. Run the backup job again.