# Segments are not getting merged

**URL:** <https://discuss.elastic.co/t/segments-are-not-getting-merged/179524>\
**Category:** Elasticsearch\
**Created:** [May 3, 2019, 11:13am UTC](https://discuss.elastic.co/t/segments-are-not-getting-merged/179524 "2019-05-03T11:13:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nileshsoor](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@nileshsoor](https://discuss.elastic.co/u/nileshsoor)\
**Post date:** [May 3, 2019, 11:13am UTC](https://discuss.elastic.co/t/segments-are-not-getting-merged/179524/1 "2019-05-03T11:13:09Z")

</div>

Hi,

I am facing shard failure issue because of lack of space. However I noticed that the in some indexes the deleted count was more than 20%.  
As per the Elastic Search documentation, segment merging will happen if deleted count crosses the 10% of total records. But currently this is not happening.  
Anybody know why this is not getting merged?

ES version : 5.4.1  
RAM : 60GB  
HDD : 2TB SSD  
CPU : 8core

Thanks,  
Nilesh

---

<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:** [May 31, 2019, 11:13am UTC](https://discuss.elastic.co/t/segments-are-not-getting-merged/179524/2 "2019-05-31T11:13:15Z")

</div>

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