# Sysctl settings?

**URL:** <https://discuss.elastic.co/t/sysctl-settings/71576>\
**Category:** Elasticsearch\
**Created:** [January 13, 2017, 9:34pm UTC](https://discuss.elastic.co/t/sysctl-settings/71576 "2017-01-13T21:34:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![billnbell](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@billnbell](https://discuss.elastic.co/u/billnbell)\
**Post date:** [January 13, 2017, 9:34pm UTC](https://discuss.elastic.co/t/sysctl-settings/71576/1 "2017-01-13T21:34:49Z")

</div>

What are some good /etc/sysctl.conf settings to consider when using ES?

1. I don't set recycle or reuse
2. tcp\_fin\_timeout to 15.
3. swappiness to 0
4. net.core.somaxconn=1024
5. vm.max\_map\_count=262144
6. Turn off ipv6 - et.ipv6.conf.all.disable\_ipv6=1 and net.ipv6.conf.default.disable\_ipv6=1
7. fs.file-max=65536

Others?

---

<div class="post-metadata">

**Author:** ![billnbell](https://avatars.discourse-cdn.com/v4/letter/b/eb8c5e/32.png) [@billnbell](https://discuss.elastic.co/u/billnbell)\
**Post date:** [January 17, 2017, 11:03pm UTC](https://discuss.elastic.co/t/sysctl-settings/71576/2 "2017-01-17T23:03:12Z")

</div>

bump

---

<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 14, 2017, 11:03pm UTC](https://discuss.elastic.co/t/sysctl-settings/71576/3 "2017-02-14T23:03:17Z")

</div>

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