{
  "id": "replicaof-repeatedly-fails",
  "title": "Replica Of Repeatedly Fails",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/databases/import-export/replica-of/replicaof-repeatedly-fails/",
  "summary": "Troubleshoot when the Replica Of process repeatedly fails and restarts.",
  "content": "**Problem**: The Replica Of process repeatedly fails and restarts\n\n**Diagnostic**: A log entry in the Redis log of the source database shows repeated failures and restarts.\n\n**Cause**: The Redis \"client-output-buffer-limit\" setting on the source database\nis configured to a relatively small value, which causes the connection drop.\n\n**Resolution**: Reconfigure the buffer on the source database to a bigger value:\n\n- If the source is a Redis database on a Redis Enterprise Software cluster,\n    increase the replica buffer size of the **source database** with:\n\n    `rladmin tune db \u003c db:id | name \u003e slave_buffer \u003c value \u003e`\n\n- If the source is a Redis database not on a Redis Enterprise Software cluster,\n    use the [config set](http://redis.io/commands/config-set) command through\n    `redis-cli` to increase the client output buffer size of the **source database** with:\n\n    `config set client-output-buffer-limit \"slave \u003chard_limit\u003e \u003csoft_limit\u003e \u003csoft_seconds\u003e\"`\n\n**Additional information**: [Top Redis Headaches for DevOps - Replication Buffer](https://redislabs.com/blog/top-redis-headaches-for-devops-replication-buffer)\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

