# Meaning of Red in health status

**URL:** https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473
**Category:** Elasticsearch
**Created:** [November 19, 2013, 6:40pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473 "2013-11-19T18:40:57Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [November 19, 2013, 6:40pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/1 "2013-11-19T18:40:57Z")

</div>

I am using head and BigDesk and after my load testing yesterday I see the  
health turned into Red but both of them don't tell me why it's Red. Is the  
log best place to look?

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [November 19, 2013, 6:47pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/2 "2013-11-19T18:47:45Z")

</div>

Its usually a simple math check that answers this question. How many shards  
you have, how many replicas each and how many nodes?

Also, are there any shard allocation rules defined?

On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> I am using head and BigDesk and after my load testing yesterday I see the  
> health turned into Red but both of them don't tell me why it's Red. Is the  
> log best place to look?
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [November 19, 2013, 7:02pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/3 "2013-11-19T19:02:38Z")

</div>

I just started out new and doing load test to figure out number of shards,  
number of nodes required for my workload. So at the moment I have 1 shard  
and 1 replica. But in Bigdesk I don't see any issues with GC or otherwise.

On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:

> Its usually a simple math check that answers this question. How many  
> shards you have, how many replicas each and how many nodes?
> 
> Also, are there any shard allocation rules defined?
> 
> On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > I am using head and BigDesk and after my load testing yesterday I see the  
> > health turned into Red but both of them don't tell me why it's Red. Is the  
> > log best place to look?
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [November 19, 2013, 7:18pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/4 "2013-11-19T19:18:23Z")

</div>

and how many nodes do you have in the cluster? 1 replica will require you  
to have at least 2 nodes

On Tue, Nov 19, 2013 at 9:02 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> I just started out new and doing load test to figure out number of shards,  
> number of nodes required for my workload. So at the moment I have 1 shard  
> and 1 replica. But in Bigdesk I don't see any issues with GC or otherwise.
> 
> On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:
> 
> > Its usually a simple math check that answers this question. How many  
> > shards you have, how many replicas each and how many nodes?
> > 
> > Also, are there any shard allocation rules defined?
> > 
> > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > I am using head and BigDesk and after my load testing yesterday I see  
> > > the health turned into Red but both of them don't tell me why it's Red. Is  
> > > the log best place to look?
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [November 19, 2013, 7:18pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/5 "2013-11-19T19:18:52Z")

</div>

Use the lifecycle command of the es2unix tool on your logs. Look for when  
nodes dropped out of the cluster.

> **[GitHub - elastic/es2unix: Command-line ES](https://github.com/elastic/es2unix)**
>
> Command-line ES. Contribute to elastic/es2unix development by creating an account on GitHub.

--  
Ivan

On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> I just started out new and doing load test to figure out number of shards,  
> number of nodes required for my workload. So at the moment I have 1 shard  
> and 1 replica. But in Bigdesk I don't see any issues with GC or otherwise.
> 
> On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:
> 
> > Its usually a simple math check that answers this question. How many  
> > shards you have, how many replicas each and how many nodes?
> > 
> > Also, are there any shard allocation rules defined?
> > 
> > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > I am using head and BigDesk and after my load testing yesterday I see  
> > > the health turned into Red but both of them don't tell me why it's Red. Is  
> > > the log best place to look?
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [November 19, 2013, 7:43pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/6 "2013-11-19T19:43:18Z")

</div>

I always had 1 node and I was successfuly indexing documents until last  
night. I'll look at the logs next.

On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> Use the lifecycle command of the es2unix tool on your logs. Look for when  
> nodes dropped out of the cluster.
> 
> [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> 
> --  
> Ivan
> 
> On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > I just started out new and doing load test to figure out number of  
> > shards, number of nodes required for my workload. So at the moment I have 1  
> > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > otherwise.
> > 
> > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:
> > 
> > > Its usually a simple math check that answers this question. How many  
> > > shards you have, how many replicas each and how many nodes?
> > > 
> > > Also, are there any shard allocation rules defined?
> > > 
> > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > > 
> > > > I am using head and BigDesk and after my load testing yesterday I see  
> > > > the health turned into Red but both of them don't tell me why it's Red. Is  
> > > > the log best place to look?
> > > > 
> > > > --  
> > > > 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).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [November 19, 2013, 7:47pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/7 "2013-11-19T19:47:49Z")

</div>

Decrease the replica count to 0 and you're all set, no need to look at the  
logs

On Tue, Nov 19, 2013 at 9:43 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> I always had 1 node and I was successfuly indexing documents until last  
> night. I'll look at the logs next.
> 
> On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> 
> > Use the lifecycle command of the es2unix tool on your logs. Look for when  
> > nodes dropped out of the cluster.
> > 
> > [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> > 
> > --  
> > Ivan
> > 
> > On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > I just started out new and doing load test to figure out number of  
> > > shards, number of nodes required for my workload. So at the moment I have 1  
> > > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > > otherwise.
> > > 
> > > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko \<[itamar@code972.com](mailto:itamar@code972.com)
> > > 
> > > > wrote:
> > > 
> > > > Its usually a simple math check that answers this question. How many  
> > > > shards you have, how many replicas each and how many nodes?
> > > > 
> > > > Also, are there any shard allocation rules defined?
> > > > 
> > > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > > > 
> > > > > I am using head and BigDesk and after my load testing yesterday I see  
> > > > > the health turned into Red but both of them don't tell me why it's Red. Is  
> > > > > the log best place to look?
> > > > > 
> > > > > --  
> > > > > 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).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [November 19, 2013, 7:55pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/8 "2013-11-19T19:55:04Z")

</div>

But why? I didn't have any issues yesterday and at that point I had 6M+  
docs with 1 shard + 1 replica.

On Tue, Nov 19, 2013 at 11:47 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:

> Decrease the replica count to 0 and you're all set, no need to look at the  
> logs
> 
> On Tue, Nov 19, 2013 at 9:43 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > I always had 1 node and I was successfuly indexing documents until last  
> > night. I'll look at the logs next.
> > 
> > On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > 
> > > Use the lifecycle command of the es2unix tool on your logs. Look for  
> > > when nodes dropped out of the cluster.
> > > 
> > > [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> > > 
> > > --  
> > > Ivan
> > > 
> > > On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > > 
> > > > I just started out new and doing load test to figure out number of  
> > > > shards, number of nodes required for my workload. So at the moment I have 1  
> > > > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > > > otherwise.
> > > > 
> > > > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko \<  
> > > > [itamar@code972.com](mailto:itamar@code972.com)\> wrote:
> > > > 
> > > > > Its usually a simple math check that answers this question. How many  
> > > > > shards you have, how many replicas each and how many nodes?
> > > > > 
> > > > > Also, are there any shard allocation rules defined?
> > > > > 
> > > > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia \<[mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)
> > > > > 
> > > > > > wrote:
> > > > > 
> > > > > > I am using head and BigDesk and after my load testing yesterday I see  
> > > > > > the health turned into Red but both of them don't tell me why it's Red. Is  
> > > > > > the log best place to look?
> > > > > > 
> > > > > > --  
> > > > > > 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).  
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [November 19, 2013, 8:51pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/9 "2013-11-19T20:51:54Z")

</div>

Because you cannot store a primary and the only replica of the same index  
on the same node, otherwise it defeats the point of having a replica.

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 20 November 2013 06:55, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com) wrote:

> But why? I didn't have any issues yesterday and at that point I had 6M+  
> docs with 1 shard + 1 replica.
> 
> On Tue, Nov 19, 2013 at 11:47 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:
> 
> > Decrease the replica count to 0 and you're all set, no need to look at  
> > the logs
> > 
> > On Tue, Nov 19, 2013 at 9:43 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > I always had 1 node and I was successfuly indexing documents until last  
> > > night. I'll look at the logs next.
> > > 
> > > On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > > 
> > > > Use the lifecycle command of the es2unix tool on your logs. Look for  
> > > > when nodes dropped out of the cluster.
> > > > 
> > > > [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> > > > 
> > > > --  
> > > > Ivan
> > > > 
> > > > On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia \<[mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)
> > > > 
> > > > > wrote:
> > > > 
> > > > > I just started out new and doing load test to figure out number of  
> > > > > shards, number of nodes required for my workload. So at the moment I have 1  
> > > > > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > > > > otherwise.
> > > > > 
> > > > > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko \<  
> > > > > [itamar@code972.com](mailto:itamar@code972.com)\> wrote:
> > > > > 
> > > > > > Its usually a simple math check that answers this question. How many  
> > > > > > shards you have, how many replicas each and how many nodes?
> > > > > > 
> > > > > > Also, are there any shard allocation rules defined?
> > > > > > 
> > > > > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia \<  
> > > > > > [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)\> wrote:
> > > > > > 
> > > > > > > I am using head and BigDesk and after my load testing yesterday I  
> > > > > > > see the health turned into Red but both of them don't tell me why it's Red.  
> > > > > > > Is the log best place to look?
> > > > > > > 
> > > > > > > --  
> > > > > > > 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).  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > 
> > > > > > --  
> > > > > > 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).  
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [November 19, 2013, 8:54pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/10 "2013-11-19T20:54:08Z")

</div>

It appears that issue was with the heap size. I set it to 8G now on 32G  
machine. Surprisingly elasticsearch didn't crash even though it was  
throwing:

[2013-11-19 08:27:40,153][WARN][index.engine.robin] [10.80.140.242]  
[test][0] failed engine

java.lang.OutOfMemoryError: Java heap space

at org.apache.lucene.util.fst.BytesStore.writeByte(BytesStore.java:83)

On Tue, Nov 19, 2013 at 11:55 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> But why? I didn't have any issues yesterday and at that point I had 6M+  
> docs with 1 shard + 1 replica.
> 
> On Tue, Nov 19, 2013 at 11:47 AM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:
> 
> > Decrease the replica count to 0 and you're all set, no need to look at  
> > the logs
> > 
> > On Tue, Nov 19, 2013 at 9:43 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > I always had 1 node and I was successfuly indexing documents until last  
> > > night. I'll look at the logs next.
> > > 
> > > On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:
> > > 
> > > > Use the lifecycle command of the es2unix tool on your logs. Look for  
> > > > when nodes dropped out of the cluster.
> > > > 
> > > > [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> > > > 
> > > > --  
> > > > Ivan
> > > > 
> > > > On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia \<[mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)
> > > > 
> > > > > wrote:
> > > > 
> > > > > I just started out new and doing load test to figure out number of  
> > > > > shards, number of nodes required for my workload. So at the moment I have 1  
> > > > > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > > > > otherwise.
> > > > > 
> > > > > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko \<  
> > > > > [itamar@code972.com](mailto:itamar@code972.com)\> wrote:
> > > > > 
> > > > > > Its usually a simple math check that answers this question. How many  
> > > > > > shards you have, how many replicas each and how many nodes?
> > > > > > 
> > > > > > Also, are there any shard allocation rules defined?
> > > > > > 
> > > > > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia \<  
> > > > > > [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)\> wrote:
> > > > > > 
> > > > > > > I am using head and BigDesk and after my load testing yesterday I  
> > > > > > > see the health turned into Red but both of them don't tell me why it's Red.  
> > > > > > > Is the log best place to look?
> > > > > > > 
> > > > > > > --  
> > > > > > > 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).  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > 
> > > > > > --  
> > > > > > 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).  
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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).  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Kurt\_Hurtado](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@Kurt\_Hurtado](https://discuss.elastic.co/u/Kurt_Hurtado)
#### Post date: [November 19, 2013, 9:16pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/11 "2013-11-19T21:16:30Z")

</div>

A good rule of thumb is to set ES\_HEAP\_SIZE to half the total system memory  
(with max of 30GB however), unless you're running lots of other services on  
that machine... YMMV!  
Thanks,  
Kurt

On Tuesday, November 19, 2013 12:54:08 PM UTC-8, Mo wrote:

> It appears that issue was with the heap size. I set it to 8G now on 32G  
> machine. Surprisingly elasticsearch didn't crash even though it was  
> throwing:
> 
> [2013-11-19 08:27:40,153][WARN][index.engine.robin] [10.80.140.242]  
> [test][0] failed engine
> 
> java.lang.OutOfMemoryError: Java heap space
> 
> at org.apache.lucene.util.fst.BytesStore.writeByte(BytesStore.java:83)
> 
> On Tue, Nov 19, 2013 at 11:55 AM, Mohit Anchlia \<[mohita...@gmail.com](mailto:mohita...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > But why? I didn't have any issues yesterday and at that point I had 6M+  
> > docs with 1 shard + 1 replica.
> > 
> > On Tue, Nov 19, 2013 at 11:47 AM, Itamar Syn-Hershko \<[ita...@code972.com](mailto:ita...@code972.com)\<javascript:\>
> > 
> > > wrote:
> > 
> > > Decrease the replica count to 0 and you're all set, no need to look at  
> > > the logs
> > > 
> > > On Tue, Nov 19, 2013 at 9:43 PM, Mohit Anchlia \<[mohita...@gmail.com](mailto:mohita...@gmail.com)\<javascript:\>
> > > 
> > > > wrote:
> > > 
> > > > I always had 1 node and I was successfuly indexing documents until last  
> > > > night. I'll look at the logs next.
> > > > 
> > > > On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic \<[iv...@brusic.com](mailto:iv...@brusic.com)\<javascript:\>
> > > > 
> > > > > wrote:
> > > > 
> > > > > Use the lifecycle command of the es2unix tool on your logs. Look for  
> > > > > when nodes dropped out of the cluster.
> > > > > 
> > > > > [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> > > > > 
> > > > > --  
> > > > > Ivan
> > > > > 
> > > > > On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia \<[mohita...@gmail.com](mailto:mohita...@gmail.com)\<javascript:\>
> > > > > 
> > > > > > wrote:
> > > > > 
> > > > > > I just started out new and doing load test to figure out number of  
> > > > > > shards, number of nodes required for my workload. So at the moment I have 1  
> > > > > > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > > > > > otherwise.
> > > > > > 
> > > > > > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko \<  
> > > > > > [ita...@code972.com](mailto:ita...@code972.com) \<javascript:\>\> wrote:
> > > > > > 
> > > > > > > Its usually a simple math check that answers this question. How many  
> > > > > > > shards you have, how many replicas each and how many nodes?
> > > > > > > 
> > > > > > > Also, are there any shard allocation rules defined?
> > > > > > > 
> > > > > > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia \<[mohita...@gmail.com](mailto:mohita...@gmail.com)\<javascript:\>
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > I am using head and BigDesk and after my load testing yesterday I  
> > > > > > > > see the health turned into Red but both of them don't tell me why it's Red.  
> > > > > > > > Is the log best place to look?
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > 
> > > > > > --  
> > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Itamar\_Syn\_Hershko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/itamar_syn_hershko/32/725_2.png) [@Itamar\_Syn\_Hershko](https://discuss.elastic.co/u/Itamar_Syn_Hershko)
#### Post date: [November 19, 2013, 9:24pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/12 "2013-11-19T21:24:17Z")

</div>

This has nothing to do with the red cluster state, just why the cluster  
stopped being responsive, mind

On Tue, Nov 19, 2013 at 11:16 PM, Kurt Hurtado [kurtado@gmail.com](mailto:kurtado@gmail.com) wrote:

> A good rule of thumb is to set ES\_HEAP\_SIZE to half the total system  
> memory (with max of 30GB however), unless you're running lots of other  
> services on that machine... YMMV!  
> Thanks,  
> Kurt
> 
> On Tuesday, November 19, 2013 12:54:08 PM UTC-8, Mo wrote:
> 
> > It appears that issue was with the heap size. I set it to 8G now on 32G  
> > machine. Surprisingly elasticsearch didn't crash even though it was  
> > throwing:
> > 
> > [2013-11-19 08:27:40,153][WARN][index.engine.robin] [10.80.140.242]  
> > [test][0] failed engine
> > 
> > java.lang.OutOfMemoryError: Java heap space
> > 
> > at org.apache.lucene.util.fst.BytesStore.writeByte(BytesStore.java:83)
> > 
> > On Tue, Nov 19, 2013 at 11:55 AM, Mohit Anchlia [mohita...@gmail.com](mailto:mohita...@gmail.com)wrote:
> > 
> > > But why? I didn't have any issues yesterday and at that point I had 6M+  
> > > docs with 1 shard + 1 replica.
> > > 
> > > On Tue, Nov 19, 2013 at 11:47 AM, Itamar Syn-Hershko \<[ita...@code972.com](mailto:ita...@code972.com)
> > > 
> > > > wrote:
> > > 
> > > > Decrease the replica count to 0 and you're all set, no need to look at  
> > > > the logs
> > > > 
> > > > On Tue, Nov 19, 2013 at 9:43 PM, Mohit Anchlia [mohita...@gmail.com](mailto:mohita...@gmail.com)wrote:
> > > > 
> > > > > I always had 1 node and I was successfuly indexing documents until  
> > > > > last night. I'll look at the logs next.
> > > > > 
> > > > > On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic [iv...@brusic.com](mailto:iv...@brusic.com)wrote:
> > > > > 
> > > > > > Use the lifecycle command of the es2unix tool on your logs. Look for  
> > > > > > when nodes dropped out of the cluster.
> > > > > > 
> > > > > > [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> > > > > > 
> > > > > > --  
> > > > > > Ivan
> > > > > > 
> > > > > > On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia [mohita...@gmail.com](mailto:mohita...@gmail.com)wrote:
> > > > > > 
> > > > > > > I just started out new and doing load test to figure out number of  
> > > > > > > shards, number of nodes required for my workload. So at the moment I have 1  
> > > > > > > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > > > > > > otherwise.
> > > > > > > 
> > > > > > > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko \<  
> > > > > > > [ita...@code972.com](mailto:ita...@code972.com)\> wrote:
> > > > > > > 
> > > > > > > > Its usually a simple math check that answers this question. How  
> > > > > > > > many shards you have, how many replicas each and how many nodes?
> > > > > > > > 
> > > > > > > > Also, are there any shard allocation rules defined?
> > > > > > > > 
> > > > > > > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia \<[mohita...@gmail.com](mailto:mohita...@gmail.com)
> > > > > > > > 
> > > > > > > > > wrote:
> > > > > > > > 
> > > > > > > > > I am using head and BigDesk and after my load testing yesterday I  
> > > > > > > > > see the health turned into Red but both of them don't tell me why it's Red.  
> > > > > > > > > Is the log best place to look?
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > 
> > > > > > --  
> > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > 
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > 
> > > > --  
> > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > 
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > 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).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [November 19, 2013, 9:28pm UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/13 "2013-11-19T21:28:54Z")

</div>

Thanks! I understand.

On Tue, Nov 19, 2013 at 1:24 PM, Itamar Syn-Hershko [itamar@code972.com](mailto:itamar@code972.com)wrote:

> This has nothing to do with the red cluster state, just why the cluster  
> stopped being responsive, mind
> 
> On Tue, Nov 19, 2013 at 11:16 PM, Kurt Hurtado [kurtado@gmail.com](mailto:kurtado@gmail.com) wrote:
> 
> > A good rule of thumb is to set ES\_HEAP\_SIZE to half the total system  
> > memory (with max of 30GB however), unless you're running lots of other  
> > services on that machine... YMMV!  
> > Thanks,  
> > Kurt
> > 
> > On Tuesday, November 19, 2013 12:54:08 PM UTC-8, Mo wrote:
> > 
> > > It appears that issue was with the heap size. I set it to 8G now on 32G  
> > > machine. Surprisingly elasticsearch didn't crash even though it was  
> > > throwing:
> > > 
> > > [2013-11-19 08:27:40,153][WARN][index.engine.robin] [10.80.140.242]  
> > > [test][0] failed engine
> > > 
> > > java.lang.OutOfMemoryError: Java heap space
> > > 
> > > at org.apache.lucene.util.fst.BytesStore.writeByte(BytesStore.java:83)
> > > 
> > > On Tue, Nov 19, 2013 at 11:55 AM, Mohit Anchlia [mohita...@gmail.com](mailto:mohita...@gmail.com)wrote:
> > > 
> > > > But why? I didn't have any issues yesterday and at that point I had 6M+  
> > > > docs with 1 shard + 1 replica.
> > > > 
> > > > On Tue, Nov 19, 2013 at 11:47 AM, Itamar Syn-Hershko \<  
> > > > [ita...@code972.com](mailto:ita...@code972.com)\> wrote:
> > > > 
> > > > > Decrease the replica count to 0 and you're all set, no need to look at  
> > > > > the logs
> > > > > 
> > > > > On Tue, Nov 19, 2013 at 9:43 PM, Mohit Anchlia [mohita...@gmail.com](mailto:mohita...@gmail.com)wrote:
> > > > > 
> > > > > > I always had 1 node and I was successfuly indexing documents until  
> > > > > > last night. I'll look at the logs next.
> > > > > > 
> > > > > > On Tue, Nov 19, 2013 at 11:18 AM, Ivan Brusic [iv...@brusic.com](mailto:iv...@brusic.com)wrote:
> > > > > > 
> > > > > > > Use the lifecycle command of the es2unix tool on your logs. Look for  
> > > > > > > when nodes dropped out of the cluster.
> > > > > > > 
> > > > > > > [GitHub - elastic/es2unix: Command-line ES](https://github.com/elasticsearch/es2unix)
> > > > > > > 
> > > > > > > --  
> > > > > > > Ivan
> > > > > > > 
> > > > > > > On Tue, Nov 19, 2013 at 11:02 AM, Mohit Anchlia \<[mohita...@gmail.com](mailto:mohita...@gmail.com)
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > I just started out new and doing load test to figure out number of  
> > > > > > > > shards, number of nodes required for my workload. So at the moment I have 1  
> > > > > > > > shard and 1 replica. But in Bigdesk I don't see any issues with GC or  
> > > > > > > > otherwise.
> > > > > > > > 
> > > > > > > > On Tue, Nov 19, 2013 at 10:47 AM, Itamar Syn-Hershko \<  
> > > > > > > > [ita...@code972.com](mailto:ita...@code972.com)\> wrote:
> > > > > > > > 
> > > > > > > > > Its usually a simple math check that answers this question. How  
> > > > > > > > > many shards you have, how many replicas each and how many nodes?
> > > > > > > > > 
> > > > > > > > > Also, are there any shard allocation rules defined?
> > > > > > > > > 
> > > > > > > > > On Tue, Nov 19, 2013 at 8:40 PM, Mohit Anchlia \<  
> > > > > > > > > [mohita...@gmail.com](mailto:mohita...@gmail.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > I am using head and BigDesk and after my load testing yesterday I  
> > > > > > > > > > see the health turned into Red but both of them don't tell me why it's Red.  
> > > > > > > > > > Is the log best place to look?
> > > > > > > > > > 
> > > > > > > > > > --  
> > > > > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > > > > > 
> > > > > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > > > 
> > > > > > > > > --  
> > > > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > > > > 
> > > > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > > 
> > > > > > > > --  
> > > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > > > 
> > > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > > 
> > > > > > > --  
> > > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > > 
> > > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > > 
> > > > > > --  
> > > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > > 
> > > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > > > 
> > > > > --  
> > > > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > > > 
> > > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > 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).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:06am UTC](https://discuss.elastic.co/t/meaning-of-red-in-health-status/14473/14 "2017-07-06T02:06:10Z")

</div>


