forked from infra/ansible
httpd/koji: set MaxKeepAliveRequests 0 to fix 502 race condition
This acts as the second half of the fix for the 502 Bad Gateway errors on long-running koji connections. Fixes #12913 Signed-off-by: Victor Koycheff <victorkoycheff@gmail.com>
This commit is contained in:
parent
9d9edc9658
commit
e56db32aa6
3 changed files with 3 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ KeepAlive On
|
|||
# during a persistent connection. Set to 0 to allow an unlimited amount.
|
||||
# We recommend you leave this number high, for maximum performance.
|
||||
#
|
||||
MaxKeepAliveRequests 500
|
||||
MaxKeepAliveRequests 0
|
||||
|
||||
#
|
||||
# KeepAliveTimeout: Number of seconds to wait for the next request from the
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
#
|
||||
|
||||
KeepAlive On
|
||||
MaxKeepAliveRequests 0
|
||||
|
||||
Alias /kojihub /usr/share/koji-hub/kojiapp.py
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ RewriteEngine On
|
|||
RewriteRule ^/$ /koji/ [R,L]
|
||||
KeepAlive On
|
||||
KeepAliveTimeout 16
|
||||
MaxKeepAliveRequests 500
|
||||
MaxKeepAliveRequests 0
|
||||
|
||||
ServerLimit 2000
|
||||
MaxRequestWorkers 2000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue