System configuration for the OpenDev Collaboratory
b251f1393f
This patch allows puppet to handle configuration of the mpm_worker apache mod. The config file added here is copied from an Ubuntu Trusty apache package with the value of MaxRequestWorkers changed from 150 to 400. I reason that this is a reasonable number based on the MaxRequestWorkers documentation claiming the default is 400 for mpm_worker[1]: For threaded and hybrid servers (e.g. event or worker) MaxRequestWorkers restricts the total number of threads that will be available to serve clients. For hybrid MPMs the default value is 16 (ServerLimit) multiplied by the value of 25 (ThreadsPerChild). Therefore, to increase MaxRequestWorkers to a value that requires more than 16 processes, you must also raise ServerLimit. If 400 is too few, we can increase it but we must also increase ServerLimit, which requires not just an apache restart but a full stop and start[2]: Any attempts to change this directive during a restart will be ignored [1] https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers [2] https://httpd.apache.org/docs/2.4/mod/mpm_common.html#serverlimit Change-Id: Iab0012e02506f5b7212fe273cfe673f95279d440 |
||
---|---|---|
doc/source | ||
hiera | ||
launch | ||
manifests | ||
modules/openstack_project | ||
playbooks | ||
tools | ||
.gitignore | ||
.gitreview | ||
bindep.txt | ||
install_modules.sh | ||
install_puppet.sh | ||
make_swap.sh | ||
modules.env | ||
mount_volume.sh | ||
Rakefile | ||
README.md | ||
roles.yaml | ||
run_all.sh | ||
run_bifrost.sh | ||
run_infracloud.sh | ||
run_puppet.sh | ||
setup.cfg | ||
setup.py | ||
start_all_zuul.yaml | ||
stop_all_zuul.yaml | ||
test-requirements.txt | ||
tox.ini |
Puppet Modules
These are a set of puppet manifests and modules that are currently being used to manage the OpenStack Project infrastructure.
The main entry point is in manifests/site.pp.
In general, most of the modules here are designed to be able to be run either in agent or apply mode.
These puppet modules require puppet 2.7 or greater. Additionally, the site.pp manifest assumes the existence of hiera.
See http://docs.openstack.org/infra/system-config for more information.
Documentation
The documentation presented at http://docs.openstack.org/infra/system-config comes from git://git.openstack.org/openstack-infra/system-config repo's docs/source. To build the documentation use
$ tox -evenv python setup.py build_sphinx