From 710fec852196f7e60510a4211654dc4e2b5d0936 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 17 Jul 2015 17:06:42 +0000 Subject: [PATCH] Increase git haproxy maxconn from 32 to 256 It seems from the logs that we're regularly hitting the max 32 connections limit in haproxy for the git protocol backend under periods of moderate to high load. Increase this to 256, and also increase the backlog to 256 so that we can have up to one backlogged connection per active connection. In theory 256 should be a sane max since we have leastconn balancing across 8 backends running persistent git-daemon with its default max connections value of 32. Change-Id: I80785348b8abb831a2f833a535a5e4234ce3e7f3 --- modules/openstack_project/manifests/git.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/manifests/git.pp b/modules/openstack_project/manifests/git.pp index 4e7927de25..79bdcd08bc 100644 --- a/modules/openstack_project/manifests/git.pp +++ b/modules/openstack_project/manifests/git.pp @@ -98,8 +98,8 @@ class openstack_project::git ( mode => 'tcp', collect_exported => false, options => { - 'maxconn' => '32', - 'backlog' => '64', + 'maxconn' => '256', + 'backlog' => '256', 'balance' => 'leastconn', 'option' => [ 'tcplog',