# DEFUNCT procs: ansible not closing gracefully for unreachable hosts

**URL:** <https://forum.ansible.com/t/defunct-procs-ansible-not-closing-gracefully-for-unreachable-hosts/20468>\
**Category:** Ansible Developer\
**Created:** [February 5, 2016, 6:27pm UTC](https://forum.ansible.com/t/defunct-procs-ansible-not-closing-gracefully-for-unreachable-hosts/20468 "2016-02-05T18:27:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fletcher\_Cocquyt](https://avatars.discourse-cdn.com/v4/letter/f/ed655f/32.png) [@Fletcher\_Cocquyt](https://forum.ansible.com/u/Fletcher_Cocquyt)\
**Post date:** [February 5, 2016, 6:27pm UTC](https://forum.ansible.com/t/defunct-procs-ansible-not-closing-gracefully-for-unreachable-hosts/20468/1 "2016-02-05T18:27:45Z")

</div>

Hi,

I’ve been a happy ansible automation user for 3 months with 1032 hosts in our list.

Security asked me to add 200+ hosts to the list - now I am seeing my daily ansible jobs result in hung / defunct processes

NB: I am using -m raw since there are RHEL4 hosts not able to do the python juju

Q: Why doesn’t ansible just kill the hanging sessions like it WAS DESIGNED TO!?

thanks!
