# ES Thread pool how to update

**URL:** https://discuss.elastic.co/t/es-thread-pool-how-to-update/257779
**Category:** Elasticsearch
**Created:** [December 6, 2020, 3:20pm UTC](https://discuss.elastic.co/t/es-thread-pool-how-to-update/257779 "2020-12-06T15:20:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Vishnu\_Singhal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishnu_singhal/32/52488_2.png) [@Vishnu\_Singhal](https://discuss.elastic.co/u/Vishnu_Singhal)
#### Post date: [December 6, 2020, 3:20pm UTC](https://discuss.elastic.co/t/es-thread-pool-how-to-update/257779/1 "2020-12-06T15:20:35Z")

</div>

How to udpate the thread pool size for elasticsearch in elastic cloud4

```auto
{
    "persistent" : {
        "thread_pool.write.queue_size" : 1000
    }
}

```

Above Put call is resulting in a failure

```auto
{
    "error": {
        "root_cause": [
            {
                "type": "illegal_argument_exception",
                "reason": "persistent setting [thread_pool.write.queue_size], not dynamically updateable"
            }
        ],
        "type": "illegal_argument_exception",
        "reason": "persistent setting [thread_pool.write.queue_size], not dynamically updateable"
    },
    "status": 400
}

```

---

<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 7, 2020, 2:15am UTC](https://discuss.elastic.co/t/es-thread-pool-how-to-update/257779/2 "2020-12-07T02:15:48Z")

</div>

Did you try it as a dynamic setting?

---

<div class="post-metadata">

### Author: ![Vishnu\_Singhal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vishnu_singhal/32/52488_2.png) [@Vishnu\_Singhal](https://discuss.elastic.co/u/Vishnu_Singhal)
#### Post date: [December 7, 2020, 4:30am UTC](https://discuss.elastic.co/t/es-thread-pool-how-to-update/257779/3 "2020-12-07T04:30:00Z")

</div>

> [@warkolm](#):
>
> ou try it as a dynamic setting?

How can i do it

---

<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 7, 2020, 4:33am UTC](https://discuss.elastic.co/t/es-thread-pool-how-to-update/257779/4 "2020-12-07T04:33:54Z")

</div>

Change persistent to dynamic.

---

<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: [December 21, 2020, 4:34am UTC](https://discuss.elastic.co/t/es-thread-pool-how-to-update/257779/5 "2020-12-21T04:34:05Z")

</div>

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