# Connect Elastic Search to Tableau - max file descriptors \[4096\] for elasticsearch process is too low, increase to at least \[65535\]

**URL:** https://discuss.elastic.co/t/connect-elastic-search-to-tableau-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/248799
**Category:** Elasticsearch
**Created:** [September 16, 2020, 9:16am UTC](https://discuss.elastic.co/t/connect-elastic-search-to-tableau-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/248799 "2020-09-16T09:16:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![DG13](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@DG13](https://discuss.elastic.co/u/DG13)
#### Post date: [September 16, 2020, 9:16am UTC](https://discuss.elastic.co/t/connect-elastic-search-to-tableau-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/248799/1 "2020-09-16T09:16:31Z")

</div>

Hi ,  
I am getting error while running the elastic search after adding below details in elasticsearch.yml  
to connect elastic search to Tableau

```auto
http.port: 9200
network.host: ["0.0.0.0", 127.0.0.1", "[::1]"]
network.bind_host: 0.0.0.0
network.publish_host: 0.0.0.0
http.host: 0.0.0.0
http.cors.enabled : true
http.cors.allow-origin : "*"
http.cors.allow-methods : OPTIONS, HEAD, GET, POST, PUT, DELETE
http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type, Content-Length

```

After adding above in was getting below error  
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]  
[2]: max virtual memory areas vm.max\_map\_count [65530] is too low, increase to at least [262144]

For error reolution , I have configured below  
Error 1 - max virtual memory areas vm.max\_map\_count [65530] is too low, increase to at least [262144]  
Resolution -  
Login as root user and run below command

sysctl -w vm.max\_map\_count=262144

Error 2 - max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]  
Reslution - Update the configuration file /etc/security/limits.conf  
updated below

```auto
  soft nofile 65536
 hard nofile 65536 

```

Infra - Its a single ELK cluster installed in AWS EC2 .  
When I try to restart the elastic search still getting below error  
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

Appreciate the help !!

Thanks,

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 16, 2020, 1:08pm UTC](https://discuss.elastic.co/t/connect-elastic-search-to-tableau-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/248799/2 "2020-09-16T13:08:09Z")

</div>

Please read [https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/bootstrap-checks.html)

---

<div class="post-metadata">

### Author: ![DG13](https://avatars.discourse-cdn.com/v4/letter/d/a5b964/32.png) [@DG13](https://discuss.elastic.co/u/DG13)
#### Post date: [September 16, 2020, 1:21pm UTC](https://discuss.elastic.co/t/connect-elastic-search-to-tableau-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/248799/3 "2020-09-16T13:21:40Z")

</div>

I did try this option and set below property

discovery type to `single-node`

`When restarted the elasticsearch it gave me error unknown data / parameter in yml file .`

`Thanks`

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [September 16, 2020, 3:14pm UTC](https://discuss.elastic.co/t/connect-elastic-search-to-tableau-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/248799/4 "2020-09-16T15:14:36Z")

</div>

I did not mean to bypass the bootstrap checks. I think it's important that you fix the actual problems.  
So read [https://www.elastic.co/guide/en/elasticsearch/reference/current/\_file\_descriptor\_check.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/_file_descriptor_check.html) and its solution here: [https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html)

If you still have an error, please share all the logs.

---

<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: [October 14, 2020, 3:15pm UTC](https://discuss.elastic.co/t/connect-elastic-search-to-tableau-max-file-descriptors-4096-for-elasticsearch-process-is-too-low-increase-to-at-least-65535/248799/5 "2020-10-14T15:15:01Z")

</div>

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