# Experience with very large inventories

**URL:** <https://forum.ansible.com/t/experience-with-very-large-inventories/23919>\
**Category:** Ansible Project\
**Created:** [March 9, 2017, 12:51pm UTC](https://forum.ansible.com/t/experience-with-very-large-inventories/23919 "2017-03-09T12:51:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan3](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dan3](https://forum.ansible.com/u/dan3)\
**Post date:** [March 9, 2017, 12:51pm UTC](https://forum.ansible.com/t/experience-with-very-large-inventories/23919/1 "2017-03-09T12:51:20Z")

</div>

Hi Guys,

I have a very large dynamic inventory with ~ 6000 hosts.

Does anyone have any experience with playbook runs across this many hosts? I’m running into issues (frequent and long CPU spikes, significant memory usage, oom kills, etc) when running very simple playbooks across all of my hosts.

If I split my inventory into 500 node batches, I can initiate multiple runs and progress through all hosts cleanly in about 15 minutes.

Can obviously provide more details but just curious as to whether anyone has any experience or suggestions when running across very large numbers of systems?

Thanks - Dan.

---

<div class="post-metadata">

**Author:** ![Mauricio\_Tavares](https://avatars.discourse-cdn.com/v4/letter/m/b5e925/32.png) [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Post date:** [March 10, 2017, 1:56pm UTC](https://forum.ansible.com/t/experience-with-very-large-inventories/23919/2 "2017-03-10T13:56:11Z")

</div>

Isn't there a way to to renice and parallelize the tasks?
