From eabaf3f136381df7feac11bf2db330b2ab7143fc Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Mon, 27 Feb 2017 13:03:14 -0800 Subject: [PATCH] Reduce 'internal_poll_interval' to stem the CPU usage tide See https://github.com/ansible/ansible/pull/16560 and https://github.com/ansible/ansible/issues/14219 Signed-off-by: Dan Mick --- ansible.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible.cfg b/ansible.cfg index 4de2e6fa..ccd0bbc0 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -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 -- 2.47.3