From 08cc8fc04c4a521826d82b919ff1e3142be8f4ac Mon Sep 17 00:00:00 2001 From: Sundaresan Rajangam Date: Thu, 8 Dec 2016 18:43:44 -0800 Subject: [PATCH] Remove tcp-check connect option for redis on haproxy tcp-check connect option for redis on haproxy.cfg causes the client connections in the redis-server to grow continuously and reaches the max limit resulting in connection failure/response error for requests from collector and other analytics services to redis. Change-Id: Id459548fd69b6f87a1514f2bb38a039bbbec256b Closes-Bug: #1648601 --- .../modules/contrail/templates/generate_haproxy.erb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrail/environment/modules/contrail/templates/generate_haproxy.erb b/contrail/environment/modules/contrail/templates/generate_haproxy.erb index ad731830..bc9cd49a 100755 --- a/contrail/environment/modules/contrail/templates/generate_haproxy.erb +++ b/contrail/environment/modules/contrail/templates/generate_haproxy.erb @@ -87,10 +87,8 @@ frontend contrail-analytics-api *:8081 backend contrail-analytics-api option nolinger + timeout server 3m balance roundrobin - option tcp-check - tcp-check connect port 6379 - default-server error-limit 1 on-error mark-down $__contrail_analytics_api_backend_servers__ #contrail-collector-marker-end