summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProskurin Kirill <kproskurin@mirantis.com>2016-12-29 09:56:02 +0000
committerProskurin Kirill <kproskurin@mirantis.com>2016-12-29 10:19:25 +0000
commit08eec5545492e62685404ecb0cdd528b172841e6 (patch)
tree97972b9e55eed06198fd11a6bd3f09dc70da16d5
parentfe1c7dbc405a9bbe2137d49cb5dea54abfc79598 (diff)
Bump memcached defaults a bit
Plus make max_conn configurable(default is 1024) Closes-Bug: #1653071 Change-Id: Iccdf7a75b3f2c3400b49dce36571206a8c0d34d3
Notes
Notes (review): Code-Review+2: Andrey Pavlov <apavlov@mirantis.com> Verified+1: Mirantis CCP CI <mirantis-fuel-ccp-ci@mirantis.com> Code-Review+2: Sergey Reshetnyak <sreshetniak@mirantis.com> Workflow+1: Sergey Reshetnyak <sreshetniak@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 30 Dec 2016 10:06:27 +0000 Reviewed-on: https://review.openstack.org/415661 Project: openstack/fuel-ccp-memcached Branch: refs/heads/master
-rw-r--r--service/files/defaults.yaml3
-rw-r--r--service/memcached.yaml2
2 files changed, 3 insertions, 2 deletions
diff --git a/service/files/defaults.yaml b/service/files/defaults.yaml
index 7940e92..f43458f 100644
--- a/service/files/defaults.yaml
+++ b/service/files/defaults.yaml
@@ -3,4 +3,5 @@ configs:
3 address: 0.0.0.0 3 address: 0.0.0.0
4 port: 4 port:
5 cont: 11211 5 cont: 11211
6 ram: 256 6 ram: 1024
7 max_connections: 16384
diff --git a/service/memcached.yaml b/service/memcached.yaml
index 8ca2dff..00597c3 100644
--- a/service/memcached.yaml
+++ b/service/memcached.yaml
@@ -7,5 +7,5 @@ service:
7 - name: memcached 7 - name: memcached
8 image: memcached 8 image: memcached
9 daemon: 9 daemon:
10 command: memcached -v -u memcached -l {{ memcached.address }} -m {{ memcached.ram }} 10 command: memcached -v -u memcached -l {{ memcached.address }} -m {{ memcached.ram }} -c {{ memcached.max_connections }}
11 user: memcached 11 user: memcached