# Changing max\_file\_descriptors for elastic 1.7.1 on mac

**URL:** <https://discuss.elastic.co/t/changing-max-file-descriptors-for-elastic-1-7-1-on-mac/27746>\
**Category:** Elasticsearch\
**Created:** [August 20, 2015, 10:32am UTC](https://discuss.elastic.co/t/changing-max-file-descriptors-for-elastic-1-7-1-on-mac/27746 "2015-08-20T10:32:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![preetika\_shukla](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@preetika\_shukla](https://discuss.elastic.co/u/preetika_shukla)\
**Post date:** [August 20, 2015, 10:32am UTC](https://discuss.elastic.co/t/changing-max-file-descriptors-for-elastic-1-7-1-on-mac/27746/1 "2015-08-20T10:32:24Z")

</div>

Hi,

I am trying to modify the max\_file\_descriptors for elastic search node, I've followed the post suggested by [https://gist.github.com/tamitutor/6a1e41eec0ce021a9718](https://gist.github.com/tamitutor/6a1e41eec0ce021a9718), and made the changes, still when i try to curl to \_nodes/process API , I get the following response -  
"process" : {  
"refresh\_interval\_in\_millis" : 1000,  
"id" : 2104,  
"max\_file\_descriptors" : 10240,  
"mlockall" : false  
}  
Any suggestions will be hugely appreciated.

---

<div class="post-metadata">

**Author:** ![ppf2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppf2/32/52219_2.png) [@ppf2](https://discuss.elastic.co/u/ppf2)\
**Post date:** [September 2, 2015, 2:17am UTC](https://discuss.elastic.co/t/changing-max-file-descriptors-for-elastic-1-7-1-on-mac/27746/2 "2015-09-02T02:17:13Z")

</div>

You can also try the suggestions here:

> <https://unix.stackexchange.com/questions/108174/how-to-persistently-control-maximum-system-resource-consumption-on-mac>

[http://blog.mact.me/2014/10/22/yosemite-upgrade-changes-open-file-limit](http://blog.mact.me/2014/10/22/yosemite-upgrade-changes-open-file-limit)

Updating .bash\_profile (sourcing it or restarting ES in a new session) appears to work.

---

<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:** [July 5, 2017, 11:52pm UTC](https://discuss.elastic.co/t/changing-max-file-descriptors-for-elastic-1-7-1-on-mac/27746/3 "2017-07-05T23:52:43Z")

</div>


