# 503 Execution Exception

**URL:** <https://discuss.elastic.co/t/503-execution-exception/167763>\
**Category:** Elasticsearch\
**Created:** [February 10, 2019, 5:14pm UTC](https://discuss.elastic.co/t/503-execution-exception/167763 "2019-02-10T17:14:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hammad\_Ali\_Khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hammad_ali_khan/32/46028_2.png) [@Hammad\_Ali\_Khan](https://discuss.elastic.co/u/Hammad_Ali_Khan)\
**Post date:** [February 10, 2019, 5:14pm UTC](https://discuss.elastic.co/t/503-execution-exception/167763/1 "2019-02-10T17:14:02Z")

</div>

Hi,  
I am facing this error is this same as 409. Whats the solution to this problem, up scaling or any performance improvement at index level.

> {  
> "error": {  
> "root\_cause": ,  
> "type": "search\_phase\_execution\_exception",  
> "reason": "",  
> "phase": "fetch",  
> "grouped": true,  
> "failed\_shards": ,  
> "caused\_by": {  
> "type": "es\_rejected\_execution\_exception",  
> "reason": "rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@4b2b505f on QueueResizingEsThreadPoolExecutor[name = Ezva98Z/search, queue capacity = 1000, min queue capacity = 1000, max queue capacity = 1000, frame size = 2000, targeted response rate = 1s, task execution EWMA = 703.3micros, adjustment amount = 50, org.elasticsearch.common.util.concurrent.QueueResizingEsThreadPoolExecutor@5a27b0f3[Running, pool size = 7, active threads = 7, queued tasks = 1160, completed tasks = 5550762]]"  
> }  
> },  
> "status": 503  
> }  
> Regards,  
> HAK

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [February 25, 2019, 1:39pm UTC](https://discuss.elastic.co/t/503-execution-exception/167763/2 "2019-02-25T13:39:55Z")

</div>

Hi,  
yes this is the same as 409. It is actually a bug that we return 503 in this case, it should be a 409 instead, see [https://github.com/elastic/elasticsearch/pull/39086](https://github.com/elastic/elasticsearch/pull/39086) .

---

<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:** [March 25, 2019, 1:49pm UTC](https://discuss.elastic.co/t/503-execution-exception/167763/3 "2019-03-25T13:49:13Z")

</div>

Closed on March 25, 2019, 1:49pm UTC

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