{
  "schema_version": 2,
  "id": "operate/rs/databases/import-export/replica-of/replicaof-repeatedly-fails",
  "title": "Replica Of Repeatedly Fails",
  "url": "https://redis.io/docs/latest/operate/rs/databases/import-export/replica-of/replicaof-repeatedly-fails/",
  "summary": "Troubleshoot when the Replica Of process repeatedly fails and restarts.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-01-30T12:29:26-06:00",
  "page_type": "content",
  "content_hash": "a63b8ca9ffdf9b7b1ed1da879f9bcd97ce76e196acf9e1ec690b493d2a1c1887",
  "sections": [
    {
      "id": "content",
      "title": "Content",
      "role": "content",
      "text": "**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 Software cluster,\n    increase the replica buffer size of the **source database** with:\n\n    `rladmin tune db < db:id | name > slave_buffer < value >`\n\n- If the source is a Redis database not on a Redis 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 <hard_limit> <soft_limit> <soft_seconds>\"`\n\n**Additional information**: [Top Redis Headaches for DevOps - Replication Buffer](https://redis.io/blog/top-redis-headaches-for-devops-replication-buffer/)"
    }
  ],
  "examples": []
}
