# Corrupt index, checksum failed

**URL:** https://discuss.elastic.co/t/corrupt-index-checksum-failed/19523
**Category:** Elasticsearch
**Created:** [August 29, 2014, 5:58am UTC](https://discuss.elastic.co/t/corrupt-index-checksum-failed/19523 "2014-08-29T05:58:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Sviatoslav\_Abakumov](https://avatars.discourse-cdn.com/v4/letter/s/fbc32d/32.png) [@Sviatoslav\_Abakumov](https://discuss.elastic.co/u/Sviatoslav_Abakumov)
#### Post date: [August 29, 2014, 5:58am UTC](https://discuss.elastic.co/t/corrupt-index-checksum-failed/19523/1 "2014-08-29T05:58:32Z")

</div>

Hello.

I was using Elasticsearch v1.2.2 on Ubuntu 14.04 x64 with SSD. I have one  
index 'myindex' with around 100k of not so complex documents plus indices  
that Marvel generates.

Recently I started getting such kind of errors:

> <https://gist.github.com/Perlence/51aae04d077a53919c31>

  
It looks like shards become unassigned after some time and fail to assign  
again.

I've taken these steps:

- set index.routing.allocation.disable\_allocation to false
- increased heap size from 1 GB to 16 GB
- increased number of shards
- individual insert instead of of bulk insert
- updated Elasticsearch from 1.2.2 to 1.3.2
- started two instances of ES with 8 GB of heap each and 1 replica one  
the same machine
- deleted index
- provided gateway.recover\_after\_nodes and gateway.expected\_nodes  
settings in config
- reduced heap size to 4 GB per node

I've also noticed that shards of Marvel's indices become unassigned too.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4fb025ee-3668-4539-b249-11bcba216ea0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4fb025ee-3668-4539-b249-11bcba216ea0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:05am UTC](https://discuss.elastic.co/t/corrupt-index-checksum-failed/19523/2 "2017-07-06T01:05:32Z")

</div>


