Steve Lewis d0127d51bd Configurable memcached connections limit & threads
Increasing memcached_connections may require ulimit to be raised so
that will be done if necessary.

Increasing memcached_threads is not strongly recommended but is
available if needed.

Change-Id: I4b58d59f647e6f843fc33561dea75be67c0f78c4
Closes-Bug: #1438498
2015-06-23 15:00:32 -07:00

7 lines
165 B
Django/Jinja

# {{ ansible_managed }}
# Any other value will disable memcached.
ENABLE_MEMCACHED=yes
ulimit -Hn {{ memcached_connections }}
ulimit -n {{ memcached_connections }}