# Elasticsearch stuck in yellow status

**URL:** <https://discuss.elastic.co/t/elasticsearch-stuck-in-yellow-status/21395>\
**Category:** Elasticsearch\
**Created:** [December 26, 2014, 12:47pm UTC](https://discuss.elastic.co/t/elasticsearch-stuck-in-yellow-status/21395 "2014-12-26T12:47:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piyush\_Rai](https://avatars.discourse-cdn.com/v4/letter/p/90ced4/32.png) [@Piyush\_Rai](https://discuss.elastic.co/u/Piyush_Rai)\
**Post date:** [December 26, 2014, 12:47pm UTC](https://discuss.elastic.co/t/elasticsearch-stuck-in-yellow-status/21395/1 "2014-12-26T12:47:08Z")

</div>

I fired the following command on elasticsearch

```
PUT /_cluster/settings
{
    "persistent" : {
        "threadpool.index.queue_size": -1
    }
}

```

But now my elasticsearch cluster health is stuck in yellow. Nothing is  
moving, and the cat recovery api gives following

curl -XGET 'localhost:9200/\_cat/recovery?v'  
books 0 613 replica done [server1.internal.com](http://server1.internal.com)  
[server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
100.0%  
books 0 53479 replica done [server2.internal.com](http://server2.internal.com)  
[server3.internal.com](http://server3.internal.com) n/a n/a 146 100.0% 435062890  
100.0%  
books 1 592 replica done [server1.internal.com](http://server1.internal.com)  
[server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
100.0%  
books 1 5901 replica done [server2.internal.com](http://server2.internal.com)  
[server3.internal.com](http://server3.internal.com) n/a n/a 198 34.3% 449403096 2.7%

```
books 2 551 replica done server1.internal.com 

```

[server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
100.0%  
books 2 9018 replica done [server2.internal.com](http://server2.internal.com)  
[server3.internal.com](http://server3.internal.com) n/a n/a 201 28.9% 451881473 4.4%

```
books 3 519 replica done server1.internal.com 

```

[server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
100.0%  
books 3 3869 replica done [server2.internal.com](http://server2.internal.com)  
[server3.internal.com](http://server3.internal.com) n/a n/a 170 61.8% 434156880 1.2%

```
books 4 525 replica done server1.internal.com 

```

[server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
100.0%  
books 4 33468 replica done [server2.internal.com](http://server2.internal.com)  
[server3.internal.com](http://server3.internal.com) n/a n/a 136 100.0% 428616146  
100.0%

For about 30 minutes there has been no progress.

Can anyone help me how to solve this?

--  
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/f59b96fa-1965-4b45-860d-edd8f7ba1928%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f59b96fa-1965-4b45-860d-edd8f7ba1928%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [December 26, 2014, 8:55pm UTC](https://discuss.elastic.co/t/elasticsearch-stuck-in-yellow-status/21395/2 "2014-12-26T20:55:33Z")

</div>

Why did you set it to -1? I'd set it back and see if that fixes it.

On 26 December 2014 at 23:47, Piyush Rai [piyushrai23@gmail.com](mailto:piyushrai23@gmail.com) wrote:

> I fired the following command on elasticsearch
> 
> ```
> PUT /_cluster/settings
> {
> "persistent" : {
> "threadpool.index.queue_size": -1
> }
> }
> 
> ```
> 
> But now my elasticsearch cluster health is stuck in yellow. Nothing is  
> moving, and the cat recovery api gives following
> 
> curl -XGET 'localhost:9200/\_cat/recovery?v'  
> books 0 613 replica done [server1.internal.com](http://server1.internal.com)  
> [server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
> 100.0%  
> books 0 53479 replica done [server2.internal.com](http://server2.internal.com)  
> [server3.internal.com](http://server3.internal.com) n/a n/a 146 100.0% 435062890  
> 100.0%  
> books 1 592 replica done [server1.internal.com](http://server1.internal.com)  
> [server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
> 100.0%  
> books 1 5901 replica done [server2.internal.com](http://server2.internal.com)  
> [server3.internal.com](http://server3.internal.com) n/a n/a 198 34.3% 449403096  
> 2.7%  
> books 2 551 replica done [server1.internal.com](http://server1.internal.com)  
> [server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
> 100.0%  
> books 2 9018 replica done [server2.internal.com](http://server2.internal.com)  
> [server3.internal.com](http://server3.internal.com) n/a n/a 201 28.9% 451881473  
> 4.4%  
> books 3 519 replica done [server1.internal.com](http://server1.internal.com)  
> [server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
> 100.0%  
> books 3 3869 replica done [server2.internal.com](http://server2.internal.com)  
> [server3.internal.com](http://server3.internal.com) n/a n/a 170 61.8% 434156880  
> 1.2%  
> books 4 525 replica done [server1.internal.com](http://server1.internal.com)  
> [server2.internal.com](http://server2.internal.com) n/a n/a 1 100.0% 79  
> 100.0%  
> books 4 33468 replica done [server2.internal.com](http://server2.internal.com)  
> [server3.internal.com](http://server3.internal.com) n/a n/a 136 100.0% 428616146  
> 100.0%
> 
> For about 30 minutes there has been no progress.
> 
> Can anyone help me how to solve this?
> 
> --  
> 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/f59b96fa-1965-4b45-860d-edd8f7ba1928%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f59b96fa-1965-4b45-860d-edd8f7ba1928%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/f59b96fa-1965-4b45-860d-edd8f7ba1928%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f59b96fa-1965-4b45-860d-edd8f7ba1928%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAEYi1X\_GK-QMQD7LXcFkFw8%3DjHsQGyuG1eyKqfhvacSS9WQQGg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X_GK-QMQD7LXcFkFw8%3DjHsQGyuG1eyKqfhvacSS9WQQGg%40mail.gmail.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, 12:41am UTC](https://discuss.elastic.co/t/elasticsearch-stuck-in-yellow-status/21395/3 "2017-07-06T00:41:51Z")

</div>

Closed on July 6, 2017, 12:41am UTC


