# How to overwrite detected processors

**URL:** <https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708>\
**Category:** Elasticsearch\
**Created:** [November 14, 2018, 4:26pm UTC](https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708 "2018-11-14T16:26:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanaramis](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@juanaramis](https://discuss.elastic.co/u/juanaramis)\
**Post date:** [November 14, 2018, 4:26pm UTC](https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708/1 "2018-11-14T16:26:53Z")

</div>

Hi there,

How can I override the detected processors. In the doc related with thread pool say just write down  
Ex.

processors: 2

But don’t say where:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-threadpool.html)

I want to do that in order to run two nodes in the same server

Thanks in advance

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 14, 2018, 6:23pm UTC](https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708/2 "2018-11-14T18:23:42Z")

</div>

It means you write this in your `elasticsearch.yml` config file:

```auto
processors: 2

```

(replacing 2 with the number you want, of course)

---

<div class="post-metadata">

**Author:** ![juanaramis](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@juanaramis](https://discuss.elastic.co/u/juanaramis)\
**Post date:** [November 14, 2018, 6:55pm UTC](https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708/3 "2018-11-14T18:55:28Z")

</div>

I swear I tried that but had an error. Now I tried again and it works, lol

Thank you so much David

---

<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 12, 2018, 6:55pm UTC](https://discuss.elastic.co/t/how-to-overwrite-detected-processors/156708/4 "2018-12-12T18:55:31Z")

</div>

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