Skip to content
Snippets Groups Projects
Commit 1ff358cb authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Use higher max memory for items in memcached"

parents 445a0cb0 0e453c1b
No related branches found
No related tags found
No related merge requests found
...@@ -23,3 +23,6 @@ memcached_image_full: "{{ memcached_image }}:{{ memcached_tag }}" ...@@ -23,3 +23,6 @@ memcached_image_full: "{{ memcached_image }}:{{ memcached_tag }}"
# Memcached options # Memcached options
#################### ####################
memcached_connection_limit: "5000" 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"
{ {
"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": [] "config_files": []
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment