SAP Knowledge Base Article - Preview

3194630 - RATs are "sleeping" with Messages 1002 "cs_ctx_alloc failure..." in ASE log - SRS 16.0


  • All Rep Agent Threads in the active ASE have the "sleeping" status.
  • Re-starting Rep Agent Threads does not help.
  • After multiple expected 9414 errors (due to the active SRS being down), the following errors start reporting in the active ASE log:
    (CI-Info) Message: 1002, Severity: 2 cs_ctx_alloc failure diagnostic data SYBASE: [$SYBASE] SYBASE_OCS: [OCS-16_0] LANG: [en_US.UTF-8] 
  • At the same time, multiple error messages are logged in the $SYBASE/ASE-16_0/install/sybinit.err file:
    The context allocation routine failed. The following problem caused the failure: Creating a TSD/TLS failed.
  • SRS logs reports no errors.



  • SAP Replication Server (SRS) 16.0 SP04 PL01 
  • SAP Adaptive Server Enterprise (ASE) 16.0 SP04 PL01
  • HADR with External replication


SAP Replication Server 16.0


826465, CR826465, CR#826465, 825125, CR825125, CR#825125, 824508, CR824508, CR#824508, cs_ctx_drop, cs_ctx_alloc, pthread_key_create, 826566, CR826566, CR#826566 , KBA , BC-SYB-REP , Sybase Replication Server (standalone) , BC-SYB-SDK , SDK , Known Error

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.