devstack's uWSGI configuration of lazy-apps=true should be close-on-exec=true
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| devstack |
In Progress
|
Undecided
|
Unassigned | ||
Bug Description
The setting originated with https:/
While effective, this fix has a downside as it defers application loading until after fork, meaning we cannot know that the application will run successfully. Additionally we are defeating the improvement that uWSGI's Copy-on-Write from its master process to its workers gives production workloads. While
this is devstack so it is for development and testing, the various projects use the devstack config as their recommended and tested configuration for production. The semantics would also potentially
change the behavior between dev/testing and production so I'm suggesting the changes here.
The correct solution is close-on-exec=true and close-on-
Also add need-app=true, a production-
References:
- https:/
- https:/
- https:/
| Changed in devstack: | |
| status: | New → In Progress |
This is blocked by https:/ /bugs.launchpad .net/neutron/ +bug/2147305