1. Home
  2. Revenda de Backup
  3. Ahsay
  4. Recebo a mensagem de erro: Error=”ChunkedOutputStream.FlushData.execute….

Recebo a mensagem de erro: Error=”ChunkedOutputStream.FlushData.execute….

TEXTO EM INGLÊS POIS FOI EXTRAIDO DA BASE DE CONHECIMENTO DO DESENVOLVEDOR

Product Version:
Ahsay: 7.9.2.0 or above
OS: All

Problem Description:
When performing a backup job on Ahsay the following error is shown in the backup log:

 No.  Type  Timestamp  Log
 *  …  …  …
 *  info  …  …
 *  erro  YYYY/MM/DD  hh:mm:ss  Error=”ChunkedOutputStream.FlushData.execute] Failed to flush buffer (caminho do arquivo) 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 Ahsay PRO/LITE 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 Ahsay PRO/LITE 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:

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

  1. The number of times Ahsay PRO/LITE should retry to send a block to the backup destination. The default value for retry 10 times.
  2. com.ahsay.afc.io.ReadAheadInputStream.timeoutThe read timeout interval before Ahsay PRO/LITE retries to send a block to the backup destination. The default timeout value is 90 minutes.
  3. com.ahsay.afc.bfs.cloud.ChunkedOutputStream.upperSleepLimitThe default maximum sleep interval value is 16 minutes, i.e. if the data block upload fails, then Ahsay PRO/LITE 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\Versão Pro or C:\Program Files\Versão Lite
Linux/Unix: /usr/local/obm
Mac OS X: /Applications/AhsayOBM.app or /Applications/AhsayACB.app
Synology: /volume1/@appstore/AhsayOBM/obm

On the Ahsay PRO/LITE 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.
Atualizado em março 9, 2018

Esse artigo foi útil?

Artigos relacionados