Can't do more than 50 forks

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?

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).