# Transient setting \[threadpool.search.queue\_size\], not dynamically updateable

**URL:** https://discuss.elastic.co/t/transient-setting-threadpool-search-queue-size-not-dynamically-updateable/72576
**Category:** Elasticsearch
**Created:** [January 24, 2017, 7:36am UTC](https://discuss.elastic.co/t/transient-setting-threadpool-search-queue-size-not-dynamically-updateable/72576 "2017-01-24T07:36:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Akshaykapoor](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Akshaykapoor](https://discuss.elastic.co/u/Akshaykapoor)
#### Post date: [January 24, 2017, 7:36am UTC](https://discuss.elastic.co/t/transient-setting-threadpool-search-queue-size-not-dynamically-updateable/72576/1 "2017-01-24T07:36:37Z")

</div>

I'm trying to change this cluster setting on v5.1.1 but unable to do so because of the following error.

I'm doing the following,

```
/_cluster/settings

{
  "transient" : {
    "threadpool.search.queue_size" : 1000
  }
}

```

This results in the following error,

```
{
"error": {
"root_cause": [
  {
    "type": "remote_transport_exception",
    "reason": "[Du_K45_][X.X.X.X:9300][cluster:admin/settings/update]"
  }
],
"type": "illegal_argument_exception",
"reason": "transient setting [threadpool.search.queue_size], not dynamically updateable"
},
"status": 400
}

```

I also tried updating threadpool settings with other threadpools but result is still the same.

Is anybody else also facing this issue ? Any help would be great before i open an issue on Github.

Thanks

---

<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: [January 24, 2017, 7:40am UTC](https://discuss.elastic.co/t/transient-setting-threadpool-search-queue-size-not-dynamically-updateable/72576/2 "2017-01-24T07:40:04Z")

</div>

See [https://www.elastic.co/guide/en/elasticsearch/reference/5.1/breaking\_50\_settings\_changes.html#\_forbid\_changing\_of\_thread\_pool\_types](https://www.elastic.co/guide/en/elasticsearch/reference/5.1/breaking_50_settings_changes.html#_forbid_changing_of_thread_pool_types)

---

<div class="post-metadata">

### Author: ![Akshaykapoor](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Akshaykapoor](https://discuss.elastic.co/u/Akshaykapoor)
#### Post date: [January 24, 2017, 8:32am UTC](https://discuss.elastic.co/t/transient-setting-threadpool-search-queue-size-not-dynamically-updateable/72576/3 "2017-01-24T08:32:27Z")

</div>

@warkolm in the document it specifies that the `queue_size` can be updated and are node\_level settings.

Does that mean, these setting cannot be dynamically updated through APIs. For all node-level settings, can it be only done by setting it in the yaml file and would require restart of the node.

If that is the case, then if the node requires a change in the queue\_size value, we would have to give it complete restart everytime (don't think this is the best way to do it, i'm probably missing something here). Is there a well defined procedure to achieve this

[Elasticsearch 5.1.1 update thread\_pool setting](https://discuss.elastic.co/t/elasticsearch-5-1-1-update-thread-pool-setting/70562)

---

<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: [January 24, 2017, 8:33am UTC](https://discuss.elastic.co/t/transient-setting-threadpool-search-queue-size-not-dynamically-updateable/72576/4 "2017-01-24T08:33:03Z")

</div>

That is correct. Needs to be applied to the config file and then the node needs restarting.

---

<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 21, 2017, 8:33am UTC](https://discuss.elastic.co/t/transient-setting-threadpool-search-queue-size-not-dynamically-updateable/72576/5 "2017-02-21T08:33:21Z")

</div>

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