SAP Knowledge Base Article - Preview

2671908 - ASE Rep Agent error 9414 & error 313 with message 'CI API call setWriteTextCopy() failed - SRS


  • HADR Business Suite 16.0 
  • sap_status path shows the following error msg:

    • SITE1.SITE2.<dbname> State Suspended Path is suspended (Replication Agent Thread).
      Transactions are not being replicated.

  • Primary ASE log prints the following msgs:
    • server  Error: 9414, Severity: 20, State: 3 
      server  RepAgent(4): Streaming replication distribution CI Library error -3 with severity 2 and message 'Package buffer is depleted. Total 393216, used 389712, requesting 3600.'.
      Rep Agent detected error 313 with message 'CI API call setWriteTextCopy() failed ' at line 3294 in file ra_ci_cmd.c.
      server  RepAgent(4): Warning: The size of the stream buffer is too small (1572864 bytes). Use sp_config_rep_agent '<dbname>', 'stream buffer size', '<new_value>' to increase it.
      server  Shutting down Rep Agent for database, '<dbname>' (dbid = 4).




  • SAP Adaptive Server (ASE) Enterprise Always-On Option 16.0
  • SAP Replication Server (SRS) 15.7.1 SP305 - 16.0


SAP Adaptive Server Enterprise 16.0 ; SAP Replication Server 15.7 ; SAP Replication Server 16.0


RAT; 9414 error; stream buffer size , KBA , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.