bump up the number of sesson limit for rabbitmq
authorJerry Zhao <zhaoxinyu@huawei.com>
Tue, 25 Nov 2014 17:02:13 +0000 (09:02 -0800)
committerJerry Zhao <zhaoxinyu@huawei.com>
Fri, 28 Nov 2014 11:11:59 +0000 (03:11 -0800)
the default maxconn is only 150, which maybe good for api services
but not enough for the rabbitmq session in a cluster as small as 15
nodes. so bump up the number to 1500 for rabbitmq to allow for 100
nodes. this number should be calculated based on the scale numbers
in the long run.
Closes-bug: #1386406

Change-Id: Ieb707b31022a6fc9ade32ed2a332b67bf4dc0311

controller.yaml
overcloud-source.yaml

index 0c76f49..09115d8 100644 (file)
@@ -578,6 +578,7 @@ resources:
               options:
                 - timeout client 0
                 - timeout server 0
+                - maxconn 1500
 
   ControllerPassthroughConfig:
     type: OS::Heat::StructuredConfig
index c08dcbd..bbce9f3 100644 (file)
@@ -835,6 +835,7 @@ resources:
               options:
                 - timeout client 0
                 - timeout server 0
+                - maxconn 1500
   controllerPassthrough:
     type: OS::Heat::StructuredConfig
     properties: