| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | [role="xpack"][[ccr-settings]]=== {ccr-cap} settingsThese {ccr} settings can be dynamically updated on a live cluster with the<<cluster-update-settings,cluster update settings API>>.[discrete][[ccr-recovery-settings]]==== Remote recovery settingsThe following setting can be used to rate-limit the data transmitted during<<ccr-remote-recovery,remote recoveries>>:`ccr.indices.recovery.max_bytes_per_sec` (<<cluster-update-settings,Dynamic>>)::Limits the total inbound and outbound remote recovery traffic on each node.Since this limit applies on each node, but there may be many nodes performingremote recoveries concurrently, the total amount of remote recovery bytes may bemuch higher than this limit. If you set this limit too high then there is a riskthat ongoing remote recoveries will consume an excess of bandwidth (or otherresources) which could destabilize the cluster. This setting is used by both theleader and follower clusters. For example if it is set to `20mb` on a leader,the leader will only send `20mb/s` to the follower even if the follower isrequesting and can accept `60mb/s`. Defaults to `40mb`.[discrete][[ccr-advanced-recovery-settings]]==== Advanced remote recovery settingsThe following _expert_ settings can be set to manage the resources consumed byremote recoveries:`ccr.indices.recovery.max_concurrent_file_chunks` (<<cluster-update-settings,Dynamic>>)::Controls the number of file chunk requests that can be sent in parallel perrecovery. As multiple remote recoveries might already running in parallel,increasing this expert-level setting might only help in situations where remoterecovery of a single shard is not reaching the total inbound and outbound remote recovery traffic as configured by `ccr.indices.recovery.max_bytes_per_sec`.Defaults to `5`. The maximum allowed value is `10`.`ccr.indices.recovery.chunk_size`(<<cluster-update-settings,Dynamic>>)::Controls the chunk size requested by the follower during file transfer. Defaults to`1mb`.`ccr.indices.recovery.recovery_activity_timeout`(<<cluster-update-settings,Dynamic>>)::Controls the timeout for recovery activity. This timeout primarily applies onthe leader cluster. The leader cluster must open resources in-memory to supplydata to the follower during the recovery process. If the leader does not receive recovery requests from the follower for this period of time, it will close the resources. Defaults to 60 seconds.`ccr.indices.recovery.internal_action_timeout` (<<cluster-update-settings,Dynamic>>)::Controls the timeout for individual network requests during the remote recoveryprocess. An individual action timing out can fail the recovery. Defaults to60 seconds.
 |