Comments (2)
@sivel do you have some insight on the expected behavior when forks is set to 512? should it eventually taper off to 5 processes as number of hosts left dwindle?
from awx.
512 forks is an almost obscene amount of forks. 25, 50...maybe 100 if you have a really modern CPU and like 256GB of RAM. I'd have to assume that at 512 forks, the load average on the machine is probably through the roof.
The architecture in ansible-core currently uses a single core to orchestrate and manage all forks. Not only is it tracking the life cycle of a fork, and launching forks, it is also processing and displaying a lot of data. Launching forks also requires a lot of variable calculations. It's not truly asynchronous, so it's also generally impossible to see exactly the amount of forks as you have configured. The more forks you specify, the more CPU bound the orchestration becomes, and the less able new forks are able to be created to stay at the configured fork count.
Also note, as indicated above, that forks are spawned per host per task. They aren't persistent, so there is a new fork spawned for each host+task combination.
But in short, toward the end of an execution, you should see less forks as the previous hosts have finished executing, ultimately dropping to 0. There is nothing that will drop it to the default fork level, it could just be happenstance that you are seeing that.
from awx.
Related Issues (20)
- [DOCS] Add terraform inventory source to Inventories chapter of Userguide HOT 5
- Allow Vault Credentials for Project SCM Type Inventories to process inventory plugin parameters HOT 3
- Postpone "Last Login" update
- AWX Community Meeting Agenda - March 2024 HOT 6
- Share link for template launch with predefined parameters
- Smart Inventory - Searching on host variables using a regex returns wrong results HOT 2
- webhook notification body is not valid anymore HOT 5
- docker compose fails HOT 3
- Remove Inventory Source for "Template additional groups and hostvars at runtime" option
- The project could not sync because there is no Execution Environment HOT 3
- RFE: 24 hour time picker in schedules HOT 2
- Project updates and inventory updates don't always happen when required
- Show status for host in job, not status of job in list of recent jobs for host
- Missing tags and skip_tags on awx.awx.workflow_launch module
- Possibility to link instance group with container group HOT 1
- Receptor Execution over subscribed causes unhandled exception in awx-task HOT 5
- Add support for variable files into 'Job Template'
- duplicate key value violates unique constraint "pg_type_typname_nsp_index" HOT 10
- Custom Login Info not showing
- Wrong nginx upstream configuration on IPv4-only daemons HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awx.