From d455b3190593da231c72d9ff32031624af9e27a8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:26 -0400 Subject: [PATCH] Bump max connections in Zookeeper to 200 --- roles/pvc/templates/zookeeper/zoo.cfg.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/pvc/templates/zookeeper/zoo.cfg.j2 b/roles/pvc/templates/zookeeper/zoo.cfg.j2 index aa5609f..212af6a 100644 --- a/roles/pvc/templates/zookeeper/zoo.cfg.j2 +++ b/roles/pvc/templates/zookeeper/zoo.cfg.j2 @@ -11,6 +11,9 @@ autopurge.purgeInterval=72 clientPort=2181 clientPortAddress={% for node in pvc_nodes if node.hostname == inventory_hostname %}{{ node.cluster_ip }}{% endfor %} +# Increase client connections to 200 to prevent connection overloads +maxClientCnxns=200 + {% for node in pvc_nodes if node.is_coordinator %} server.{{ node.node_id }}={{ node.cluster_ip }}:2888:3888 {% endfor %}