# Automatic reset of index

**URL:** <https://discuss.elastic.co/t/automatic-reset-of-index/14386>\
**Category:** Elasticsearch\
**Created:** [November 13, 2013, 4:23pm UTC](https://discuss.elastic.co/t/automatic-reset-of-index/14386 "2013-11-13T16:23:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aj1](https://avatars.discourse-cdn.com/v4/letter/a/e68b1a/32.png) [@aj1](https://discuss.elastic.co/u/aj1)\
**Post date:** [November 13, 2013, 4:23pm UTC](https://discuss.elastic.co/t/automatic-reset-of-index/14386/1 "2013-11-13T16:23:15Z")

</div>

Hi Guys,

I have a single node elasticsearch instance ( 0.90 version) running on a single machine ( 8GB RAM, dual core CPU) having RHEL 5.6

After having indexed close to 2 million documents, it runs fine for a few hours and then restarts on its own, wiping out the index in the process. I now need to reindex all the documents again.

Here are the modifications i made to the default elasticsearch.yml file :

index.number\_of\_shards: 5  
index.cache.field.type: soft  
index.fielddata.cache: soft  
index.cache.field.expire: 5m  
indices.fielddata.cache.size: 10%  
indices.fielddata.cache.expire : 5m  
index.store.type: mmapfs  
bootstrap.mlockall: true  
discovery.zen.ping.multicast.enabled: false  
action.disable\_delete\_all\_indices: true  
script.disable\_dynamic: true

I use the elasticsearch service wrapper to start and stop the instance. In the elasticsearch.conf file, i have set the heap size to 2GB :

set.default.ES\_HEAP\_SIZE=2048

Any help is diagnosing the problem will be appreciated.  
Thanks guys!

---

<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 6, 2017, 2:07am UTC](https://discuss.elastic.co/t/automatic-reset-of-index/14386/2 "2017-07-06T02:07:31Z")

</div>


