Merge "Use higher max memory for items in memcached"

This commit is contained in:
Zuul 2018-04-08 07:29:22 +00:00 committed by Gerrit Code Review
commit 1ff358cb04
2 changed files with 4 additions and 1 deletions

View File

@ -23,3 +23,6 @@ memcached_image_full: "{{ memcached_image }}:{{ memcached_tag }}"
# Memcached options
####################
memcached_connection_limit: "5000"
# NOTE(jeffrey4l): max memory to use for items in megabytes. default is 64MB,
# which is too small for production environment.
memcached_max_memory: "256"

View File

@ -1,4 +1,4 @@
{
"command": "/usr/bin/memcached -v -l {{ api_interface_address }} -p {{ memcached_port }} -c {{ memcached_connection_limit }} -U 0",
"command": "/usr/bin/memcached -v -l {{ api_interface_address }} -p {{ memcached_port }} -c {{ memcached_connection_limit }} -U 0 -m {{ memcached_max_memory }}",
"config_files": []
}