Increase allowed number of haproxy connections
We've set maxconn to 4k concurrent connections on the front side of our haproxy load balancer. Currently that seems to be creating a large backlog of requests. Looking at cacti it appears that we have maybe up to ~6-8 times this amount of overhead in resources on the gitea backends. Be a little conservative and bump this value up by 4x and tune from there. Change-Id: I56d43b52c23f251cc632315c3b57e45541722970
This commit is contained in:
parent
fdd4770f11
commit
79f363164e
@ -2,7 +2,7 @@ global
|
||||
uid 1000
|
||||
gid 1000
|
||||
log /dev/log local0
|
||||
maxconn 4000
|
||||
maxconn 16000
|
||||
pidfile /var/haproxy/run/haproxy.pid
|
||||
stats socket /var/haproxy/run/stats uid 1000 gid 1000 mode 0600 level admin
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user