# Increase in CPU usage when deleting snapshots

**URL:** https://discuss.elastic.co/t/increase-in-cpu-usage-when-deleting-snapshots/266682
**Category:** Elasticsearch
**Created:** [March 9, 2021, 11:29am UTC](https://discuss.elastic.co/t/increase-in-cpu-usage-when-deleting-snapshots/266682 "2021-03-09T11:29:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Norman\_Khine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/norman_khine/32/3342_2.png) [@Norman\_Khine](https://discuss.elastic.co/u/Norman_Khine)
#### Post date: [March 9, 2021, 11:29am UTC](https://discuss.elastic.co/t/increase-in-cpu-usage-when-deleting-snapshots/266682/1 "2021-03-09T11:29:46Z")

</div>

Hello,  
I have a process which deletes outdated ES snapshots which are saved on AWS S3.  
Currently there are 326 snapshots which are scheduled for deletion. From the docs, [Delete a snapshot | Elasticsearch Reference [7.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-snapshots.html) it states

_When a snapshot is deleted from a repository, Elasticsearch deletes all files associated with the snapshot that are not in-use by other snapshots._

Would this explain the load on the ES cluster and can someone explain the internals of the snapshot delete API?

Any advise is much appreciated.

---

<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: [April 6, 2021, 11:30am UTC](https://discuss.elastic.co/t/increase-in-cpu-usage-when-deleting-snapshots/266682/2 "2021-04-06T11:30:02Z")

</div>

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