No more than 4 jobs running in the same time
When I try to run many jobs from different jobs templates and targeting different remote hosts, I cannot get more than 4 jobs running in the same time, the other stay in the waiting queue.
You didn't say how much resources you have given to AWX.
AWX capacity is a thing. For AWX version 1.0.3.X I have updated the capacity algorithm a bit, see this documentation: https://github.com/ansible/awx/blob/devel/docs/capacity.md
For 1.0.1 and current Tower releases you might be interested in a presentation I gave at Ansiblefest last year: https://www.youtube.com/watch?v=NiM4xNkauig I go over capacity planning and algorithm in that video.
Also: http://docs.ansible.com/ansible-tower/latest/html/userguide/jobs.html#job-concurrency
only 4 jobs can be executed concurrently per a awx_task container.
This is patently false do not listen to it. The maximum number of simultaneous jobs is based on the capacity of your system, see the documentation on this system here: https://github.com/ansible/awx/blob/devel/docs/capacity.md
I agree, but how do you explain that despite the ram update of 4 to 16GB, AWX still only launch 4 jobs simultaneously ?
I tested the same template (with same project, playbook, inventory) on the trial version of tower and I actually went ~20 jobs simultaneously on the same server.
Would there be an extra parameter to set for AWX ?
Environment :
AWX version: 1.0.2.0
AWX install method: docker on linux
Ansible version: 2.4.3
Operating System: CentOS 7/RH7 for Tower
Web Browser: chrome
This is a fairly old version of AWX... can you try 1.0.4.X?
I try with version 1.0.4.48 and I have exactly the same problem. I try also with more memory and CPU (24GB/4CPU), always stucks at 4 jobs simultaneous and the others jobs still pending.
Environment :
AWX version: 1.0.4.48
AWX install method: docker on linux
Ansible version: 2.4.3
Operating System: Red Hat 7.4
Web Browser: chrome
Why was this closed? This is still a problem and I'm running the latest version of AWS (6.1.0.0)
We haven't seen any information that actually demonstrates a problem or point towards a root cause.
Most helpful comment
I try with version 1.0.4.48 and I have exactly the same problem. I try also with more memory and CPU (24GB/4CPU), always stucks at 4 jobs simultaneous and the others jobs still pending.
Environment :
AWX version: 1.0.4.48
AWX install method: docker on linux
Ansible version: 2.4.3
Operating System: Red Hat 7.4
Web Browser: chrome