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
This is a follow-on from I064b81076bcfcb200e0990627fc1aa0be8bbf058
We see the same issues with "scoreboard is full" and segfaults/dropped
connections on this host. It's a semi-frequent issue in
logs.o.o seems to be working fine with this, so switch here too. We
can reconsider in Xenial timeframe when we've got a later apache.
Change-Id: I05f1b1731cb6358e2e37574a90692ffe91f07ad3
Add X.509 certificates, certificate chains and private keys for
https://developer.openstack.org/ and https://docs.openstack.org/
separately using SNI (as the list grows we can consider condensing
these into a single cert using ServerAltNames later).
Change-Id: Ia365be3363b611e5ee3b6dceb38ec311456466ec
Remove the aliases, we do not need them anymore.
Note to reviewers: An infra-root needs to remove the DNS entry for
developer-beta and docs-beta as well.
Change-Id: I429248ad270ed16ac9fc68ca2cc6e36e46d68192
Add new website for AFS based developer.openstack.org. Also, add
developer-beta.o.o as alias for now.
This reuses the docs.vhost.erb, it should be parmeterized properly and
there's no need for any different setup.
Change-Id: I43ea64b91d6e8a2a71ce1feccf2ff0a5f379e9c4
To check the current status of our AFS publishing, we need to preview
the site.
Use docs-beta.openstack.org for this, create a server alias.
Change-Id: I796df29d0851e0a9563b415de84462070b00b8d4
Now that we are publishing docs to AFS, add a new vhost for apache.
Change-Id: I8bc1bfefc5190f3c607905bbdc91c1cf2e47c83b
Signed-off-by: Paul Belanger <pabelanger@redhat.com>