1 # DO NOT EDIT - This file is being maintained by Chef
3 # Run memcached as a daemon
10 -P /run/memcached/memcached.pid
12 # Log memcached's output to /var/log/memcached
13 logfile /var/log/memcached.log
15 # Limit the size of the cache to <%= node[:memcached][:memory_limit] %>Mb
16 -m <%= node[:memcached][:memory_limit] %>
18 # Configure where we listen for requests
19 -l <%= node[:memcached][:ip_address] %>
20 <% if node[:memcached][:tcp_port] -%>
21 -p <%= node[:memcached][:tcp_port] %>
23 <% if node[:memcached][:udp_port] -%>
24 -U <%= node[:memcached][:udp_port] %>
27 # Limit the number of simultaneous connections
28 -c <%= node[:memcached][:connection_limit] %>
30 # Set chunk growth factor
31 -f <%= node[:memcached][:chunk_growth_factor] %>
33 # Set minimum item size
34 -n <%= node[:memcached][:min_item_size] %>