# Limitation on Shards

**URL:** <https://discuss.elastic.co/t/limitation-on-shards/71600>\
**Category:** Elasticsearch\
**Created:** [January 14, 2017, 10:16am UTC](https://discuss.elastic.co/t/limitation-on-shards/71600 "2017-01-14T10:16:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amin3d](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amin3d/32/14567_2.png) [@amin3d](https://discuss.elastic.co/u/amin3d)\
**Post date:** [January 14, 2017, 10:16am UTC](https://discuss.elastic.co/t/limitation-on-shards/71600/1 "2017-01-14T10:16:05Z")

</div>

In the name of Allah, Hi, Recently we've lost around 1m records, right now i'm looking for a reason that what happen to our data. I want to ask is there any Limitation on Shards, for example if it reaches to 1m record it will be restarted ?  
By the way where the Replica is stored in Ubuntu server?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 14, 2017, 11:28am UTC](https://discuss.elastic.co/t/limitation-on-shards/71600/2 "2017-01-14T11:28:33Z")

</div>

No limitation.

May be your instance is opened on internet and you got that?

> [@Ransom attack on Elasticsearch cluster?](https://discuss.elastic.co/t/ransom-attack-on-elasticsearch-cluster/71310/14):
>
> Read [https://www.elastic.co/blog/protecting-against-attacks-that-hold-your-data-for-ransom](https://www.elastic.co/blog/protecting-against-attacks-that-hold-your-data-for-ransom)

---

<div class="post-metadata">

**Author:** ![rusty](https://avatars.discourse-cdn.com/v4/letter/r/f17d59/32.png) [@rusty](https://discuss.elastic.co/u/rusty)\
**Post date:** [January 16, 2017, 10:14am UTC](https://discuss.elastic.co/t/limitation-on-shards/71600/3 "2017-01-16T10:14:24Z")

</div>

There are one limit mentioned in [lucene documentation](http://lucene.apache.org/core/6_3_0/core/org/apache/lucene/codecs/lucene54/package-summary.html#Limitations), but it's really high in general (2 147 483 647 documents per shard).

---

<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:** [February 13, 2017, 10:14am UTC](https://discuss.elastic.co/t/limitation-on-shards/71600/4 "2017-02-13T10:14:53Z")

</div>

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