]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
Reduce 'internal_poll_interval' to stem the CPU usage tide 308/head
authorDan Mick <dan.mick@redhat.com>
Mon, 27 Feb 2017 21:03:14 +0000 (13:03 -0800)
committerDan Mick <dan.mick@redhat.com>
Mon, 27 Feb 2017 21:03:14 +0000 (13:03 -0800)
See https://github.com/ansible/ansible/pull/16560 and
https://github.com/ansible/ansible/issues/14219

Signed-off-by: Dan Mick <dan.mick@redhat.com>
ansible.cfg

index 4de2e6fac83a735f109b0614d30339ed8d6b492f..ccd0bbc02d6e9bb0398c2161a7db45b688a659dd 100644 (file)
@@ -5,6 +5,8 @@ ansible_managed = This file is managed by ansible, don't make changes here - the
 vault_password_file = ~/.vault_pass.txt
 timeout = 120
 callback_whitelist = profile_tasks
+# default is 0.001, resulting in a storm of select(NULL, ..., 1ms) syscalls
+internal_poll_interval = 0.01
 
 [ssh_connection]
 retries = 5