Bug #25707
openAnsible commands are slow to run through Foreman
Description
running remote command via Ansible on 48k hosts causes load almost 300
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1659037
Running remote command via Ansible on 48k hosts causes load almost 300
Steps to Reproduce:
1. Have 48k registered hosts with ReX ssh keys deployed
2. In the evening start this remote command:
subscription-manager refresh
yum repolist
yum -y install katello-host-tools
katello-package-upload --force
3. Check how is it going 9 hours later
Actual results:
After 4 hours, Satellite started swapping and used almost full swap. At maximum, it had a load of 296.
I have `killall ansible-playbook` (about 1200 of these was running), then `systemctl stop dynflowd` and `systemctl stop smart_proxy_dynflow_core`.