Table of Contents

ISSUE: [ChunkedOutputStream.FlushData.execute Failed to flush buffer to this destination

Article ID: 5231
Reviewed: 02/03/2017

Product Version:
AhsayOBM / AhsayACB: 7.9.2.0 or above
OS: All platforms

Problem Description

When performing a backup job of any type, the following error is receieved in the backup log:

No. Type Timestamp Log
* ... ... ...
* info ... ...
* erro YYYY/MM/DD hh:mm:ss 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."
* ... ... ...

Cause

This issue is caused by an unstable network connection between the AhsayOBM / ACB client machine and the backup destination (e.g. AhsayCBS server or Cloud storage service).

Resolution

Please try tuning the timeout and retry parameters on AhsayOBM / ACB to workaround the unstable network connection issue.  Increase the number of retry and or read timeout value, this can be done by editing the ${OBC_Install_Home}\afc.opt file.

Parameter Description:

On the AhsayOBM / ACB client computer:

  1. Browse to the ${OBC_Install_Home} 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.

Keywords

Retry, timeout, network, sleep, network, ChunkedOutputStream.FlushData