# ES Version 6.5.4 wrong number of available processors

**URL:** <https://discuss.elastic.co/t/es-version-6-5-4-wrong-number-of-available-processors/170658>\
**Category:** Elasticsearch\
**Created:** [March 3, 2019, 9:54pm UTC](https://discuss.elastic.co/t/es-version-6-5-4-wrong-number-of-available-processors/170658 "2019-03-03T21:54:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![feiwhomai](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/feiwhomai/32/70940_2.png) [@feiwhomai](https://discuss.elastic.co/u/feiwhomai)\
**Post date:** [March 3, 2019, 9:54pm UTC](https://discuss.elastic.co/t/es-version-6-5-4-wrong-number-of-available-processors/170658/1 "2019-03-03T21:54:20Z")

</div>

Hello,

I have a question about how ES detect the available processors. Here is what I got:  
"os" : {  
"refresh\_interval\_in\_millis" : 1000,  
"name" : "Linux",  
"arch" : "amd64",  
"version" : "4.4.0-87-generic",  
"available\_processors" : 1,  
"allocated\_processors" : 4  
}

The availabe\_processors shows as 1. But in elasticsearch.yml, I use env $NUM\_PROCESSORS (which is 4) to override this value

processors: $ {NUM\_PROCESSORS: 1}

But looks like this doesn't works. I have versions, 6.5.4 has the issue but 6.2.4 doesn't. I searched around but couldn't find anything helpful here.  
Could anyone share some ideas?

Thanks!

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [March 10, 2019, 11:01pm UTC](https://discuss.elastic.co/t/es-version-6-5-4-wrong-number-of-available-processors/170658/2 "2019-03-10T23:01:31Z")

</div>

> [@feiwhomai](#):
>
> The availabe\_processors shows as 1

`available_processors` is a reflection of how many processors the Operating System reports to the JVM.  
You can configure `processors` all you like, but if the host environment only has 1 processor, then we can't magically make 3 more appear.

In this case:

```auto
  "available_processors" : 1,
  "allocated_processors" : 4

```

your host reports 1 available processor, and you've allocated 4 to Elasticsearch. It looks like everything is working as configured (even though allocating more processors than are evailable doesn't actually make a lot of sense).

---

<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:** [April 7, 2019, 11:01pm UTC](https://discuss.elastic.co/t/es-version-6-5-4-wrong-number-of-available-processors/170658/3 "2019-04-07T23:01:33Z")

</div>

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