# Can't do more than 50 forks

**URL:** <https://forum.ansible.com/t/cant-do-more-than-50-forks/22711>\
**Category:** Ansible Project\
**Created:** [October 3, 2016, 10:02pm UTC](https://forum.ansible.com/t/cant-do-more-than-50-forks/22711 "2016-10-03T22:02:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Richard](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@Jim\_Richard](https://forum.ansible.com/u/Jim_Richard)\
**Post date:** [October 3, 2016, 10:02pm UTC](https://forum.ansible.com/t/cant-do-more-than-50-forks/22711/1 "2016-10-03T22:02:41Z")

</div>

Have tried on a virtual machine with 16 GB memory and 16 virtual cores as well as a Dell PowerEdge 730xd with tons of free resources, same result

Both running Ansible 2.1.1  
Centos 7.2  
default ssh settings

I have a very simple playbook with one task, a ping

running against about 900 hosts

if I try more than 50 forks I get random…

UNREACHABLE! =\> {“changed”: false, “msg”: “Failed to connect to the host via ssh.”, “unreachable”: true}

any ideas?

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [October 3, 2016, 10:10pm UTC](https://forum.ansible.com/t/cant-do-more-than-50-forks/22711/2 "2016-10-03T22:10:06Z")

</div>

Try 2.1.2 which will give you the message from ssh itself, I suspect you are hitting some resource cap (most likely open files limit).
