33c744d923
We've noticed that our mirrors will semi regularly have problems due to old stale works. For example using old ssl certs or having connection problems to round robin backend services. In all cases restarting the service (killing old workers) seems to fix things. Try to force this to automatically happen by setting a reasonable connection limit per worker before we recycle them. Change-Id: Ic377f48d1a5a3eecbcb183327c9255134c4364ab
15 lines
607 B
Plaintext
15 lines
607 B
Plaintext
# worker MPM
|
|
# MaxConnectionsPerChild: maximum number of requests a server process serves
|
|
#
|
|
# We've noticed that our mirrors occasionally have stale workers. This leads
|
|
# to ssl certs not being refreshed properly after reload and we've also seen
|
|
# ssl connections to round robin backend services have trouble. Restarting
|
|
# the workers so that they load up new info seems to fix this. Try and force
|
|
# that to happen regularly with a connections limit per worker.
|
|
<IfModule mpm_worker_module>
|
|
MaxConnectionsPerChild 8192
|
|
</IfModule>
|
|
<IfModule mpm_event_module>
|
|
MaxConnectionsPerChild 8192
|
|
</IfModule>
|