Hello,
I am using SQL Server 2012 SE and implemented tx replication with one publisher and 2 subscribers(server A to Server B and Server A to Server C). It had been running fine for the past 6 months but this morning I noticed that data from publisher is not being
pushed to distributors.
The errors in replication monitor (Publisher to Distributor history tab) show:
Agent 'ServerA-databasename-2' is retrying after an error. 100 retries attempted.
The process couldnot execute sp_replcmds on 'Server A'
The process is running and is waiting for a response from the server
The log Reader Agent shows:
The replication agent encountered an error and is set to restart within the job step retry interval.
2016-07-17 12:45:31.532 Status: 4096, code: 20024, text: 'Initializing'.
2016-07-17 12:45:31.532 The agent is running. Use Replication Monitor to view the details of this agent session.
2016-07-17 13:15:31.581 Status: 2, code: 20011, text: 'The process could not execute 'sp_replcmds' on 'Server A'.'.
2016-07-17 13:15:31.581 The process could not execute 'sp_replcmds' on 'SERVER A'.
2016-07-17 13:15:31.581 Status: 2, code: 0, text: 'Query timeout expired'.
2016-07-17 13:15:31.581 Status: 2, code: 22037, text: 'The process could not execute 'sp_replcmds' on 'SERVER A'.'.
2016-07-17 13:15:31.643 The agent failed with a 'Retry' status. Try to run the agent at a later time.
Also this filled out the trnasaction log of the database and it is sitting at 150GB compared to 15GB everyday.
Any ideas whats causing the timeout?
Thanks a ton