# Snapshot API not honoring max\_snapshot\_bytes\_per\_sec

**URL:** <https://discuss.elastic.co/t/snapshot-api-not-honoring-max-snapshot-bytes-per-sec/235951>\
**Category:** Elasticsearch\
**Created:** [June 5, 2020, 1:02pm UTC](https://discuss.elastic.co/t/snapshot-api-not-honoring-max-snapshot-bytes-per-sec/235951 "2020-06-05T13:02:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Astro-es](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@Astro-es](https://discuss.elastic.co/u/Astro-es)\
**Post date:** [June 5, 2020, 1:02pm UTC](https://discuss.elastic.co/t/snapshot-api-not-honoring-max-snapshot-bytes-per-sec/235951/1 "2020-06-05T13:02:33Z")

</div>

I am trying to increase `max_snapshot_bytes_per_sec` to 1g but Elasticsearch snapshot API seems to be ignoring that parameter.

Taking snapshots for large indexes using `_snapshot` API is taking a very long time.

ES Version: 7.2.0  
Type of snapshot repo: NFS client  
ES Instance type: 8 cores, 32GB  
NFS Instanace type: 16 cores, 32Gb

Please advice

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [June 7, 2020, 3:09pm UTC](https://discuss.elastic.co/t/snapshot-api-not-honoring-max-snapshot-bytes-per-sec/235951/2 "2020-06-07T15:09:33Z")

</div>

Hi @Astro-es

I am not aware of any issues with the `max_snapshot_bytes_per_sec` setting.  
To check/verify whether the setting being ignored is truly the issue here, you could set it to a lower value and check if the snapshots become slower.

More likely the bottle neck is in the write throughput you can achieve to your NFS system or the rate at which your data nodes are able to read the data at.

If you set the max snapshot write rate to `1G` this means that the disks the data is read from have to provide `1G`, your network has to be able to handle `1G` and the NFS must be able to sustain writes at that rate.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2020, 3:09pm UTC](https://discuss.elastic.co/t/snapshot-api-not-honoring-max-snapshot-bytes-per-sec/235951/3 "2020-07-05T15:09:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
