# ERROR! Unexpected Exception: \[Errno 24\] Too many open files Ansible

**URL:** <https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21390>\
**Category:** Ansible Project\
**Created:** [May 10, 2016, 9:21am UTC](https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21390 "2016-05-10T09:21:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lawrence1](https://avatars.discourse-cdn.com/v4/letter/l/e56c9b/32.png) [@Lawrence1](https://forum.ansible.com/u/Lawrence1)\
**Post date:** [May 10, 2016, 9:21am UTC](https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21390/1 "2016-05-10T09:21:59Z")

</div>

Hello,

Hope you all well !

I can’t execute my Ansible playbook role because there are too many open files.

Have you already got this problem ? If you have faced this problem, could you please share your solution ?

About my Ansible :

version: 2.0.1.0

Thanks advance for your help !

Regards,  
Lawrence

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [May 11, 2016, 5:32am UTC](https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21390/2 "2016-05-11T05:32:58Z")

</div>

Hi,

Are you running on OSX? There’s some history with that OS not allowing many open files by default. There’s some instructions here (in the blue box) about how to change the default

See [http://docs.ansible.com/ansible/intro\_installation.html#control-machine-requirements](http://docs.ansible.com/ansible/intro_installation.html#control-machine-requirements)

Hope this helps,

Jon
